Bug 76106
Summary: | WebKit fails IETC Override_Property_Getter_High (both JSC and V8) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | abarth, ahmad.saleem792, antonm, ashvayka, barraclough, ggaren, oliver |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 76198 |
Eric Seidel (no email)
WebKit fails IETC Override_Property_Getter_High (both JSC and V8)
http://samples.msdn.microsoft.com/ietestcenter/dominheritance/showdominheritancetest.htm?Override_Property_Getter_High
Passes in FF. There seem to be a number of Object.defineProperty bugs on file, maybe this is just a dupe of one of them.
The test is doing the following:
Object.defineProperty(HTMLHeadElement.prototype, "profile", { get: function () { return "myProfile"; } });
var head = document.createElement("head");
if ("myProfile" == head.profile)
alert("pass");
CCing the JavaScript ninjas.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
See also bug 76107 which is about the "setter" variant of this test.
Ahmad Saleem
@Alexey - is this applicable anymore?
Alexey Shvayka
(In reply to Eric Seidel (no email) from comment #0)
> WebKit fails IETC Override_Property_Getter_High (both JSC and V8)
>
> http://samples.msdn.microsoft.com/ietestcenter/dominheritance/
> showdominheritancetest.htm?Override_Property_Getter_High
The link is no longer alive yet we pass the inline test case since bindings redesign circa 2015. Redefinition of DOM properties is heavily covered by both WPT and our tests.