RESOLVED FIXED35552
[V8] DOMCoreException should be visible as DOMException
https://bugs.webkit.org/show_bug.cgi?id=35552
Summary [V8] DOMCoreException should be visible as DOMException
Jian Li
Reported 2010-03-01 16:01:06 PST
We need to make DOMCoreException be visible as DOMException, similar to what JSC code generator does. This will fix several wrong layout test results, like LayoutTests/fast/dom/DOMException/prototype-object.html has the following wrong result: FAIL Object.prototype.toString.call(e) should be [object DOMException]. Was [object DOMCoreException]. ... FAIL e.constructor.toString() should be [object DOMExceptionConstructor]. Was function DOMCoreException() { [native code] }. This will also apply to FormData interface I am going to add at 26979.
Attachments
Proposed Patch (2.02 KB, patch)
2010-03-01 16:35 PST, Jian Li
japhet: review+
jianli: commit-queue-
Jian Li
Comment 1 2010-03-01 16:35:17 PST
Created attachment 49763 [details] Proposed Patch
Nate Chapin
Comment 2 2010-03-02 10:48:23 PST
Comment on attachment 49763 [details] Proposed Patch Yay for passing layout tests!
Jian Li
Comment 3 2010-03-02 11:05:11 PST
Note You need to log in before you can comment on or make changes to this bug.