"WebDriver:MinimizeWindow" has a substantial delay since bug 1492499 landed
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(firefox-esr60 unaffected, firefox64 unaffected, firefox65 fixed, firefox66 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | fixed |
firefox66 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Keywords: perf, regression)
Attachments
(3 files)
Assignee | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Andreas Tolfsen ⦗:ato⦘ from comment #4)
We used to listen for the visibilitychange event in content through
ContentEventObserverService:
https://searchfox.org/mozilla-central/source/testing/marionette/dom.js#134
This works great locally. And this approach should even be Fission compatible, right? Or at least easily adaptable later when we have to do the refactoring.
Maybe it’s worth resurrecting this infrastructure (or remove it if
we don’t need it) and use a TimedPromise for configurations where
it doesn’t fire?
This sounds exactly as I would implement it. For systems on which we don't have the event we can certainly wait those 2 seconds.
Assignee | ||
Comment 6•6 years ago
|
||
Oh and note that the "visibilitychange" event is raised a couple of times. As such we would also need the DebounceCallback.
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ab507b25036a
https://hg.mozilla.org/mozilla-central/rev/826014440f86
https://hg.mozilla.org/mozilla-central/rev/9b52701eff7f
Assignee | ||
Comment 13•6 years ago
|
||
Please uplift this test-only patch to mozilla-beta to fix the regression.
Comment 14•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Updated•6 years ago
|
Updated•2 years ago
|
Description
•