Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[shared storage] Support cross-origin worklet #44596

Merged
merged 1 commit into from
Feb 27, 2024

[shared storage] Support cross-origin worklet

0fc88db
Select commit
Loading
Failed to load commit list.
Merged

[shared storage] Support cross-origin worklet #44596

[shared storage] Support cross-origin worklet
0fc88db
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Feb 27, 2024 in 7m 53s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:06.32 TEST_START: /shared-storage/cross-origin-create-worklet-credentials-same-origin.tentative.https.sub.html
 1:06.56 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with cross-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:06.56 TEST_START: /shared-storage/cross-origin-create-worklet-failure-missing-access-control-allow-credentials.tentative.https.sub.html
 1:06.79 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with cross-origin module script and credentials "include", and without the Access-Control-Allow-Credentials response header - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:06.79 TEST_START: /shared-storage/cross-origin-create-worklet-failure-missing-access-control-allow-origin.tentative.https.sub.html
 1:07.04 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with cross-origin module script and credentials "include", and without the Access-Control-Allow-Origin response header - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:07.04 TEST_START: /shared-storage/same-origin-add-module-credentials-include.tentative.https.sub.html
 1:07.27 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL addModule() with same-origin module script and credentials "include" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:07.27 TEST_START: /shared-storage/same-origin-add-module-credentials-omit.tentative.https.sub.html
 1:07.51 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL addModule() with same-origin module script and credentials "omit" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:07.51 TEST_START: /shared-storage/same-origin-add-module-credentials-same-origin.tentative.https.sub.html
 1:07.73 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL addModule() with same-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:07.73 TEST_START: /shared-storage/same-origin-create-worklet-credentials-include.tentative.https.sub.html
 1:08.16 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with same-origin module script and credentials "include" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:08.16 TEST_START: /shared-storage/same-origin-create-worklet-credentials-omit.tentative.https.sub.html
 1:08.40 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with same-origin module script and credentials "omit" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:08.40 TEST_START: /shared-storage/same-origin-create-worklet-credentials-same-origin.tentative.https.sub.html
 1:08.67 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL createWorklet() with same-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35

 1:08.67 INFO No more tests
 1:08.67 INFO No more tests
 1:08.68 pid:2183 [2195:2195:0227/022008.468649:WARNING:zygote_communication_linux.cc(300)] Error reading message from zygote: Connection reset by peer (104)
 1:08.68 pid:2183 [2195:2195:0227/022008.469268:ERROR:zygote_communication_linux.cc(290)] Failed to send GetTerminationStatus message to zygote
 1:08.68 pid:2183 [2195:2195:0227/022008.469281:WARNING:zygote_communication_linux.cc(302)] Socket closed prematurely.
 1:08.68 pid:2183 [2195:2195:0227/022008.471069:ERROR:zygote_communication_linux.cc(290)] Failed to send GetTerminationStatus message to zygote
 1:08.68 pid:2183 [2195:2195:0227/022008.471084:WARNING:zygote_communication_linux.cc(302)] Socket closed prematurely.
 1:08.68 pid:2183 [2195:2252:0227/022008.473340:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 1:08.68 pid:2183 [2195:2210:0227/022008.473541:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 1:09.34 pid:2183 [0227/022009.131057:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
 1:09.34 pid:2183 [0227/022009.131147:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
 1:08.69 INFO Closing logging queue
 1:08.69 INFO queue closed
 1:09.50 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 22 checks (11 subtests, 11 tests)
Expected results: 11
Unexpected results: 11
  subtest: 11 (11 fail)

Unexpected Results
------------------
/shared-storage/cross-origin-create-worklet-credentials-include.tentative.https.sub.html
  FAIL createWorklet() with cross-origin module script and credentials "include" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/cross-origin-create-worklet-credentials-omit.tentative.https.sub.html
  FAIL createWorklet() with cross-origin module script and credentials "omit" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/cross-origin-create-worklet-credentials-same-origin.tentative.https.sub.html
  FAIL createWorklet() with cross-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/cross-origin-create-worklet-failure-missing-access-control-allow-credentials.tentative.https.sub.html
  FAIL createWorklet() with cross-origin module script and credentials "include", and without the Access-Control-Allow-Credentials response header - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/cross-origin-create-worklet-failure-missing-access-control-allow-origin.tentative.https.sub.html
  FAIL createWorklet() with cross-origin module script and credentials "include", and without the Access-Control-Allow-Origin response header - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-add-module-credentials-include.tentative.https.sub.html
  FAIL addModule() with same-origin module script and credentials "include" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-add-module-credentials-omit.tentative.https.sub.html
  FAIL addModule() with same-origin module script and credentials "omit" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-add-module-credentials-same-origin.tentative.https.sub.html
  FAIL addModule() with same-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "OperationError: sharedStorage.worklet.addModule is disabled because either sharedStorage is disabled or both sharedStorage.selectURL and privateAggregation are disabled"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-create-worklet-credentials-include.tentative.https.sub.html
  FAIL createWorklet() with same-origin module script and credentials "include" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-create-worklet-credentials-omit.tentative.https.sub.html
  FAIL createWorklet() with same-origin module script and credentials "omit" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
/shared-storage/same-origin-create-worklet-credentials-same-origin.tentative.https.sub.html
  FAIL createWorklet() with same-origin module script and credentials "same-origin" - promise_test: Unhandled rejection with value: object "TypeError: sharedStorage.createWorklet is not a function"
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4571:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4564:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:2669:35
 1:09.50 INFO Got 11 unexpected results, with 0 unexpected passes
 1:09.51 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:09.58 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:09.71 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:09.88 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:09.88 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:09.88 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:10.16 INFO Removed font: Ahem.ttf
 1:10.20 INFO Closing logging queue
 1:10.20 INFO queue closed
 1:10.20 INFO Tolerating 11 unexpected results
[taskcluster 2024-02-27 02:20:11.499Z] === Task Finished ===
[taskcluster 2024-02-27 02:20:12.232Z] Successful task run with exit code: 0 completed in 288.216 seconds