Try to not create a resource: URI browser window using a SystemPrincipal
Categories
(Core :: DOM: Security, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Whiteboard: [domsecurity-active])
Attachments
(1 file)
Assignee | ||
Comment 1•4 years ago
|
||
Hey Zibi, within Bug 1670244 we want to ensure we never load a document with incorrect principal in the wrong type of webIsolated process. To comply with that rule we have to update certain callsites. One of those callistes is for example is the loading of resource://l10n-test/test.html
within the test browser_resource_uri.js#39.
I assume you wanted to explicitly test that resource://l10n-test/test.html
is loaded with a SystemPrincipal? If not, can we update that? Any suggestions?
Comment 2•4 years ago
|
||
I assume you wanted to explicitly test that resource://l10n-test/test.html is loaded with a SystemPrincipal?
:mossop - is that accurate?
Comment 3•4 years ago
|
||
On the contrary I think we want the test page to be loaded in a non-system principal: https://searchfox.org/mozilla-central/source/dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html#9-10
Assignee | ||
Comment 4•4 years ago
|
||
Comment 6•4 years ago
|
||
bugherder |
Description
•