Closed Bug 773370 Opened 12 years ago Closed 12 years ago

Fix rooting in JSArray creation for mozTelephony

Categories

(Core :: DOM: Device Interfaces, defect)

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17
blocking-basecamp +

People

(Reporter: qdot, Assigned: qdot)

References

Details

Attachments

(1 file)

There are functions in mozTelephony and mozBluetooth that convery nsTArrays to JSArrays. The internal machinery moves values to an internal nsTArray that's then tranformed as part of JS_NewArrayObject. There could be a GC sweep during this conversion that could cause some of the values to be swept before rooting.
Hm do we also need a write barrier now with IGC?
Assignee: nobody → kyle
Kyle, Gregor: Does this need to block the release?
blocking-basecamp: --- → ?
No longer blocks: b2g-bluetooth
Summary: Fix rooting in JSArray creation for mozTelephony/mozBluetooth → Fix rooting in JSArray creation for mozTelephony
Nope, this doesn't block release. It's already fixed in 761511 for bluetooth, too.
Attachment #648098 - Flags: review?(bent.mozilla) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Potential crasher so blocking in case we regress.
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: