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

[Sanitizer API] Update default handling for comments and data-*. #50486

Merged
merged 1 commit into from
Feb 4, 2025

[Sanitizer API] Update default handling for comments and data-*.

f8e88f9
Select commit
Loading
Failed to load commit list.
Merged

[Sanitizer API] Update default handling for comments and data-*. #50486

[Sanitizer API] Update default handling for comments and data-*.
f8e88f9
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results-without-changes succeeded Feb 4, 2025 in 12m 7s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome but without the changes in the PR.

Details

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

Task Status

Started: 2025-02-04T13:34:44.286Z
Resolved: 2025-02-04T13:38:11.878Z
Task Execution Time: 3 minutes, 27 seconds, 592 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_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


[taskcluster 2025-02-04 13:34:44.325Z] Task ID: BfGxXpEDTJGYthmWDhumxg
[taskcluster 2025-02-04 13:34:44.325Z] Worker ID: 6705674421636413689
[taskcluster 2025-02-04 13:34:44.325Z] Worker Group: us-central1-c
[taskcluster 2025-02-04 13:34:44.325Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-02-04 13:34:44.325Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-02-04 13:34:44.325Z] Worker Version: 46.1.0
[taskcluster 2025-02-04 13:34:44.325Z] Public IP: 35.202.19.72
[taskcluster 2025-02-04 13:34:44.325Z] Hostname: proj-wpt-ci-dbd-lk6htowye44pg59dnw

[taskcluster 2025-02-04 13:34:45.031Z] === 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/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(2702 lines hidden)...

    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at test_normalization (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:65:3)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:94:3
  FAIL SanitizerConfig, normalization: removeAttributes: [{"name":"href","namespace":"https://www.w3.org/1999/xlink"}] - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:67:13)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at test_normalization (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:65:3)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:97:3
  FAIL Test elements addition. - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:103:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:102:1
  FAIL Test elements removal. - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:116:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:115:1
  FAIL Test elements replacewithchildren. - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:129:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:128:1
  FAIL Test attribute addition. - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:142:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:141:1
  FAIL Test attribute removal. - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:157:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:156:1
  FAIL Test attribute-per-element sets (i.e. overwrites). - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:172:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:171:1
  FAIL Test removeAttribute-per-element sets (i.e. overwrites). - Sanitizer is not defined
ReferenceError: Sanitizer is not defined
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:186:11)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sanitizer-config.tentative.html:185:1
/sanitizer-api/sethtml-safety.tentative.html
  FAIL Testcase #0, setHTML("test)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #1, setHTML("<p>Hello</p>)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #2, setHTML("<div>Hello<script>World</script>xxx)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #3, setHTML("<div>Hello<script>World</script>xxx)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #4, setHTML("<svg>Hello<script>World</script>xxx)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #5, setHTML("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #6, setHTML("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)". - Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:27:3)
  FAIL Testcase #0, setHTMLUnsafe("test)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #1, setHTMLUnsafe("<p>Hello</p>)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #2, setHTMLUnsafe("<div>Hello<script>World</script>xxx)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #3, setHTMLUnsafe("<div>Hello<script>World</script>xxx)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #4, setHTMLUnsafe("<svg>Hello<script>World</script>xxx)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #5, setHTMLUnsafe("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
  FAIL Testcase #6, setHTMLUnsafe("<img src="https://web-platform.test/test-image" onclick="2+2" one="two">)". - Failed to execute 'setHTMLUnsafe' on 'Element': Overload resolution failed.
TypeError: Overload resolution failed.
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:40:23)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:2638:25)
    at test (http://web-platform.test:8000/resources/testharness.js:633:30)
    at http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:33:5
    at Array.forEach (<anonymous>)
    at test_each (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:32:13)
    at Test.<anonymous> (http://web-platform.test:8000/sanitizer-api/sethtml-safety.tentative.html:28:3)
 0:25.82 INFO Got 3 unexpected results, with 0 unexpected passes
 0:25.82 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:26.09 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:26.31 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:26.31 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:26.31 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:26.40 INFO Removed font: Ahem.ttf
 0:26.42 INFO Closing logging queue
 0:26.42 INFO queue closed
 0:26.42 INFO Tolerating 3 unexpected results
[taskcluster 2025-02-04 13:38:10.531Z] === Task Finished ===
[taskcluster 2025-02-04 13:38:11.327Z] Successful task run with exit code: 0 completed in 207.003 seconds