In the new world ToJSValue should be used, and not dictionary.ToObject. (Currently ToJSValue just calls ToObject). We should rename ToObject to something which hints that it shouldn't be used. ToObjectInternal for example.
I may have missed some b2g stuff. https://tbpl.mozilla.org/?tree=Try&rev=0210eba6ac04
Attachment #8437883 - Flags: review?(bzbarsky)
Comment on attachment 8437883 [details] [diff] [review] ToObjectInternal r=me Please do the try run on b2g and update the webidl docs?
Attachment #8437883 - Flags: review?(bzbarsky) → review+
checkin-needed because m-i seems to be rather closed today.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.