Closed Bug 1841710 Opened 3 years ago Closed 3 years ago

Perma [tier 2] /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.oncancel should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox115 --- unaffected
firefox116 --- unaffected
firefox117 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: vhilla)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=421499299&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/flVfRu3ZQQ-mQW_b16735Q/runs/0/artifacts/public/logs/live_backing.log


[task 2023-07-04T23:49:56.545Z] 23:49:56     INFO - TEST-PASS | /trusted-types/trusted-types-event-handlers.tentative.html | Non-event handler div.offsetHeight should not be blocked. 
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - TEST-PASS | /trusted-types/trusted-types-event-handlers.tentative.html | Non-event handler div.style should not be blocked. 
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - TEST-FAIL | /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.onabort should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:43:23
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - test@http://web-platform.test:8000/resources/testharness.js:628:30
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:42:9
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - TEST-FAIL | /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.onblur should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:43:23
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - test@http://web-platform.test:8000/resources/testharness.js:628:30
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:42:9
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - TEST-FAIL | /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.onfocus should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:43:23
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
[task 2023-07-04T23:49:56.546Z] 23:49:56     INFO - test@http://web-platform.test:8000/resources/testharness.js:628:30
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:42:9
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - TEST-UNEXPECTED-FAIL | /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.oncancel should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:43:23
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2599:25
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - test@http://web-platform.test:8000/resources/testharness.js:628:30
[task 2023-07-04T23:49:56.547Z] 23:49:56     INFO - @http://web-platform.test:8000/trusted-types/trusted-types-event-handlers.tentative.html:42:9
[task 2023-07-04T23:49:56.663Z] 23:49:56     INFO - .................................................................................................................................................................................................................................................................................
[task 2023-07-04T23:49:56.663Z] 23:49:56     INFO - TEST-OK | /trusted-types/trusted-types-event-handlers.tentative.html | took 362ms
Summary: Intermittent [tier 2] /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.oncancel should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw → Perma [tier 2] /trusted-types/trusted-types-event-handlers.tentative.html | Event handler div.oncancel should be blocked. - assert_throws_js: function "_ => element.setAttribute(name, "2+2")" did not throw

:vhilla, since you are the author of the regressor, bug 1834141, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(vhilla)

Intermittent failure caused by bug 1834141 implementing dialog.oncancel.

Assignee: nobody → vhilla
Status: NEW → ASSIGNED

The test already failed for all other event handlers, so I will update the metadata to also expect div.oncancel to fail.

Flags: needinfo?(vhilla)
Pushed by vhilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b148a11cd604 Update test metadata for trusted types div.oncancel. r=edgar

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

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

Just confirming what vhilla said. We do not support Trusted Types, so a test failure is the expected behavior. Thank you for adding the annotation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: