Closed Bug 1779066 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34777 - Add `resultOwnership` tests for `script.callFunction`

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 34777 into mozilla-central (this bug is closed when the sync is complete).

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

Maksim Sadym <sadym@google.com> wrote:

Add resultOwnership tests for script.callFunction

  • Add missing option to expected object in recursive_compare, which verifies the actual object does not have such a property.
  • Add tests for resultOwnership parameter of script.callFunction.
Component: web-platform-tests → geckodriver
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 3 tests and 22 subtests

Status Summary

Firefox

OK : 3
PASS : 23[GitHub] 24[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt]
FAIL : 24[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 25[GitHub]

Chrome

TIMEOUT: 3

Safari

OK : 3
ERROR : 48

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webdriver/tests/bidi/script/call_function/call_function.py [wpt.fyi]
    • test_invalid_function: FAIL (Safari: ERROR)
    • test_arguments: FAIL (Safari: ERROR)
    • test_this: FAIL (Safari: ERROR)
    • test_default_this: FAIL (Safari: ERROR)
    • test_remote_value_argument: FAIL (Safari: ERROR)
    • test_async_arrow_await_promise[False]: FAIL (Safari: ERROR)
    • test_async_classic_await_promise[False]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/script/call_function/result_ownership.py [wpt.fyi]
    • test_throw_exception[root-True]: FAIL (Safari: ERROR)
    • test_throw_exception[none-False]: FAIL (Safari: ERROR)
    • test_throw_exception[None-False]: FAIL (Safari: ERROR)
    • test_invalid_script[root-True]: FAIL (Safari: ERROR)
    • test_invalid_script[none-False]: FAIL (Safari: ERROR)
    • test_invalid_script[None-False]: FAIL (Safari: ERROR)
    • test_rejected_promise[root-True]: FAIL (Safari: ERROR)
    • test_rejected_promise[none-False]: FAIL (Safari: ERROR)
    • test_rejected_promise[None-False]: FAIL (Safari: ERROR)
    • test_return_value[root-True-True]: FAIL (Safari: ERROR)
    • test_return_value[root-True-False]: FAIL (Safari: ERROR)
    • test_return_value[none-False-True]: FAIL (Safari: ERROR)
    • test_return_value[none-False-False]: FAIL (Safari: ERROR)
    • test_return_value[None-False-True]: FAIL (Safari: ERROR)
    • test_return_value[None-False-False]: FAIL (Safari: ERROR)
  • /webdriver/tests/bidi/script/evaluate/await_promise.py [wpt.fyi]
    • test_no_await_promise_rejected: FAIL (Safari: ERROR)
    • test_no_await_promise_resolved: FAIL (Safari: ERROR)
    • test_await_resolve_primitive[Infinity-Infinity-number]: FAIL (Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d93adce2a59d [wpt PR 34777] - Add `resultOwnership` tests for `script.callFunction`, a=testonly https://hg.mozilla.org/integration/autoland/rev/a67040a9bf9d [wpt PR 34777] - 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.