Closed
Bug 771936
Opened 13 years ago
Closed 11 years ago
Scratchpad ignores "use strict"
Categories
(DevTools Graveyard :: Scratchpad, defect, P3)
DevTools Graveyard
Scratchpad
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: till, Unassigned)
References
(Depends on 1 open bug)
Details
When run from the scratchpad, both
"use strict";
window.indexedDB = "foo";
console.log(window.indexedDB);
and
console.log((function(){
"use strict";
window.indexedDB = "foo";
return window.indexedDB;
})());
successfully log "[object IDBFactory]" to the console instead of throwing because of the attempted write to a setter-less property.
Comment 1•12 years ago
|
||
probably a sandbox bug. Curious though.
Filter on BLACKEAGLE?!
Priority: -- → P3
Comment 2•12 years ago
|
||
This might be related to bug 480245.
Reporter | ||
Comment 3•12 years ago
|
||
Oh, indeed: that looks like it's probably the reason.
Depends on: 480245
Comment 4•12 years ago
|
||
Dropping evalInSandbox in favor of the debugger API would fix this, too (bug 723556, bug 825039).
Comment 5•11 years ago
|
||
This is resolved by 825039 landing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•