Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.
This repository was 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

Description

@gorhill

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.

Activity

  1. gorhill commented on Jun 10, 2014

    @gorhill
    OwnerAuthor

    This was fixed with 42e81a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions