Closed
Bug 1271360
Opened 8 years ago
Closed 8 years ago
SyntaxError warning in Browser Console caused by late 'use strict'; in Templater.jsm
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P2)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1266826
People
(Reporter: john.s.thomsen, Unassigned)
Details
(Whiteboard: [good first bug])
The patch for bug 1128988 added 'use strict'; to devtools/shared/gcli/Templater.jsm It was not added as first statement in the file, hence causes SyntaxError warning in Browser Console when the Web Console is opened: "SyntaxError: 'use strict' statement won't be enforced as a directive because it isn't in directive prologue position" The statement should be moved, removed, or disabled.
Fixed in bug 1266826
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: [good first bug]
Comment 2•8 years ago
|
||
This bug is already fixed as a part of bug 1266826. https://hg.mozilla.org/mozilla-central/rev/666e690baccc
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•