Closed Bug 977016 Opened 10 years ago Closed 10 years ago

PlacesUtils.jsm should use Cu.cloneInto() rather than JSON.stringify/parse

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: ttaubert, Assigned: ttaubert)

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8382067 [details] [diff] [review]
0001-Bug-977016-PlacesUtils.jsm-should-use-Cu.cloneInto-r.patch

Review of attachment 8382067 [details] [diff] [review]:
-----------------------------------------------------------------

I think this will do the same job (avoid passing out an array with a reference to another global object), so it should be fine.
Attachment #8382067 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/7a4919b448ef
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: