Bug 114456

Summary: DOM interface objects should have class side inheritance
Product: WebKit Reporter: Erik Arvidsson <arv>
Component: DOMAssignee: 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   

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.