Closed
Bug 1368941
Opened 8 years ago
Closed 8 years ago
Cleanup ProcessPriorityManager
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file)
8.76 KB,
patch
|
gsvelto
:
review+
|
Details | Diff | Splinter Review |
This should be the last cleaning up patch for this component. It seems that now it's ready to be used on desktop.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8872882 -
Flags: review?(gsvelto)
Comment 2•8 years ago
|
||
Comment on attachment 8872882 [details] [diff] [review]
cleanup.patch
Review of attachment 8872882 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM but your changes just made me realize that we still have wake lock support around. A grep of the code shows that it goes beyond gonk so maybe we can't strip it out yet but it's probably worth an investigation (navigator.requestWakeLock() should have been gone already though, I wonder why it's still there).
Attachment #8872882 -
Flags: review?(gsvelto) → review+
Assignee | ||
Comment 3•8 years ago
|
||
We must keep the wakelock because if a tab, not in focus, is playing audio, we don't want to reduce its priority.
Assignee | ||
Comment 4•8 years ago
|
||
But yes, we should probably remove navigator.requestWakeLock()
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b0ebe9dd56ae
Remove gonk specific code from ProcessPriorityManager, r=gsvelto
Comment 6•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•