Bug 1529877 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

As a follow up to Bug 1518454, we need to figure out how we can query the csp from the right principal, so that within Bug 965637 we can query it from the document/client.

Further info:
test_ext_contentscript_triggeringPrincipal.js
is the test that helps to figure the problem

Probably we within GetURL we don't only do
> nsCOMPtr<nsIPrincipal> prin = frame->GetSrcTriggeringPrincipal();
but also have something like:
> nsCOMPtr<nsIContentSecurityPolicy> csp = frame->GetSrcCSP();

Back to Bug 1529877 Comment 0