Closed Bug 1397414 Opened 7 years ago Closed 7 years ago

Inject gcli command fails when supplied an URL on a HTTPS site

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P3)

52 Branch
defect

Tracking

(firefox-esr52 affected, firefox55 wontfix, firefox56 wontfix, firefox57 fix-optional)

RESOLVED DUPLICATE of bug 1409428
Tracking Status
firefox-esr52 --- affected
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- fix-optional

People

(Reporter: adrian17, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170905100117

Steps to reproduce:

- open any HTTPS site
- open gcli
- enter command "inject https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"


Actual results:

An error message "src.replace is not a function" appears.


Expected results:

The script should have been loaded.

The error happens at line https://searchfox.org/mozilla-central/source/devtools/shared/gcli/commands/inject.js#65 .

(note that bug 1389874 also affects the same feature, so fixing this bug alone won't really help)
Component: Untriaged → Developer Tools: Graphic Commandline and Toolbar
Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 57 Branch → 52 Branch
See Also: → 1389874
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.