Closed
Bug 1398382
Opened 8 years ago
Closed 8 years ago
test_ComponentEnvironment.js fails with JSM global sharing
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
DUPLICATE
of bug 1396050
People
(Reporter: mccr8, Unassigned)
References
Details
The body of this test should probably be something like:
do_check_eq(tgt.bound, "", "Components should not share namespace");
instead of throwing any error, so you get more useful output in the log.
Anyways, when this is run with JSM global sharing enabled, tgt.bound has the value "ei,fo," instead of "".
| Reporter | ||
Comment 2•8 years ago
|
||
Oh, I see, ei and fo are this, so I guess this is expected:
(1,eval)("this.ei = 6"); // Indirect Eval
(new Function("this.fo = 7"))(); // Dynamic Function Object
Flags: needinfo?(tcampbell)
| Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•