[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdom/ecma
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2005-11-29 22:01:56
Message-ID: 1133301716.530468.19323.nullmailer () svn ! kde ! org
[Download RAW message or body]
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic