Commands should not call "this.listener.switchToFrame" and "this.listener.setBrowsingContextId" unconditionally
Categories
(Remote Protocol :: Marionette, task, P1)
Tracking
(Fission Milestone:M7, firefox85 fixed)
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [marionette-fission-mvp][simple])
Attachments
(2 files)
Right now WebDriver:NavigateTo
and WebDriver:Refresh
update the browsing context to the top-level one before triggering the navigation. Right now this gets done unconditionally via this.listener.switchToFrame
even when actors are enabled:
For those two calls we add the condition for MarionettePrefs.useActors
and call into the actor specific method instead.
Further WebDriver:SwitchToFrame
and WebDriver:SwitchToParentFrame
are setting the id of the content browsing context:
Here we might even not need the calls anymore given that all the commands including the page load events are now implemented via actors. So these lines might be removed completely.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Tracking marionette-fission-mvp bugs for Fission Beta milestone (M7).
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
With all the commands implemented by the MarionetteCommands
JSWindowActor pair there is no need anymore to update the
framescript when actors are enabled.
Depends on D97177
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49e3414e9200
https://hg.mozilla.org/mozilla-central/rev/311ceb127ade
Comment 6•4 years ago
|
||
== Change summary for alert #27776 (as of Fri, 20 Nov 2020 10:39:15 GMT) ==
Improvements:
Ratio | Suite | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|---|
1% | Base Content JS | windows10-64-shippable | 2,789,792.00 -> 2,772,101.33 | ||
1% | Base Content JS | windows10-64-shippable | 2,784,627.00 -> 2,767,590.00 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=27776
Updated•2 years ago
|
Description
•