Closed
Bug 1166172
Opened 10 years ago
Closed 9 years ago
Send MozContentEvent to gecko after the `system-first-paint` event is received.
Categories
(Firefox OS Graveyard :: Gaia::System::Audio Mgmt, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evanxd, Assigned: evanxd)
References
Details
Attachments
(2 files)
No description provided.
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Summary: Send content event to gecko after the `system-first-paint` event is received. → Send MozContentEvent to gecko after the `system-first-paint` event is received.
Assignee | ||
Comment 3•10 years ago
|
||
Because of Bug 1167465, we need to do this work around[1] here.
[1]: https://github.com/mozilla-b2g/gaia/pull/30120
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
Hi Alive and Dominic,
Because of Bug 1167465, we need to do this work around[1] here,
or the bug will block our works.
[1]: https://github.com/mozilla-b2g/gaia/pull/30120
Attachment #8607382 -
Flags: review?(alive)
Assignee | ||
Updated•10 years ago
|
Attachment #8607382 -
Flags: review?(dkuo)
Comment 5•10 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
My only question is what if you missing the first-paint event because you are lazily loaded...?
Flags: needinfo?(evanxd)
Comment 6•10 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
r+ if this fixes the problem but would like to see followup to address the missing event.
Attachment #8607382 -
Flags: review?(alive) → review+
Comment 7•10 years ago
|
||
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #5)
> My only question is what if you missing the first-paint event because you
> are lazily loaded...?
This can't possibly right. We can't land a patch with this behavior.
Comment 8•10 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
Evan,
As we discussed offline, "system-first-paint" event looks a workable but probably not a suitable timing, I think there is a reason to explain why it works but the other events, let's investigate this together after you got back.
Attachment #8607382 -
Flags: review?(dkuo)
Assignee | ||
Comment 9•9 years ago
|
||
Discussed with Alive and Dominic in person.We could try to use "Broadcast Channel API" to get the String list of System's audio channels. Let's try that!
Depends on: 1167465
Flags: needinfo?(evanxd)
Assignee | ||
Comment 10•9 years ago
|
||
The documentations of Broadcast Channel API:
https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API
Assignee | ||
Comment 11•9 years ago
|
||
Broadcast Channel API cannot work for this situation. Then I'll try Fabrice's suggestion[1].
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1165134#c9
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
>https://github.com/mozilla-b2g/gaia/pull/30606
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
https://github.com/mozilla-b2g/gaia/pull/30606
Attachment #8607382 -
Attachment filename: Github pull request #30120 → Github pull request #30606
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8607382 [details] [review]
[gaia] evanxd:bug-1166172 > mozilla-b2g:master
>https://github.com/mozilla-b2g/gaia/pull/30606
Assignee | ||
Comment 15•9 years ago
|
||
Assignee | ||
Comment 16•9 years ago
|
||
If the CI[1] for pr[2] is good, just land the code.
[1]: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=03ec48f6bae180c567577cd6a79b22c2adc002be
[2]: https://github.com/mozilla-b2g/gaia/pull/30606
Assignee | ||
Comment 17•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•