Closed Bug 871181 Opened 12 years ago Closed 12 years ago

Fix rooting hazards in ObjectWrapperChild.cpp

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (v1) (obsolete) — Splinter Review
No description provided.
Attachment #748467 - Flags: review?(tschneidereit)
Comment on attachment 748467 [details] [diff] [review] Patch (v1) Review of attachment 748467 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/ipc/ObjectWrapperChild.cpp @@ +303,2 @@ > return false; > Can you fix the superfluous whitespace in this file while you're in there? @@ +342,5 @@ > AutoContextPusher acp(cx); > AutoCheckOperation aco(this, status); > > + if (!jsid_from_nsString(cx, id, interned_id.address()) || > + !jsval_from_JSVariant(cx, v, val.address())) Pre-existing, but please add braces here.
Attachment #748467 - Flags: review?(tschneidereit) → review+
Attached patch Patch (v2)Splinter Review
Comments addressed.
Attachment #748467 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: