[wpt-sync] Sync PR 31233 - Remove the `test_obj` parameter from the structured clone tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31233 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31233
Details from upstream follow.
Andreu Botella <abb@randomunok.com> wrote:
Remove the
test_obj
parameter from the structured clone testsThe
test_obj
parameter in the comparison functions of the structured clone battery of tests doesn't seem to be used at all, considering that the those functions only use it to calltest_obj.done()
, which is a no-op. This seems to have once been used to indicate asynchronous test completion, but that hasn't worked for a long time, and #31232 has now made that obsolete.Aside from removing the
test_obj
arguments to the comparison functions and the calls totest_obj.done()
, as well as the creation of thetestObjMock
object in thecheck
function, this change also removes thecallback_is_async
boolean argument tocompare_Array
andcompare_Object
.
This PR depends on #31232.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 9 tests and 130 subtests
Status Summary
Firefox
OK : 9
PASS : 1101
PRECONDITION_FAILED: 9
Chrome
OK : 9
PASS : 858
FAIL : 252
Safari
OK : 7
PASS : 580
FAIL : 280
PRECONDITION_FAILED: 5
ERROR : 2
Links
Details
New Tests That Don't Pass
/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS, Safari: PRECONDITION_FAILED)
/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.worker.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS, Safari: PRECONDITION_FAILED)
/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.serviceworker.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS, Safari: PRECONDITION_FAILED)
/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.sharedworker.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS)
/html/infrastructure/safe-passing-of-structured-data/window-postmessage.window.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS, Safari: PRECONDITION_FAILED)
/html/webappapis/structured-clone/structured-clone.any.worker.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: FAIL, Safari: FAIL)
/html/webappapis/structured-clone/structured-clone.any.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: FAIL, Safari: FAIL)
/workers/semantics/structured-clone/dedicated.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS, Safari: PRECONDITION_FAILED)
/workers/semantics/structured-clone/shared.html
A subclass instance will be received as its closest transferable superclass: PRECONDITION_FAILED (Chrome: PASS)
Comment 5•3 years ago
|
||
bugherder |
Description
•