Closed Bug 569668 Opened 14 years ago Closed 14 years ago

TM: disallow globals without JSCLASS_IS_GLOBAL flags

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 563040

People

(Reporter: gal, Unassigned)

Details

I am optimizing StandardClass.prototype lookup and noticed that we allow globals without the flag set. I think thats a really terrible idea. try { evalcx(''); Function("evalcx(\"var p\",[])")(); } catch (exc) {}
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.