Bug 114456
Summary: | DOM interface objects should have class side inheritance | ||
---|---|---|---|
Product: | WebKit | Reporter: | Erik Arvidsson <arv> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, ggaren, oliver, rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Erik Arvidsson
To align with ES6 we should set the [[Prototype]] of the interface object to the parent interface object.
For example:
HTMLElement.__proto__ === Element
Moz bug with patch: https://bugzilla.mozilla.org/show_bug.cgi?id=860841
Blink bug: https://code.google.com/p/chromium/issues/detail?id=230506
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I took both testcases landed by Chrome patch and turned it into JSFiddle:
Link - https://jsfiddle.net/nehay27L/show & https://jsfiddle.net/u1v4cbLd/show
Safari 16.1 passes all those tests and I took the latest code of test case from "source.chromium.org".
Do we need anything else? Thanks!
Ryosuke Niwa
This is config changed.