Skip to content

Add tests for import bytes

760e9bb
Select commit
Loading
Failed to load commit list.
Open

[import-bytes] add initial tests for import bytes proposal #56938

Add tests for import bytes
760e9bb
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-stability succeeded Dec 29, 2025 in 6m 22s

Community-TC (pull_request)

Verify that all tests affected by a pull request are stable when executed in chrome.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-12-29T21:37:58.256Z
Resolved: 2025-12-29T21:44:12.078Z
Task Execution Time: 6 minutes, 13 seconds, 822 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md

WPT Command: python3 ./wpt run --channel=dev --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2025-12-29 21:37:58.320Z] Task ID: B2vFPFMGT1GOL5CAu1fASg
[taskcluster 2025-12-29 21:37:58.320Z] Worker ID: 5745810846563388140
[taskcluster 2025-12-29 21:37:58.320Z] Worker Group: us-east4-a
[taskcluster 2025-12-29 21:37:58.320Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-12-29 21:37:58.320Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-12-29 21:37:58.320Z] Worker Version: 46.1.0
[taskcluster 2025-12-29 21:37:58.320Z] Public IP: 35.245.183.152
[taskcluster 2025-12-29 21:37:58.320Z] Hostname: proj-wpt-ci-gzsyuba1se--i-rh8dvnsw

[taskcluster 2025-12-29 21:37:59.235Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh

...(21066 lines hidden)...

    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.bin - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.js - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.txt - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.bin - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.js - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
  FAIL Extension: file.txt - promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."
Error
    at get_stack (http://web-platform.test:8000/resources/testharness.js:4802:21)
    at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4795:22)
    at assert (http://web-platform.test:8000/resources/testharness.js:4779:19)
    at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
    at http://web-platform.test:8000/resources/testharness.js:2916:35
/html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
  NOTRUN Bytes modules
  ERROR /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html - Uncaught TypeError: "bytes" is not a valid module type.
TypeError: "bytes" is not a valid module type.
 4:39.76 INFO Got 100 unexpected results, with 0 unexpected passes
 4:39.77 wptserve INFO Stopped http server on 127.0.0.1:8000
 4:39.77 wptserve INFO Stopped http server on 127.0.0.1:8001
 4:39.78 wptserve INFO Stopped http server on 127.0.0.1:8002
 4:39.78 wptserve INFO Stopped http server on 127.0.0.1:8003
 4:39.78 wptserve INFO Stopped http server on 127.0.0.1:8443
 4:39.78 wptserve INFO Stopped http server on 127.0.0.1:8445
 4:39.78 wptserve INFO Stopped http server on 127.0.0.1:8444
 4:39.79 wptserve INFO Stopped http server on 127.0.0.1:8446
 4:39.79 wptserve INFO Stopped http server on 127.0.0.1:9000
 4:39.79 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 4:40.06 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 4:40.08 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 4:40.13 INFO Removed font: Ahem.ttf
 4:40.16 INFO Closing logging queue
 4:40.16 INFO queue closed
 4:40.18 INFO ::: Ran 10 of expected 10 iterations.
 4:40.18 INFO ## All results ##

 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/charset-1250.html ###
 4:40.18 INFO | Subtest | Results | Messages |
 4:40.18 INFO |---------|---------|----------|
 4:40.18 INFO |         | ERROR   |          |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/charset-bom.any.sharedworker.html ###
 4:40.18 INFO |                        Subtest                        | Results |                                                 Messages                                                |
 4:40.18 INFO |-------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                                                       | OK      |                                                                                                         |
 4:40.18 INFO | `UTF-8 BOM should be ignored when importing bytes`    | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16BE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16LE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/charset-bom.any.html ###
 4:40.18 INFO |                        Subtest                        | Results |                                                 Messages                                                |
 4:40.18 INFO |-------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                                                       | OK      |                                                                                                         |
 4:40.18 INFO | `UTF-8 BOM should be ignored when importing bytes`    | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16BE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16LE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/charset-bom.any.worker.html ###
 4:40.18 INFO |                        Subtest                        | Results |                                                 Messages                                                |
 4:40.18 INFO |-------------------------------------------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                                                       | OK      |                                                                                                         |
 4:40.18 INFO | `UTF-8 BOM should be ignored when importing bytes`    | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16BE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `UTF-16LE BOM should be ignored when importing bytes` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/charset.html ###
 4:40.18 INFO | Subtest | Results | Messages |
 4:40.18 INFO |---------|---------|----------|
 4:40.18 INFO |         | ERROR   |          |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/ignore-content-type.html ###
 4:40.18 INFO |            Subtest             | Results | Messages |
 4:40.18 INFO |--------------------------------|---------|----------|
 4:40.18 INFO |                                | ERROR   |          |
 4:40.18 INFO | `image/png`                    | NOTRUN  |          |
 4:40.18 INFO | `application/octet-stream`     | NOTRUN  |          |
 4:40.18 INFO | `application/binary`           | NOTRUN  |          |
 4:40.18 INFO | `image/svg+xml`                | NOTRUN  |          |
 4:40.18 INFO | `image/png;boundary=something` | NOTRUN  |          |
 4:40.18 INFO | `text/html`                    | NOTRUN  |          |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/ignore-extension.any.worker.html ###
 4:40.18 INFO |        Subtest        | Results |                                                 Messages                                                |
 4:40.18 INFO |-----------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                       | OK      |                                                                                                         |
 4:40.18 INFO | `Extension: file`     | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.bin` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.js`  | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.txt` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/ignore-extension.any.html ###
 4:40.18 INFO |        Subtest        | Results |                                                 Messages                                                |
 4:40.18 INFO |-----------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                       | OK      |                                                                                                         |
 4:40.18 INFO | `Extension: file`     | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.bin` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.js`  | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.txt` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/ignore-extension.any.sharedworker.html ###
 4:40.18 INFO |        Subtest        | Results |                                                 Messages                                                |
 4:40.18 INFO |-----------------------|---------|---------------------------------------------------------------------------------------------------------|
 4:40.18 INFO |                       | OK      |                                                                                                         |
 4:40.18 INFO | `Extension: file`     | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.bin` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.js`  | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO | `Extension: file.txt` | FAIL    | `promise_test: Unhandled rejection with value: object "TypeError: "bytes" is not a valid module type."` |
 4:40.18 INFO 
 4:40.18 INFO ### /html/semantics/scripting-1/the-script-element/bytes-module/sync-module.html ###
 4:40.18 INFO |     Subtest     | Results | Messages |
 4:40.18 INFO |-----------------|---------|----------|
 4:40.18 INFO |                 | ERROR   |          |
 4:40.18 INFO | `Bytes modules` | NOTRUN  |          |
 4:40.18 INFO 
 4:40.18 INFO ::: Running tests in a loop with restarts 10 times : PASS
 4:40.18 INFO :::
 4:40.18 INFO ::: Test verification PASS
 4:40.18 INFO :::
[taskcluster 2025-12-29 21:44:10.951Z] === Task Finished ===
[taskcluster 2025-12-29 21:44:11.322Z] Successful task run with exit code: 0 completed in 373.003 seconds