Closed Bug 1297404 Opened 3 years ago Closed 3 years ago

Remove the JS_CallOnce JSAPI method

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

Details

Attachments

(1 file, 1 obsolete file)

(In reply to Jan de Mooij [:jandem] from bug 1297331 comment #2)
> I think we can also remove the JS_CallOnce API, so we can get rid of
> PR_CallOnce* too. It's a pretty weird API for something that has little to
> do with JS (embedders have other ways to do it), and it's not used in
> Firefox.
Attachment #8784072 - Flags: review?(terrence)
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
This updated version of the patch removes the jsnspr.h include in jsapi.cpp that
is no longer needed.
Attachment #8784077 - Flags: review?(terrence)
Attachment #8784072 - Attachment is obsolete: true
Attachment #8784072 - Flags: review?(terrence)
Attachment #8784077 - Flags: review?(terrence) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee5faca706c8
Remove the JS_CallOnce JSAPI function. r=terrence
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ee5faca706c8
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.