Some of V8's custom constructors throw SyntaxError when we call them as a normal function. For example, "FormData()" and "ArrayBuffer()" throw SyntaxError. However, the spec says that this should be TypeError (http://www.w3.org/TR/WebIDL/#es-interface-call). JSC's custom constructors are correct.
Created attachment 105933 [details] Patch
Comment on attachment 105933 [details] Patch Attachment 105933 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9584010 New failing tests: fast/dom/call-a-constructor-as-a-function.html
Created attachment 105959 [details] Patch
Comment on attachment 105959 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=105959&action=review > LayoutTests/ChangeLog:13 > + * platform/mac/fast/dom/call-a-constructor-as-a-function-expected.txt: Added. The test result for JSC. JSC results should be the default results, not the “Mac” results.
Created attachment 105987 [details] Patch
Comment on attachment 105959 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=105959&action=review >> LayoutTests/ChangeLog:13 >> + * platform/mac/fast/dom/call-a-constructor-as-a-function-expected.txt: Added. The test result for JSC. > > JSC results should be the default results, not the “Mac” results. Moved the result to fast/dom/call-a-constructor-as-a-function-expected.txt
Comment on attachment 105987 [details] Patch Clearing flags on attachment: 105987 Committed r94357: <http://trac.webkit.org/changeset/94357>
All reviewed patches have been landed. Closing bug.
Rebaselined GTK+ results for it implements PeerConnection.
Oops, rebaseline was done in http://trac.webkit.org/changeset/94680.
fast/dom/call-a-constructor-as-a-function.html was made a gtk-only result and is now failing on Mac?
(In reply to comment #11) > fast/dom/call-a-constructor-as-a-function.html was made a gtk-only result and is now failing on Mac? Yeah, fixed it in http://trac.webkit.org/changeset/94684.