Closed
Bug 1070076
Opened 9 years ago
Closed 9 years ago
overly aggressive legacy-syntax-warning in Bug 1063808 trips on absent createOffer options arg
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | --- | fixed |
firefox34 | --- | fixed |
firefox35 | --- | fixed |
People
(Reporter: jib, Assigned: jib)
References
Details
Attachments
(1 file, 1 obsolete file)
1.34 KB,
patch
|
jib
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Poor testing on my part, and no automated tests possible on console warnings. :-( The warning would erroneously trip when you called: - createOffer(success,failure) with no options arg, or - createOffer(success,failure, x) where x = null, {}, undefined or containing unrecognized dictionary members I've verified locally that this patch fixes it.
Attachment #8492312 -
Flags: review?(adam)
Assignee | ||
Updated•9 years ago
|
Attachment #8492312 -
Flags: review?(adam) → review?(rjesup)
Comment 1•9 years ago
|
||
Comment on attachment 8492312 [details] [diff] [review] fixed createOffer options arg legacy-syntax-warning to not trip on absent arg Review of attachment 8492312 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/PeerConnection.js @@ +556,5 @@ > > createOffer: function(onSuccess, onError, options) { > > // TODO: Remove old constraint-like RTCOptions support soon (Bug 1064223). > + // Note that webidl bindings make o.mandatory implicit while o.optional not. English - "is not"?
Attachment #8492312 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Fixed English hopefully. Carrying forward r=jesup.
Attachment #8492312 -
Attachment is obsolete: true
Attachment #8492329 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c885916823da
Keywords: checkin-needed
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c885916823da
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8492329 [details] [diff] [review] fixed createOffer options arg legacy-syntax-warning to not trip on absent arg (2) r=jesup Approval Request Comment [Feature/regressing bug #]: Bug 1063808 [User impact if declined]: False and misleading warnings in web console on the most basic use of peerConnection.createOffer without an options arg (regression) [Describe test coverage new/current, TBPL]: Verified locally. Landed on m-i and m-c. Unfortunately I know of no easy way to confirm web console output in automated tests. [Risks and why]: Very low risk. Just changes the if-logic that determines showing off warning. [String/UUID change made/needed]: none
Attachment #8492329 -
Flags: approval-mozilla-beta?
Attachment #8492329 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
status-firefox32:
--- → unaffected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
status-firefox35:
--- → fixed
Updated•9 years ago
|
Attachment #8492329 -
Flags: approval-mozilla-beta?
Attachment #8492329 -
Flags: approval-mozilla-beta+
Attachment #8492329 -
Flags: approval-mozilla-aurora?
Attachment #8492329 -
Flags: approval-mozilla-aurora+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 6•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/340677d8a19d https://hg.mozilla.org/releases/mozilla-beta/rev/02eaea5dce76
You need to log in
before you can comment on or make changes to this bug.
Description
•