Bug 114456 - DOM interface objects should have class side inheritance
Summary: DOM interface objects should have class side inheritance
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 12:12 PDT by Erik Arvidsson
Modified: 2022-10-31 16:48 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Arvidsson 2013-04-11 12:12:58 PDT
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
Comment 1 Ahmad Saleem 2022-10-31 16:32:48 PDT
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!
Comment 2 Ryosuke Niwa 2022-10-31 16:48:51 PDT
This is config changed.