Closed
Bug 1369700
Opened 6 years ago
Closed 6 years ago
Delay initialization of marionette.js until delayed startup and startup tests are finished
Categories
(Remote Protocol :: Marionette, enhancement, P1)
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
Details
(Whiteboard: [photon-performance][qa-])
Attachments
(1 file)
1.71 KB,
patch
|
ato
:
review+
|
Details | Diff | Splinter Review |
Currently marionette.js starts its initialization right after receiving the "sessionstore-windows-restored" notification. This is unfortunate for the browser_startup.js browser chrome mochitest I added in bug 1358798, because it causes lots of marionette file to appear to be loaded before the browser is ready to handle user events.
Assignee | ||
Comment 1•6 years ago
|
||
Tree seems green-ish: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b0fa95d744f7ecc52f7d105b4d37ecc2a235010c
Attachment #8873807 -
Flags: review?(ato)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → florian
Status: NEW → ASSIGNED
Comment 2•6 years ago
|
||
Comment on attachment 8873807 [details] [diff] [review] Patch Review of attachment 8873807 [details] [diff] [review]: ----------------------------------------------------------------- r+wc: Please expand commit message with information about the motivation and reason behind this change.
Comment 3•6 years ago
|
||
Comment on attachment 8873807 [details] [diff] [review] Patch Review of attachment 8873807 [details] [diff] [review]: ----------------------------------------------------------------- r+wc: Please expand commit message with information about the motivation and reason behind this change.
Attachment #8873807 -
Flags: review?(ato) → review+
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/a3f93870b233 Delay initialization of marionette.js until delayed startup and startup tests are finished, r=ato.
Comment 5•6 years ago
|
||
Any particular reason why you used idleDispatch rather than explicitly observing the delayed startup finished notification?
Flags: needinfo?(florian)
![]() |
||
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3f93870b233
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Iteration: --- → 55.7 - Jun 12
Priority: -- → P1
Whiteboard: [photon-performance]
Assignee | ||
Comment 7•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #5) > Any particular reason why you used idleDispatch rather than explicitly > observing the delayed startup finished notification? There's a lot of stuff that observes the delayed-startup-notification, and cause jank at that point. We are really done with startup once the stuff started from that notification is finished, which means when the event queue is empty. That's what idleDispatch gives us.
Flags: needinfo?(florian)
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #7) > (In reply to Dão Gottwald [::dao] from comment #5) > > Any particular reason why you used idleDispatch rather than explicitly > > observing the delayed startup finished notification? > > There's a lot of stuff that observes the delayed-startup-notification, I meant sessionstore-windows-restored. Also, the code modified by this patch is already running off that notification.
Assignee | ||
Updated•6 years ago
|
Whiteboard: [photon-performance] → [photon-performance][qa-]
Updated•8 months ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•