Closed Bug 1530104 Opened 2 years ago Closed 2 years ago

Documentation for newGlobal is misleading

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: jimb, Assigned: jimb)

Details

Attachments

(1 file)

The behavior of the newCompartment, sameCompartmentAs, and sameZoneAs options of the newGlobal function in js/src/builtin/TestingFunctions.cpp is not quite as described.

This clarifies the descriptions of newCompartment, sameCompartmentAs, and
sameZoneAs.

Pushed by jblandy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d69f9928a349
Correct documentation for newGlobal JS shell function. r=jorendorff
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.