<all_urls> does not inject script into about:newtab

RESOLVED INVALID

Status

()

Toolkit
WebExtensions: Untriaged
RESOLVED INVALID
a year ago
a year ago

People

(Reporter: shinglyu, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
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
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.