Closed Bug 1890885 Opened 1 month ago Closed 27 days ago

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)

defect

Tracking

()

RESOLVED FIXED
127 Branch
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

Set release status flags based on info from the regressing bug 1890376

Flags: needinfo?(aborovova)
Summary: Perma [Tier 2] W-b /trusted-types/trusted-types-event-handlers.html | single tracking bug → 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

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-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.

Not the whole folder. Some tests are already activated and passing with the dom.security.trusted_types.enabled pref set to true.

Status: NEW → RESOLVED
Closed: 1 month ago
Flags: needinfo?(aborovova)
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Severity: S4 → --
Status: RESOLVED → REOPENED
Flags: needinfo?(aborovova)
Priority: P5 → --
Resolution: FIXED → ---
Target Milestone: 127 Branch → ---
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78f636be754a
Re-add substets deleted by wpt-sync that are permafailing. a=test-only
Status: REOPENED → RESOLVED
Closed: 1 month ago27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Assignee: nobody → csabou
You need to log in before you can comment on or make changes to this bug.