Closed Bug 1779190 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34800 - Add tests for script.callFunction for serialization of complex objects with simple value field.

Categories

(Testing :: geckodriver, task, P4)

task

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34800 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34800
Details from upstream follow.

Alexandra Borovova <aborovova@mozilla.com> wrote:

Add tests for script.callFunction for serialization of complex objects with simple value field.

Add tests for script.callFunction for serialization of complex objects with simple value field (objects which don't require strong reference)

PR 34800 applied with additional changes from upstream: f15017ebef88a25582f2c711d40d7649e692dfa4, 272182ae7366405bd6c25b42a7d43c7a7e38d2b0
Component: web-platform-tests → geckodriver

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 32 subtests

Status Summary

Firefox

OK : 1
PASS : 17
FAIL : 15

Chrome

TIMEOUT: 1

Safari

OK : 1
ERROR : 32

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/script/call_function/result.py [wpt.fyi]
    • test_primitive_values[Infinity-expected6]: FAIL (Safari: ERROR)
    • test_remote_values[(Symbol('foo'))-expected0]: FAIL (Safari: ERROR)
    • test_remote_values[({'foo': {'bar': 'baz'}, 'qux': 'quux'})-expected2]: FAIL (Safari: ERROR)
    • test_remote_values[(()=>{})-expected3]: FAIL (Safari: ERROR)
    • test_remote_values[(function(){})-expected4]: FAIL (Safari: ERROR)
    • test_remote_values[(async ()=>{})-expected5]: FAIL (Safari: ERROR)
    • test_remote_values[(async function(){})-expected6]: FAIL (Safari: ERROR)
    • test_remote_values[new WeakMap()-expected11]: FAIL (Safari: ERROR)
    • test_remote_values[new WeakSet()-expected12]: FAIL (Safari: ERROR)
    • test_remote_values[new Error('SOME_ERROR_TEXT')-expected13]: FAIL (Safari: ERROR)
    • test_remote_values[Promise.resolve()-expected14]: FAIL (Safari: ERROR)
    • test_remote_values[new Int32Array()-expected15]: FAIL (Safari: ERROR)
    • test_remote_values[new ArrayBuffer()-expected16]: FAIL (Safari: ERROR)
    • test_remote_values[document.createElement('div')-expected17]: FAIL (Safari: ERROR)
    • test_remote_values[window-expected18]: FAIL (Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bee14dcddb6a [wpt PR 34800] - Add tests for script.callFunction for serialization of complex objects with simple value field., a=testonly https://hg.mozilla.org/integration/autoland/rev/4283152aa99f [wpt PR 34800] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.