SVN commit 484224 by buis: As far as I know there are no css specific exceptions, so I'll remove this reminder now. M +1 -8 Ecma.cpp --- trunk/kdenonbeta/kdom/ecma/Ecma.cpp #484223:484224 @@ -668,19 +668,12 @@ void setDOMException(KJS::ExecState *exec, int DOMExceptionCode) { - kdDebug() << k_funcinfo << endl; if (DOMExceptionCode == 0 || exec->hadException()) return; const char *type = "DOM"; int code = DOMExceptionCode; - kdDebug() << "code : " << code << endl; -#if 0 - } else if (code >= CSSException::_EXCEPTION_OFFSET && code <= CSSException::_EXCEPTION_MAX) { - type = "CSS"; - code -= CSSException::_EXCEPTION_OFFSET; - } else -#endif + if (RangeExceptionImpl::isRangeExceptionCode(code)) { type = "DOM Range"; code -= RangeExceptionImpl::_EXCEPTION_OFFSET;