Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Script tags are reported twice in the request log when inline javascript is allowed #243

Closed
gorhill opened this issue Apr 25, 2014 · 1 comment

Comments

@gorhill
Copy link
Owner

gorhill commented Apr 25, 2014

Problem is:

When inline javascript execution is blocked using CSP, this causes all external javascript to not even attempt to load.

As as consequence we can't count solely on webRequest.onBeforeLoad as the only mechanism to report external javascript files, thus we need script tags to be manually looked up in a content script.

As a consequence javascript tags are reported twice in the log when inline javascript is not blocked, from webRequest.onBeforeLoad and from contentscripthandler.js.

So contentscripthandler.js should log only if inline javascript is disabled.

@gorhill
Copy link
Owner Author

gorhill commented Jun 10, 2014

This was fixed with 42e81a1

@gorhill gorhill closed this as completed Jun 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant