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

Make script tags with relative paths work in ShadowRealm scopes #49386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Pass document path to WrapperHandler._script_replacement

5f44198
Select commit
Loading
Failed to load commit list.
Open

Make script tags with relative paths work in ShadowRealm scopes #49386

Pass document path to WrapperHandler._script_replacement
5f44198
Select commit
Loading
Failed to load commit list.
Community-TC Integration / tools/ unittests (Python 3.12) succeeded Nov 27, 2024 in 15m 21s

Community-TC (pull_request)

Unit tests for tools running under Python 3.12, excluding wptrunner

Details

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

Task Status

Started: 2024-11-27T01:15:22.667Z
Resolved: 2024-11-27T01:29:53.009Z
Task Execution Time: 14 minutes, 30 seconds, 342 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-11-27 01:15:22.798Z] Task ID: T7VSbv8yRSi_fcDh-9ZVRA
[taskcluster 2024-11-27 01:15:22.799Z] Worker ID: 8774537486411746450
[taskcluster 2024-11-27 01:15:22.799Z] Worker Group: us-central1-c
[taskcluster 2024-11-27 01:15:22.799Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-11-27 01:15:22.799Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-11-27 01:15:22.799Z] Worker Version: 46.1.0
[taskcluster 2024-11-27 01:15:22.799Z] Public IP: 34.122.134.74
[taskcluster 2024-11-27 01:15:22.799Z] Hostname: proj-wpt-ci-lvken9oetsmanydjtfebnw

ff2b96c8f8ff - Started downloading
ff2b96c8f8ff - Downloaded in 0.01 seconds
560c024910be - Started downloading
72ebe8ecf66d - Started downloading
560c024910be - Downloaded in 0.216 seconds
430011f338a2 - Started downloading
430011f338a2 - Downloaded in 0.074 seconds
4f4fb700ef54 - Started downloading
4f4fb700ef54 - Downloaded in 0 seconds
79df10d18997 - Started downloading
7e274023cae9 - Started downloading

...(701 lines hidden)...



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

================= 279 passed, 56 skipped, 1 warning in 11.07s ==================

py312-sauce: OK ✔ in 21.94 seconds
py312-servo: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/wptrunner/../requirements_pytest.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements.txt
py312-servo: install_package> python -I -m pip install --force-reinstall --no-deps /home/test/web-platform-tests/tools/wptrunner/.tox/.tmp/package/7/wptrunner-1.14.tar.gz
py312-servo: commands[0]> pytest -c/home/test/web-platform-tests/tools/wptrunner/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wptrunner
============================= test session starts ==============================

platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0

cachedir: .tox/py312-servo/.pytest_cache

rootdir: /home/test/web-platform-tests/tools/wptrunner

configfile: ../pytest.ini

plugins: hypothesis-6.112.0, cov-5.0.0

collecting ... 
collected 335 items                                                            



wptrunner/formatters/tests/test_chromium.py ...................          [  5%]

wptrunner/tests/browsers/test_base.py .                                  [  5%]

wptrunner/tests/browsers/test_sauce.py ..........                        [  8%]

wptrunner/tests/browsers/test_webkitgtk.py sssssssssssssssssss           [ 14%]

wptrunner/tests/test_executors.py ........                               [ 17%]

wptrunner/tests/test_expectedtree.py .....                               [ 18%]

wptrunner/tests/test_formatters.py .....                                 [ 20%]

wptrunner/tests/test_manifestexpected.py ..........                      [ 22%]

wptrunner/tests/test_manifestupdate.py .                                 [ 23%]

wptrunner/tests/test_metadata.py ............                            [ 26%]

wptrunner/tests/test_products.py sssssssssss..ssssss...................s [ 38%]

ssssssssss..ssssss                                                       [ 43%]

wptrunner/tests/test_stability.py ......                                 [ 45%]

wptrunner/tests/test_testloader.py ........                              [ 48%]

wptrunner/tests/test_update.py ......................................... [ 60%]

...............                                                          [ 64%]

wptrunner/tests/test_wptrunner.py .                                      [ 65%]

wptrunner/tests/test_wpttest.py .........                                [ 67%]

wptrunner/wptmanifest/tests/test_conditional.py ........                 [ 70%]

wptrunner/wptmanifest/tests/test_parser.py .........                     [ 72%]

wptrunner/wptmanifest/tests/test_serializer.py ......................... [ 80%]

..................                                                       [ 85%]

wptrunner/wptmanifest/tests/test_static.py ......                        [ 87%]

wptrunner/wptmanifest/tests/test_tokenizer.py .......................... [ 95%]

................                                                         [100%]



=============================== warnings summary ===============================

../wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

================= 282 passed, 53 skipped, 1 warning in 12.15s ==================

py312-servo: OK ✔ in 21.05 seconds
py312-webkit: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/wptrunner/../requirements_pytest.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements.txt
py312-webkit: install_package> python -I -m pip install --force-reinstall --no-deps /home/test/web-platform-tests/tools/wptrunner/.tox/.tmp/package/8/wptrunner-1.14.tar.gz
py312-webkit: commands[0]> pytest -c/home/test/web-platform-tests/tools/wptrunner/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wptrunner
============================= test session starts ==============================

platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0

cachedir: .tox/py312-webkit/.pytest_cache

rootdir: /home/test/web-platform-tests/tools/wptrunner

configfile: ../pytest.ini

plugins: hypothesis-6.112.0, cov-5.0.0

collecting ... 
collected 335 items                                                            



wptrunner/formatters/tests/test_chromium.py ...................          [  5%]

wptrunner/tests/browsers/test_base.py .                                  [  5%]

wptrunner/tests/browsers/test_sauce.py ..........                        [  8%]

wptrunner/tests/browsers/test_webkitgtk.py ssssssssssssss.ssss           [ 14%]

wptrunner/tests/test_executors.py ........                               [ 17%]

wptrunner/tests/test_expectedtree.py .....                               [ 18%]

wptrunner/tests/test_formatters.py .....                                 [ 20%]

wptrunner/tests/test_manifestexpected.py ..........                      [ 22%]

wptrunner/tests/test_manifestupdate.py .                                 [ 23%]

wptrunner/tests/test_metadata.py ............                            [ 26%]

wptrunner/tests/test_products.py ssssssssssssss.ssss...................s [ 38%]

sssssssssssss.ssss                                                       [ 43%]

wptrunner/tests/test_stability.py ......                                 [ 45%]

wptrunner/tests/test_testloader.py ........                              [ 48%]

wptrunner/tests/test_update.py ......................................... [ 60%]

...............                                                          [ 64%]

wptrunner/tests/test_wptrunner.py .                                      [ 65%]

wptrunner/tests/test_wpttest.py .........                                [ 67%]

wptrunner/wptmanifest/tests/test_conditional.py ........                 [ 70%]

wptrunner/wptmanifest/tests/test_parser.py .........                     [ 72%]

wptrunner/wptmanifest/tests/test_serializer.py ......................... [ 80%]

..................                                                       [ 85%]

wptrunner/wptmanifest/tests/test_static.py ......                        [ 87%]

wptrunner/wptmanifest/tests/test_tokenizer.py .......................... [ 95%]

................                                                         [100%]



=============================== warnings summary ===============================

../wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

================= 281 passed, 54 skipped, 1 warning in 11.58s ==================

py312-webkit: OK ✔ in 20.39 seconds
py312-webkitgtk_minibrowser: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/wptrunner/../requirements_pytest.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements.txt
py312-webkitgtk_minibrowser: install_package> python -I -m pip install --force-reinstall --no-deps /home/test/web-platform-tests/tools/wptrunner/.tox/.tmp/package/9/wptrunner-1.14.tar.gz
py312-webkitgtk_minibrowser: commands[0]> pytest -c/home/test/web-platform-tests/tools/wptrunner/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wptrunner
============================= test session starts ==============================

platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0

cachedir: .tox/py312-webkitgtk_minibrowser/.pytest_cache

rootdir: /home/test/web-platform-tests/tools/wptrunner

configfile: ../pytest.ini

plugins: hypothesis-6.112.0, cov-5.0.0

collecting ... 
collected 335 items                                                            



wptrunner/formatters/tests/test_chromium.py ...................          [  5%]

wptrunner/tests/browsers/test_base.py .                                  [  5%]

wptrunner/tests/browsers/test_sauce.py ..........                        [  8%]

wptrunner/tests/browsers/test_webkitgtk.py sssssssssssssss.sss           [ 14%]

wptrunner/tests/test_executors.py ........                               [ 17%]

wptrunner/tests/test_expectedtree.py .....                               [ 18%]

wptrunner/tests/test_formatters.py .....                                 [ 20%]

wptrunner/tests/test_manifestexpected.py ..........                      [ 22%]

wptrunner/tests/test_manifestupdate.py .                                 [ 23%]

wptrunner/tests/test_metadata.py ............                            [ 26%]

wptrunner/tests/test_products.py sssssssssssssss.sss...................s [ 38%]

ssssssssssssss.sss                                                       [ 43%]

wptrunner/tests/test_stability.py ......                                 [ 45%]

wptrunner/tests/test_testloader.py ........                              [ 48%]

wptrunner/tests/test_update.py ......................................... [ 60%]

...............                                                          [ 64%]

wptrunner/tests/test_wptrunner.py .                                      [ 65%]

wptrunner/tests/test_wpttest.py .........                                [ 67%]

wptrunner/wptmanifest/tests/test_conditional.py ........                 [ 70%]

wptrunner/wptmanifest/tests/test_parser.py .........                     [ 72%]

wptrunner/wptmanifest/tests/test_serializer.py ......................... [ 80%]

..................                                                       [ 85%]

wptrunner/wptmanifest/tests/test_static.py ......                        [ 87%]

wptrunner/wptmanifest/tests/test_tokenizer.py .......................... [ 95%]

................                                                         [100%]



=============================== warnings summary ===============================

../wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

================= 281 passed, 54 skipped, 1 warning in 11.59s ==================

py312-webkitgtk_minibrowser: OK ✔ in 20.43 seconds
py312-epiphany: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/wptrunner/../requirements_pytest.txt -r /home/test/web-platform-tests/tools/wptrunner/requirements.txt
py312-epiphany: install_package> python -I -m pip install --force-reinstall --no-deps /home/test/web-platform-tests/tools/wptrunner/.tox/.tmp/package/10/wptrunner-1.14.tar.gz
py312-epiphany: commands[0]> pytest -c/home/test/web-platform-tests/tools/wptrunner/../pytest.ini --rootdir=/home/test/web-platform-tests/tools/wptrunner
============================= test session starts ==============================

platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0

cachedir: .tox/py312-epiphany/.pytest_cache

rootdir: /home/test/web-platform-tests/tools/wptrunner

configfile: ../pytest.ini

plugins: hypothesis-6.112.0, cov-5.0.0

collecting ... 
collected 335 items                                                            



wptrunner/formatters/tests/test_chromium.py ...................          [  5%]

wptrunner/tests/browsers/test_base.py .                                  [  5%]

wptrunner/tests/browsers/test_sauce.py ..........                        [  8%]

wptrunner/tests/browsers/test_webkitgtk.py sssssssssssssssss.s           [ 14%]

wptrunner/tests/test_executors.py ........                               [ 17%]

wptrunner/tests/test_expectedtree.py .....                               [ 18%]

wptrunner/tests/test_formatters.py .....                                 [ 20%]

wptrunner/tests/test_manifestexpected.py ..........                      [ 22%]

wptrunner/tests/test_manifestupdate.py .                                 [ 23%]

wptrunner/tests/test_metadata.py ............                            [ 26%]

wptrunner/tests/test_products.py sssssssssssssssss.s...................s [ 38%]

ssssssssssssssss.s                                                       [ 43%]

wptrunner/tests/test_stability.py ......                                 [ 45%]

wptrunner/tests/test_testloader.py ........                              [ 48%]

wptrunner/tests/test_update.py ......................................... [ 60%]

...............                                                          [ 64%]

wptrunner/tests/test_wptrunner.py .                                      [ 65%]

wptrunner/tests/test_wpttest.py .........                                [ 67%]

wptrunner/wptmanifest/tests/test_conditional.py ........                 [ 70%]

wptrunner/wptmanifest/tests/test_parser.py .........                     [ 72%]

wptrunner/wptmanifest/tests/test_serializer.py ......................... [ 80%]

..................                                                       [ 85%]

wptrunner/wptmanifest/tests/test_static.py ......                        [ 87%]

wptrunner/wptmanifest/tests/test_tokenizer.py .......................... [ 95%]

................                                                         [100%]



=============================== warnings summary ===============================

../wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

================= 281 passed, 54 skipped, 1 warning in 11.58s ==================

  py312-base: OK (28.28=setup[15.66]+cmd[12.62] seconds)
  py312-chrome: OK (23.28=setup[9.91]+cmd[13.38] seconds)
  py312-firefox: OK (24.06=setup[11.32]+cmd[12.74] seconds)
  py312-opera: OK (22.85=setup[10.22]+cmd[12.63] seconds)
  py312-safari: OK (20.92=setup[8.24]+cmd[12.67] seconds)
  py312-sauce: OK (21.94=setup[9.78]+cmd[12.15] seconds)
  py312-servo: OK (21.05=setup[7.85]+cmd[13.20] seconds)
  py312-webkit: OK (20.39=setup[7.83]+cmd[12.56] seconds)
  py312-webkitgtk_minibrowser: OK (20.43=setup[7.88]+cmd[12.56] seconds)
  py312-epiphany: OK (20.44=setup[7.90]+cmd[12.54] seconds)
  congratulations :) (223.72 seconds)
+ export TOXENV=py312
+ TOXENV=py312
+ cd /home/test/web-platform-tests/tools/ci/../..
[taskcluster 2024-11-27 01:29:52.222Z] === Task Finished ===
[taskcluster 2024-11-27 01:29:52.285Z] Successful task run with exit code: 0 completed in 869.489 seconds