[Webkit-unassigned] [Bug 16637] Acid3 expects ExeceptionCode constants to be defined on DOMException objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 31 16:06:08 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16637


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18219|review?                     |review+
               Flag|                            |




------- Comment #7 from darin at apple.com  2007-12-31 16:06 PDT -------
(From update of attachment 18219)
+        // FIXME: this is copied from ExceptionCode.h, it needs to be kept in
sync.

And both need to be kept in sync with the standard! Why can't DOMCoreException
use the values from ExceptionCode.h -- it includes that file, so it should be
able to. Can we change things later so these are defined only in the .idl file?

What about non-core errors?

Can we make sure the name "DOMCoreException" doesn't show through in
JavaScript?

+shouldBeEqualToString("e.constructor.toString()", "[object
DOMCoreExceptionConstructor]");

That should be "[object DOMExceptionConstructor]" -- we don't want to expose
the naming conflict issues in WebKit to the web content.

r=me


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list