Closed Bug 1587105 Opened 5 years ago Closed 5 years ago

Extensions content script not shown in pdf viewer

Categories

(WebExtensions :: Untriaged, defect)

69 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1454760

People

(Reporter: anatli, Unassigned)

Details

(Keywords: parity-chrome)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

Steps to reproduce:

  1. Add to firefox a new extension for testing (Load temporary addon).
    *Manifest contains following:
    "content_scripts": [
    {
    "matches": ["<all_urls>"],
    "all_frames": true,
    "css": ["mystyle.css"],
    "js": [
    "myscript.js"],
    ...

  2. Open a pdf file (automatically opened in default pdf viewer)

  3. Open developer tools

  4. Go to debugger section

Actual results:

The extensions content scripts are not there (not visible nor loaded in developer tools).

*In order to check if it had something to do with CSP, I tried disabling it at about:config, but it didn't work

Expected results:

We should find the extensions content scripts in there.

*Works fine in Chrome (both with/without pdf viewer) and in other pages in Firefox which do not use pdf viewer

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Keywords: parity-chrome
Product: Firefox → WebExtensions
Resolution: --- → DUPLICATE
Version: 69 Branch → Firefox 69
Version: Firefox 69 → 69 Branch
You need to log in before you can comment on or make changes to this bug.