Allow to return from waitForInitialNavigationCompleted when page started loading
Categories
(Remote Protocol :: Agent, enhancement, P2)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [bidi-m3-mvp])
Attachments
(2 files)
Right now the method waitForInitialNavigationCompleted()
does not support page load strategies and might cause issues for specific restart tests which want to have control before the page has been finished loading.
I would also like to have a way to override the default behavior of normal
with none
for emitting browsingContext.contextCreated
events (bug 1694389). Given that for a onStateChange
notification from the WebProgress there is already the information about the target URI (without possible redirects) which can be retrieved via the request
argument, and would allow us to immediately return without having to wait for the page being loaded.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Actually this shared module will be available for all the protocols. As such it cannot support the PageLoadStrategy which is only a thing for WebDriver. Instead we can you a plain boolean.
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D137103
Updated•3 years ago
|
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b70ae39e1c4 [remote] Allow to return from waitForInitialNavigationCompleted when load started. r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/66cdd1411b5a [marionette] Improve tests for PageLoadStrategy "none" in test_navigation.py. r=webdriver-reviewers,jgraham
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9b70ae39e1c4
https://hg.mozilla.org/mozilla-central/rev/66cdd1411b5a
Description
•