Closed Bug 1780760 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34933 - Create dedicated tests for script.callFunction exceptionDetails

Categories

(Testing :: geckodriver, task, P4)

task

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Julian Descottes <jdescottes@mozilla.com> wrote:

Create dedicated tests for script.callFunction exceptionDetails

And update the existing test for evaluate to test same API surface (ie all primitive types + complex values in both sync and async scenarios)

Component: web-platform-tests → geckodriver

CI Results

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

Total 3 tests and 65 subtests

Status Summary

Firefox

OK : 3
PASS : 70
FAIL : 70

Chrome

TIMEOUT: 3

Links

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_default_this: FAIL
    • test_remote_value_argument: FAIL
    • test_async_arrow_await_promise[False]: FAIL
    • test_async_classic_await_promise[False]: FAIL
  • /webdriver/tests/bidi/script/call_function/exception_details.py [wpt.fyi]
    • test_invalid_function: FAIL
    • test_exception_details[null-expected1-True]: FAIL
    • test_exception_details[null-expected1-False]: FAIL
    • test_exception_details[Infinity-expected6-True]: FAIL
    • test_exception_details[Infinity-expected6-False]: FAIL
    • test_exception_details[(Symbol('foo'))-expected13-True]: FAIL
    • test_exception_details[(Symbol('foo'))-expected13-False]: FAIL
    • test_exception_details[({'foo': {'bar': 'baz'}, 'qux': 'quux'})-expected15-True]: FAIL
    • test_exception_details[({'foo': {'bar': 'baz'}, 'qux': 'quux'})-expected15-False]: FAIL
    • test_exception_details[(()=>{})-expected16-True]: FAIL
    • test_exception_details[(()=>{})-expected16-False]: FAIL
    • test_exception_details[(function(){})-expected17-True]: FAIL
    • test_exception_details[(function(){})-expected17-False]: FAIL
    • test_exception_details[(async ()=>{})-expected18-True]: FAIL
    • test_exception_details[(async ()=>{})-expected18-False]: FAIL
    • test_exception_details[(async function(){})-expected19-True]: FAIL
    • test_exception_details[(async function(){})-expected19-False]: FAIL
    • test_exception_details[new WeakMap()-expected24-True]: FAIL
    • test_exception_details[new WeakMap()-expected24-False]: FAIL
    • test_exception_details[new WeakSet()-expected25-True]: FAIL
    • test_exception_details[new WeakSet()-expected25-False]: FAIL
    • test_exception_details[new Error('SOME_ERROR_TEXT')-expected26-True]: FAIL
    • test_exception_details[new Error('SOME_ERROR_TEXT')-expected26-False]: FAIL
    • test_exception_details[Promise.resolve()-expected27-True]: FAIL
    • test_exception_details[Promise.resolve()-expected27-False]: FAIL
    • test_exception_details[new Int32Array()-expected28-True]: FAIL
    • test_exception_details[new Int32Array()-expected28-False]: FAIL
    • test_exception_details[new ArrayBuffer()-expected29-True]: FAIL
    • test_exception_details[new ArrayBuffer()-expected29-False]: FAIL
    • test_exception_details[document.createElement('div')-expected30-True]: FAIL
    • test_exception_details[document.createElement('div')-expected30-False]: FAIL
    • test_exception_details[window-expected31-True]: FAIL
    • test_exception_details[window-expected31-False]: FAIL
  • /webdriver/tests/bidi/script/evaluate/exception_details.py [wpt.fyi]
    • test_invalid_script: FAIL
    • test_exception_details[null-expected1-True]: FAIL
    • test_exception_details[null-expected1-False]: FAIL
    • test_exception_details[Infinity-expected6-True]: FAIL
    • test_exception_details[Infinity-expected6-False]: FAIL
    • test_exception_details[(Symbol('foo'))-expected13-True]: FAIL
    • test_exception_details[(Symbol('foo'))-expected13-False]: FAIL
    • test_exception_details[({'foo': {'bar': 'baz'}, 'qux': 'quux'})-expected15-True]: FAIL
    • test_exception_details[({'foo': {'bar': 'baz'}, 'qux': 'quux'})-expected15-False]: FAIL
    • test_exception_details[(()=>{})-expected16-True]: FAIL
    • test_exception_details[(()=>{})-expected16-False]: FAIL
    • test_exception_details[(function(){})-expected17-True]: FAIL
    • test_exception_details[(function(){})-expected17-False]: FAIL
    • test_exception_details[(async ()=>{})-expected18-True]: FAIL
    • test_exception_details[(async ()=>{})-expected18-False]: FAIL
    • test_exception_details[(async function(){})-expected19-True]: FAIL
    • test_exception_details[(async function(){})-expected19-False]: FAIL
    • test_exception_details[new WeakMap()-expected24-True]: FAIL
    • test_exception_details[new WeakMap()-expected24-False]: FAIL
    • test_exception_details[new WeakSet()-expected25-True]: FAIL
    • test_exception_details[new WeakSet()-expected25-False]: FAIL
    • test_exception_details[new Error('SOME_ERROR_TEXT')-expected26-True]: FAIL
    • test_exception_details[new Error('SOME_ERROR_TEXT')-expected26-False]: FAIL
    • test_exception_details[Promise.resolve()-expected27-True]: FAIL
    • test_exception_details[Promise.resolve()-expected27-False]: FAIL
    • test_exception_details[new Int32Array()-expected28-True]: FAIL
    • test_exception_details[new Int32Array()-expected28-False]: FAIL
    • test_exception_details[new ArrayBuffer()-expected29-True]: FAIL
    • test_exception_details[new ArrayBuffer()-expected29-False]: FAIL
    • test_exception_details[document.createElement('div')-expected30-True]: FAIL
    • test_exception_details[document.createElement('div')-expected30-False]: FAIL
    • test_exception_details[window-expected31-True]: FAIL
    • test_exception_details[window-expected31-False]: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/67a14f6f17bf
[wpt PR 34933] - Create dedicated tests for script.callFunction exceptionDetails, a=testonly
https://hg.mozilla.org/integration/autoland/rev/04278879df06
[wpt PR 34933] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.