Closed Bug 1968607 Opened 2 months ago Closed 25 days ago

Prototype policy container and replace it with CSP

Categories

(Core :: DOM: Security, task)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: fkilic, Assigned: fkilic)

References

(Blocks 3 open bugs)

Details

Attachments

(4 files, 1 obsolete file)

There's bug 1706026, but it isn't 100% match with the things we're planning on doing. We aren't implementing it "according to policy container" spec. We are just inheriting it similar to CSP.

As a first step, we want to include CSP and integrity policy in the container. We probably shouldn't switch over to policy container's CSP immediately, we should place assertions to make sure policy container's CSP is equal to the existing CSP property used.

Attachment #9490783 - Attachment description: Bug 1968607 - Part 3: Copy PolicyContainer Similar to CSP r=tschuster → WIP: Bug 1968607 - Part 3: Copy PolicyContainer Similar to CSP r=tschuster
Depends on: 1972911
Summary: Prototype policy container and pass it throughout the codebase similar to CSP → Prototype policy container and replace it with CSP
Attachment #9490782 - Attachment is obsolete: true
Attachment #9490781 - Attachment description: Bug 1968607 - Part 1: Copy PolicyContainer Similar to CSP r=tschuster → WIP: Bug 1968607 - Part 1: Copy PolicyContainer Similar to CSP r=tschuster
Attachment #9490783 - Attachment description: WIP: Bug 1968607 - Part 3: Copy PolicyContainer Similar to CSP r=tschuster → WIP: Bug 1968607 - Part 2: Copy PolicyContainer Similar to CSP r=tschuster
Attachment #9490781 - Attachment description: WIP: Bug 1968607 - Part 1: Copy PolicyContainer Similar to CSP r=tschuster → WIP: Bug 1968607 - Part 1: Replace CSP with PolicyContainer. r=tschuster
Attachment #9490783 - Attachment description: WIP: Bug 1968607 - Part 2: Copy PolicyContainer Similar to CSP r=tschuster → WIP: Bug 1968607 - Part 2: Replace CSP with PolicyContainer. r=tschuster
Attachment #9490781 - Attachment description: WIP: Bug 1968607 - Part 1: Replace CSP with PolicyContainer. r=tschuster → Bug 1968607 - Part 1: Replace CSP with PolicyContainer. r=tschuster
Attachment #9490783 - Attachment description: WIP: Bug 1968607 - Part 2: Replace CSP with PolicyContainer. r=tschuster → Bug 1968607 - Part 2: Replace CSP with PolicyContainer. r=tschuster
Blocks: 1973568
Blocks: 1974070
See Also: policy-container
Pushed by fkilic@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ddc121a2e0f4 https://hg.mozilla.org/integration/autoland/rev/482e85abf4cd Prototype PolicyContainer r=tschuster https://github.com/mozilla-firefox/firefox/commit/aec6e7d2779f https://hg.mozilla.org/integration/autoland/rev/750be03ab2a3 Populate PolicyContainer in Document r=tschuster https://github.com/mozilla-firefox/firefox/commit/eed44c486205 https://hg.mozilla.org/integration/autoland/rev/1fd028c74346 Part 1: Replace CSP with PolicyContainer. r=tschuster,webidl,smaug https://github.com/mozilla-firefox/firefox/commit/3820e6adef61 https://hg.mozilla.org/integration/autoland/rev/6f06fc7b60a6 Part 2: Replace CSP with PolicyContainer. r=necko-reviewers,geckoview-reviewers,webidl,search-reviewers,tabbrowser-reviewers,reusable-components-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,core-sessionstore-reviewers,smaug,nalexander,sunil,Standard8,extension-reviewers,devtools-reviewers,robwu,nchevobbe,sthompson,tschuster,mossop,emcminn,mstriemer,farre,mconley https://github.com/mozilla-firefox/firefox/commit/2f23b0e311f0 https://hg.mozilla.org/integration/autoland/rev/bd54ce8afef8 1972911: apply code formatting via Lando
Regressions: 1976824
No longer regressions: 1976824
QA Whiteboard: [qa-triage-done-c143/b142]
Blocks: 1974075
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: