Closed
Bug 752775
Opened 13 years ago
Closed 13 years ago
"ReferenceError: console is not defined" with deprecated postMessage() usage in a content script
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 821156
People
(Reporter: asqueella, Unassigned)
References
Details
The warnings added in bug 718666 use console.warn(), which causes a ReferenceError:
Traceback (most recent call last):
File "javascript:postMessage(document.querySelectorAll('h2 + p > a')[0].href)", line 1, in
File "resource://jid0-...-at-jetpack/api-utils/lib/content/content-worker.js", line 197, in deprecatedPostMessage
console.warn("The global `postMessage()` function in content " +
ReferenceError: console is not defined
https://github.com/mozilla/addon-sdk/blame/master/packages/api-utils/lib/content/content-worker.js#LID196
Severity: minor → normal
Priority: -- → P1
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•