Perma [Tier 2] /trusted-types/trusted-types-event-handlers.html | Event handler div.ontouchstart should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
Categories
(Core :: DOM: Security, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox124 | --- | unaffected |
| firefox125 | --- | unaffected |
| firefox126 | --- | wontfix |
| firefox127 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: CosminS)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [domsecurity-intermittent])
Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=454231647&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/F_jlrON-TIyS2J1syla1hw/runs/0/artifacts/public/logs/live_backing.log
TEST-PASS | /trusted-types/trusted-types-event-handlers.html | Non-event handler div.tabIndex should not be blocked.
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - TEST-FAIL | /trusted-types/trusted-types-event-handlers.html | Event handler div.onerror should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:45:23
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - test@http://web-platform.test:8000/resources/testharness.js:633:30
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:44:9
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - TEST-UNEXPECTED-FAIL | /trusted-types/trusted-types-event-handlers.html | Event handler div.ontouchstart should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:45:23
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - test@http://web-platform.test:8000/resources/testharness.js:633:30
[task 2024-04-10T23:29:54.852Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:44:9
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO -
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO - TEST-UNEXPECTED-FAIL | /trusted-types/trusted-types-event-handlers.html | Event handler div.ontouchend should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:45:23
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO - test@http://web-platform.test:8000/resources/testharness.js:633:30
[task 2024-04-10T23:29:54.853Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:44:9
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO -
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO - TEST-UNEXPECTED-FAIL | /trusted-types/trusted-types-event-handlers.html | Event handler div.ontouchmove should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:45:23
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO - test@http://web-platform.test:8000/resources/testharness.js:633:30
[task 2024-04-10T23:29:54.854Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:44:9
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO -
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO - TEST-UNEXPECTED-FAIL | /trusted-types/trusted-types-event-handlers.html | Event handler div.ontouchcancel should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:45:23
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO - test@http://web-platform.test:8000/resources/testharness.js:633:30
[task 2024-04-10T23:29:54.855Z] 23:29:54 INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.html:44:9
[task 2024-04-10T23:29:54.933Z] 23:29:54 INFO - TEST-OK | /trusted-types/trusted-types-event-handlers.html | took 814ms
[task 2024-04-10T23:29:55.260Z] 23:29:55 INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2024-04-10T23:29:55.376Z] 23:29:55 INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2024-04-10T23:29:55.377Z] 23:29:55 INFO - Closing logging queue
[task 2024-04-10T23:29:55.377Z] 23:29:55 INFO - queue closed
[task 2024-04-10T23:29:55.391Z] 23:29:55 INFO - Setting up ssl
[task 2024-04-10T23:29:55.419Z] 23:29:55 INFO - certutil | b''
[task 2024-04-10T23:29:55.440Z] 23:29:55 INFO - certutil | b''
[task 2024-04-10T23:29:55.451Z] 23:29:55 INFO - certutil | b'\nCertificate Nickname Trust Attributes\n SSL,S/MIME,JAR/XPI\n\nweb-platform-tests CT,, \n'
[task 2024-04-10T23:29:56.072Z] 23:29:56 INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test_runner
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1890376
Updated•1 year ago
|
Comment 2•1 year ago
|
||
That's OK, because we do not implement the feature trusted-types yet.
I'm surprised this is intermittent and not permanent. But I honestly don't care, since we just don't support any of this yet.
We should mark the whole trusted-types folder expected-fail until https://bugzilla.mozilla.org/show_bug.cgi?id=1508286 finishes and re-enable tests individually during development. CCing mirko for visibility.
It also only failed on Android.
(In reply to Frederik Braun [:freddy] (reo duty for Fx124) from comment #2)
That's OK, because we do not implement the feature
trusted-typesyet.
I'm surprised this is intermittent and not permanent. But I honestly don't care, since we just don't support any of this yet.We should mark the whole trusted-types folder expected-fail until https://bugzilla.mozilla.org/show_bug.cgi?id=1508286 finishes and re-enable tests individually during development. CCing mirko for visibility.
Not the whole folder. Some tests are already activated and passing with the dom.security.trusted_types.enabled pref set to true.
The failures stem from ontouch* events (https://searchfox.org/mozilla-central/rev/058ab60e5020d7c5c98cf82d298aa84626e0cd79/testing/web-platform/tests/trusted-types/trusted-types-event-handlers.html#39,47).
CCing Edgar because he might be familiar with this.
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 7•1 year ago
|
||
Updated in latest wpt-sync: https://hg.mozilla.org/mozilla-central/diff/825c278fcfe8c0bd6566ba47a616fe1c4cfdf19a/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini
Updated•1 year ago
|
This started failing again after today's wpt-sync
https://hg.mozilla.org/integration/autoland/rev/d6deb914e7f3
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=455243879&repo=mozilla-central&lineNumber=23746
Can someone please take a look?
| Assignee | ||
Comment 9•1 year ago
|
||
They got deleted again by the wpt-sync, will re-add them as a test-only. https://hg.mozilla.org/mozilla-central/diff/d6deb914e7f37c2be7449680c1bbbe8ddd6c419d/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
Description
•