Closed Bug 1295076 Opened 8 years ago Closed 8 years ago

<all_urls> does not inject script into about:newtab

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: shinglyu, Unassigned)

Details

STR:

  Create a extension that has the following in the manifest.json:

  "content_scripts": [
    {
      "matches":["<all_urls>"],
      "js": ["myscript.js"]
    }
  ],

Expected:

  When I open a new tab, the script should be injected into the about:newtab window

Actual:

  The script was not injected into the about:newtab window

Notes:

  Tested on Chromium, Chromium will inject the script into is new tab window.

Environment:

  Firefox 50.0a2
  Ubuntu 16.04 64bit
This is intentional. about:newtab runs with elevated privileges, and WebExtensions can't run code in contexts that have more privileges than they do.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.