Closed Bug 1287646 Opened 9 years ago Closed 9 years ago

tabs.update with javascript:-URL does not run code

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(firefox50 affected)

RESOLVED DUPLICATE of bug 1227462
Tracking Status
firefox50 --- affected

People

(Reporter: robwu, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

(related: bug 1269456) Using chrome.tabs.update with a javascript:-URL does not work either: 1. Load the attached zip file. 2. Visit example.com. 3. Click on the extension button. Expected: A message in the page's console, because the addon has the permission to run code in that tab, and updating the URL with javascript: is basically running code in that tab's main page. Actual: The following error in the global console: Unchecked lastError value: Error: Illegal URL: javascript:console.log("tabs.update succesfully injected a javascript:-URL.");
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: