Closed Bug 963921 Opened 6 years ago Closed 5 years ago

Clients of the JS API should use JS_DefineElement rather than JS_SetElement to define elements

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

As suggested in bug 963167.
This is a patch to convert use of JS_SetElement() to JS_DefineElement() in the browser where appropriate.  And actually I couldn't find any where JS_SetElement() was more appropriate.
Assignee: nobody → jcoppeard
Attachment #8570391 - Flags: review?(bugs)
Attachment #8570391 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/0d6720105fbb
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.