Closed Bug 627545 Opened 13 years ago Closed 5 years ago

add cx->getGlobal() and cx->scopeChain()

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gal, Unassigned)

Details

There should be a standard way to get the current global. Right now everyone is doing cx->hasfp() ? cx->fp()->scopeChain()->getGlobal() : cx->globalObject.
Assignee: general → nobody

JSContext::global() is present, therefore closing as Fixed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.