Bug 124598 - [WebIDL] Interface objects and interface prototype objects should be spec-compliant
Summary: [WebIDL] Interface objects and interface prototype objects should be spec-com...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 12:26 PST by Zan Dobersek
Modified: 2016-05-25 03:10 PDT (History)
10 users (show)

See Also:


Attachments
WIP (432.20 KB, patch)
2013-11-19 12:33 PST, Zan Dobersek
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (657.54 KB, application/zip)
2013-11-19 13:44 PST, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion (831.88 KB, application/zip)
2013-11-19 15:29 PST, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (764.39 KB, application/zip)
2013-11-19 16:30 PST, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2013-11-19 12:26:47 PST
[WebIDL] Interface objects and interface prototype objects should be spec-compliant
Comment 1 Zan Dobersek 2013-11-19 12:33:38 PST
Created attachment 217318 [details]
WIP
Comment 2 Zan Dobersek 2013-11-19 12:50:58 PST
(In reply to comment #1)
> Created an attachment (id=217318) [details]
> WIP

This is a WIP patch that will be split further to simplify the reviews.

The introduced changes try to bring the functionality of the interface objects and interface prototype objects in line with the specification and other Web engines.

The constructor property is moved from the platform objects to the interface prototype objects.
The prototype property on the interface objects is now non-writable, non-deletable and non-enumerable.
Interface objects are made callable, though in all cases a type error is thrown (which shouldn't be the case for Constructor-annotated interfaces).
Interface objects now all have the 'Function' class name and inherit from JSC::InternalFunction.

Two things that still need doing are removing support for the ReplaceableConstructor attribute and making the constructors actually replaceable.

I'll be running this patch through EWS to gather test results on the Mac port, to see if there's anything else failing and what needs further rebaselining.
Comment 3 Build Bot 2013-11-19 13:43:58 PST
Comment on attachment 217318 [details]
WIP

Attachment 217318 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/28588009

New failing tests:
fast/dom/Window/window-lookup-precedence.html
css3/compositing/background-blend-mode-property-parsing.html
js/dom/global-constructors-attributes.html
css3/filters/custom/custom-filter-property-computed-style.html
css3/filters/custom/custom-filter-mix-bindings.html
css3/compositing/blend-mode-property-parsing.html
css3/filters/custom/custom-filter-property-parsing.html
css3/filters/filter-property-parsing.html
Comment 4 Build Bot 2013-11-19 13:44:00 PST
Created attachment 217328 [details]
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-14  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 5 Build Bot 2013-11-19 15:29:44 PST
Comment on attachment 217318 [details]
WIP

Attachment 217318 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/25938030

New failing tests:
fast/dom/Window/window-lookup-precedence.html
css3/compositing/background-blend-mode-property-parsing.html
js/dom/global-constructors-attributes.html
css3/filters/custom/custom-filter-property-computed-style.html
css3/filters/custom/custom-filter-mix-bindings.html
css3/compositing/blend-mode-property-parsing.html
css3/filters/custom/custom-filter-property-parsing.html
css3/filters/filter-property-parsing.html
Comment 6 Build Bot 2013-11-19 15:29:46 PST
Created attachment 217345 [details]
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-01  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 7 Build Bot 2013-11-19 16:30:42 PST
Comment on attachment 217318 [details]
WIP

Attachment 217318 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/23438237

New failing tests:
fast/dom/Window/window-lookup-precedence.html
css3/compositing/background-blend-mode-property-parsing.html
js/dom/global-constructors-attributes.html
css3/filters/custom/custom-filter-property-computed-style.html
css3/filters/custom/custom-filter-mix-bindings.html
css3/compositing/blend-mode-property-parsing.html
css3/filters/custom/custom-filter-property-parsing.html
css3/filters/filter-property-parsing.html
Comment 8 Build Bot 2013-11-19 16:30:44 PST
Created attachment 217357 [details]
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-08  Port: mac-mountainlion  Platform: Mac OS X 10.8.5