Bug 238180

Summary: imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/attributes-accessors-unique-function-objects.html is failing for WinCairo Release
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221872
Attachments:
Description Flags
attributes-accessors-unique-function-objects-diff.txt none

Description Fujii Hironori 2022-03-21 18:15:40 PDT
imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/attributes-accessors-unique-function-objects.html is failing for WinCairo Release

> python3.exe ./Tools/Scripts/run-webkit-tests --wincairo --release imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/attributes-accessors-unique-function-objects.html

It's added by r272885 (Bug 221872).
WinCairo Debug is passing.
Comment 1 Fujii Hironori 2022-03-21 18:20:03 PDT
Created attachment 455313 [details]
attributes-accessors-unique-function-objects-diff.txt
Comment 2 Fujii Hironori 2022-03-21 19:00:24 PDT
This test can be tested just by openning the following page and the test detail.
http://wpt.live/webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html

Fail	For attributes, each copy of the accessor property has distinct built-in function objects for its getters and setters.	assert_equals: Response.body.[[Get]] expected (undefined) undefined but got (string) "Request.body.[[Get]]"
assert_not_seen@http://wpt.live/webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
@http://wpt.live/webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:30:36
@http://wpt.live/resources/testharness.js:2534:30
test@http://wpt.live/resources/testharness.js:572:34
global code@http://wpt.live/webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:10:5
Asserts run
Pass	
assert_equals(undefined, undefined, "Request.method.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.url.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.headers.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.destination.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.referrer.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.referrerPolicy.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.mode.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.credentials.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.cache.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.redirect.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.integrity.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.keepalive.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.signal.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.body.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Request.bodyUsed.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.type.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.url.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.redirected.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.status.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.ok.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.statusText.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Pass	
assert_equals(undefined, undefined, "Response.headers.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Fail	
assert_equals("Request.body.[[Get]]", undefined, "Response.body.[[Get]]")
assert_not_seen /webidl/ecmascript-binding/attributes-accessors-unique-function-objects.html:25:22
Comment 3 Yusuke Suzuki 2022-03-23 11:43:32 PDT
Yeah, bug 238030 fixes it too.

*** This bug has been marked as a duplicate of bug 238030 ***