RESOLVED FIXED 147865
[WebIDL] All interface objects must have a property named "name"
https://bugs.webkit.org/show_bug.cgi?id=147865
Summary [WebIDL] All interface objects must have a property named "name"
Chris Dumez
Reported 2015-08-10 21:23:02 PDT
As per the Web IDL specification, all interface objects must have a property named "name" with attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true } whose value is the identifier of the corresponding interface: http://heycam.github.io/webidl/#es-interface-call Currently, our interface objects have no such property. Both Firefox 38 and Chrome 44 comply with the Web IDL specification here.
Attachments
Patch (6.99 KB, patch)
2015-08-10 21:28 PDT, Chris Dumez
no flags
Patch (6.84 KB, patch)
2015-08-10 21:30 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews103 for mac-mavericks (535.10 KB, application/zip)
2015-08-10 22:11 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (732.99 KB, application/zip)
2015-08-10 22:12 PDT, Build Bot
no flags
Patch (27.08 KB, patch)
2015-08-11 09:55 PDT, Chris Dumez
no flags
Patch (27.02 KB, patch)
2015-08-11 09:58 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-08-10 21:28:19 PDT
Chris Dumez
Comment 2 2015-08-10 21:30:56 PDT
Build Bot
Comment 3 2015-08-10 22:11:10 PDT
Comment on attachment 258700 [details] Patch Attachment 258700 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/43166 New failing tests: media/track/track-cue-empty-cue-text.html
Build Bot
Comment 4 2015-08-10 22:11:15 PDT
Created attachment 258703 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 5 2015-08-10 22:12:00 PDT
Comment on attachment 258700 [details] Patch Attachment 258700 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/43160 New failing tests: media/track/track-cue-empty-cue-text.html
Build Bot
Comment 6 2015-08-10 22:12:05 PDT
Created attachment 258704 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Darin Adler
Comment 7 2015-08-10 22:53:55 PDT
Comment on attachment 258700 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=258700&action=review > Source/WebCore/ChangeLog:23 > + * bindings/scripts/CodeGeneratorJS.pm: > + (GenerateConstructorHelperMethods): Need to do: run-bindings-tests --reset-results And include the change to expected results in the patch.
Darin Adler
Comment 8 2015-08-10 22:55:37 PDT
Looks like that media/track/track-cue-empty-cue-text.html change is a real change, maybe a progression. So need to include expectations changes for that in the patch too.
Chris Dumez
Comment 9 2015-08-11 09:12:05 PDT
(In reply to comment #8) > Looks like that media/track/track-cue-empty-cue-text.html change is a real > change, maybe a progression. So need to include expectations changes for > that in the patch too. Yes, it looks like a progression indeed: ** The document fragment should have one child, an empty Text node ** EXPECTED (fragment.childNodes.length == '1') OK EXPECTED (fragment.childNodes[0].length == '0') OK -EXPECTED (fragment.childNodes[0].constructor.name == 'undefined') OK +EXPECTED (fragment.childNodes[0].constructor.name == 'Text') OK I'll rebaseline this and the bindings tests before landing.
Chris Dumez
Comment 10 2015-08-11 09:55:03 PDT
Chris Dumez
Comment 11 2015-08-11 09:58:02 PDT
Chris Dumez
Comment 12 2015-08-11 09:59:15 PDT
Comment on attachment 258722 [details] Patch Clearing flags on attachment: 258722 Committed r188258: <http://trac.webkit.org/changeset/188258>
Chris Dumez
Comment 13 2015-08-11 09:59:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.