Closed Bug 1140573 Opened 10 years ago Closed 10 years ago

Remove the parent argument from JS_NewFunction and other JSNative function-creating APIs

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(4 files)

Since we don't need a parent for a scope chain there, and there are no APIs for getting it from elsewhere, we don't need it at all.
Attachment #8574231 - Flags: review?(jwalden+bmo)
Attachment #8574232 - Flags: review?(jwalden+bmo)
Attachment #8574231 - Flags: review?(jwalden+bmo) → review+
Attachment #8574232 - Flags: review?(jwalden+bmo) → review+
Attachment #8574233 - Flags: review?(jwalden+bmo) → review+
Attachment #8574234 - Flags: review?(jwalden+bmo) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: