Closed Bug 813278 Opened 13 years ago Closed 13 years ago

JSVAL_TO_OBJECT called on string in TimeZoneSettingObserver

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)

RESOLVED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 file)

This asserts and crashes in DEBUG builds, and should not be done. I am told JSStrings are not JSObjects.
Depends on: 811414
Attached patch patchSplinter Review
Add an overload for JSAutoCompartment for JSString and use it.
Attachment #683282 - Flags: review?(bobbyholley+bmo)
Comment on attachment 683282 [details] [diff] [review] patch Seems fine to me, but bouncing to luke just in case.
Attachment #683282 - Flags: review?(bobbyholley+bmo) → review?(luke)
Attachment #683282 - Flags: review?(luke) → review+
Blocks: 716859
Assignee: nobody → jgilbert
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: --- → ?
Basecamp blocking which needs to be merged into Aurora and Beta.
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: