Closed
Bug 1276072
Opened 8 years ago
Closed 8 years ago
Update PresentationApp.jsm with the latest Presentation API changes.
Categories
(Firefox for Android Graveyard :: Screencasting, defect)
Firefox for Android Graveyard
Screencasting
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: schien, Assigned: schien)
References
Details
Attachments
(1 file, 1 obsolete file)
`onstatechange` event interface will be changed and split into three individual event handler: `onconnect`, `onclose`, `onterminate`. For PresentationApp.jsm we should listen to `onterminate` to have the same semantic.
Assignee | ||
Comment 1•8 years ago
|
||
Haven't tested yet but should be pretty close to final version.
Attachment #8757067 -
Flags: feedback?(kechang)
Updated•8 years ago
|
Attachment #8757067 -
Flags: feedback?(kechang) → feedback+
Comment 2•8 years ago
|
||
Comment on attachment 8757067 [details] [diff] [review] [WIP] use-onterminate-event.patch Review of attachment 8757067 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/modules/secondscreen/PresentationApp.jsm @@ +133,1 @@ > if (this._session.state !== "connected") { I think we don't have to check the state again.
Assignee | ||
Updated•8 years ago
|
Attachment #8757067 -
Attachment is obsolete: true
Assignee | ||
Comment 3•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/56888/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/56888/
Attachment #8758669 -
Flags: review?(kechang)
Assignee | ||
Comment 4•8 years ago
|
||
Two modifications: 1) request.startDevice() will be resolved while connection is in connecting state, need to wait until connect to do callback. 2) monitor 'terminate' event instead of 'statechange' event for session termination.
Comment 5•8 years ago
|
||
Comment on attachment 8758669 [details] MozReview Request: Bug 1276072 - wait for 'connect' event and replace 'statechange' event with 'terminate' event. r=kershaw. https://reviewboard.mozilla.org/r/56888/#review53558
Attachment #8758669 -
Flags: review?(kechang) → review+
Pushed by schien@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3cb234c21f03 wait for 'connect' event and replace 'statechange' event with 'terminate' event. r=kershaw.
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3cb234c21f03
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•