Closed Bug 1921008 Opened 1 year ago Closed 1 year ago

Add Trusted Types pre-navigation check WPT for form-submission

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: mbrodesser, Assigned: mbrodesser)

References

Details

(Whiteboard: [domsecurity-backlog], [wptsync upstream])

Attachments

(6 files)

No description provided.

Before, the sub-tests passed without any assertions, hampering checking
whether the tests were indeed correct.

Depends on D223593

Previously, the event listeners of a previous test run would stay,
contributing to the set of assertions of the current test run.

Depends on D223594

Before, <navigation-support.html> didn't correctly break the loop, as it
didn't use hashes.

Depends on D223753

Attachment #9427166 - Attachment description: WIP: Bug 1921008: part 4) Start adding javascript-url navigation via form-submission tests for Trusted Types → WIP: Bug 1921008: part 6) Start adding javascript-url navigation via form-submission tests for Trusted Types
Assignee: nobody → mbrodesser
Severity: -- → N/A
Whiteboard: [domsecurity-backlog]
Attachment #9427163 - Attachment description: WIP: Bug 1921008: part 1) Factor duplicated code from <navigation-support.html> and <navigation-report-only-support.html> out → Bug 1921008: part 1) Factor duplicated code from <navigation-support.html> and <navigation-report-only-support.html> out. r=tschuster
Attachment #9427164 - Attachment description: WIP: Bug 1921008: part 2) Add assertions to <trusted-types-navigation.html> → Bug 1921008: part 2) Add assertions to <trusted-types-navigation.html>. r=tschuster
Attachment #9427165 - Attachment description: WIP: Bug 1921008: part 3) Remove event listener when desired event was received in <trusted-types-navigation.html> → Bug 1921008: part 3) Remove event listener when desired event was received in <trusted-types-navigation.html>. r=tschuster
Attachment #9427438 - Attachment description: WIP: Bug 1921008: part 4) Remove checking `trusted-types` as effective directive in <trusted-types-navigation.html> → Bug 1921008: part 4) Remove checking `trusted-types` as effective directive in <trusted-types-navigation.html>. r=tschuster
Attachment #9427439 - Attachment description: WIP: Bug 1921008: part 5) Correct click-loop-breaking mechanism in <trusted-types-navigation.html> → Bug 1921008: part 5) Clarify click-loop-breaking mechanism in <trusted-types-navigation.html>. r=tschuster
Attachment #9427166 - Attachment description: WIP: Bug 1921008: part 6) Start adding javascript-url navigation via form-submission tests for Trusted Types → Bug 1921008: part 6) Add javascript-url navigation via form-submission tests for Trusted Types. r=tschuster
Pushed by mbrodesser@igalia.com: https://hg.mozilla.org/integration/autoland/rev/15c7ca4e6fd3 part 1) Factor duplicated code from <navigation-support.html> and <navigation-report-only-support.html> out. r=tschuster https://hg.mozilla.org/integration/autoland/rev/81dc54226b76 part 2) Add assertions to <trusted-types-navigation.html>. r=tschuster https://hg.mozilla.org/integration/autoland/rev/578331c28bb3 part 3) Remove event listener when desired event was received in <trusted-types-navigation.html>. r=tschuster https://hg.mozilla.org/integration/autoland/rev/0778f75c7ba9 part 4) Remove checking `trusted-types` as effective directive in <trusted-types-navigation.html>. r=tschuster https://hg.mozilla.org/integration/autoland/rev/1e668345dab2 part 5) Clarify click-loop-breaking mechanism in <trusted-types-navigation.html>. r=tschuster https://hg.mozilla.org/integration/autoland/rev/999a70cf9b2d part 6) Add javascript-url navigation via form-submission tests for Trusted Types. r=tschuster
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48594 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-backlog] → [domsecurity-backlog], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: