Closed Bug 1311254 Opened 9 years ago Closed 9 years ago

[Presentation WebAPI][Fennec] duplicate device appeared in selection dialog after put Fennec in background

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1295087

People

(Reporter: schien, Assigned: tommykuo)

Details

[STR] 1. open https://people.mozilla.org/~schien/test-presentation.html 2. click home button to put Fennec into background 3. switch Fennec to foreground app again 4. click "launch presentation" in the web page opened by step #1 [EXPECTED RESULT] selection dialog shows the exact available presentation device [ACTUAL RESULT] selection dialog shows duplicate devices
Hi S.C., I cannot reproduce the dup devices issue by your STR on my device. I just updated the source code on [1], could you try again? [1]: https://github.com/KuoE0/gecko-dev/tree/chromecast-on-fennec-with-presentation-api
Flags: needinfo?(schien)
(In reply to Tommy Kuo [:KuoE0] from comment #1) > Hi S.C., I cannot reproduce the dup devices issue by your STR on my device. > I just updated the source code on [1], could you try again? > > [1]: > https://github.com/KuoE0/gecko-dev/tree/chromecast-on-fennec-with- > presentation-api Still reproduce with latest ENG build on my Z3C. Per our discussion, the device remove callback might not happened when Fennec entering background. Therefore, we'll need to avoid duplicate device add by using the device UUID, like what we do in SimpleServiceDiscovery.jsm.
Flags: needinfo?(schien)
This bug will be fixed with Bug 1295087.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.