Closed Bug 1033163 Opened 11 years ago Closed 10 years ago

mozRTCSessionDescription toJSON not defined

Categories

(Core :: WebRTC, defect)

26 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: wjmelements, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20140611075517 Steps to reproduce: Tried to send a mozRTCSessionDescription from $.post within another object. Actual results: TypeError: 'toJSON' called on an object that does not implement interface mozRTCSessionDescription. Expected results: It should JSON stringify the object.
OS: Windows 7 → Linux
Component: Untriaged → WebRTC
Depends on: 917092
Product: Firefox → Core
Is this still happening? Can you provide more context about where you're calling this from? Can you provide a code snippet that produces this result?
Flags: needinfo?(wjmelements)
Marking this resolved incomplete because we can't move forward without more info from the bug reporter, and we've had an unanswered needinfo into him for over a month.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
From UA string in comment 0 this was in Firefox 26, likely in response to Bug 872377 which landed in 25 where we switched away from non-spec (for webidl objects) .toJSON() to using webidl serializer (jsonifier in gecko), which instead of: new mozRTCSessionDescription().toJSON(); expects you to do: JSON.stringify(new mozRTCSessionDescription());
Flags: needinfo?(wjmelements)
Resolution: INCOMPLETE → WONTFIX
Version: 30 Branch → 26 Branch
You need to log in before you can comment on or make changes to this bug.