waitForNavigation might return too early in Navigate.jsm
Categories
(Remote Protocol :: WebDriver BiDi, defect, P1)
Tracking
(firefox107 fixed)
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m5])
Attachments
(1 file)
With the current implementation from Bug 1730642, when we perform two navigations using wait=none the second navigation will return too early because we the webprogress will already be with isLoadingDocument = true and we will not properly wait for the next navigation to start.
To fix this we should check #waitForExplicitStart
at https://searchfox.org/mozilla-central/rev/fbb1e8462ad82b0e76b5c13dd0d6280cfb69e68d/remote/shared/Navigate.jsm#209 and add more tests.
Comment 1•2 years ago
|
||
This is probably very similar or even identical to bug 1763108. But lets add as see also for now.
Assignee | ||
Comment 2•2 years ago
|
||
Good point, it is similar and might become a non-issue depending on what we decide with bug 1763108. But it could be interesting to fix the underlying issue in Navigate.jsm.
In Navigate.jsm terms, the bug is actually that if you create a ProgressListener
with both resolveWhenStarted = true
and waitForExplicitStart = true
, the listener will return too soon if there is already a loading document.
Comment 3•2 years ago
|
||
I see. Could you then update the bugs summary so it reflects this particular scenario? We can then take bug 1763108 for the general use case.
Comment 4•2 years ago
|
||
The severity field is not set for this bug.
:whimboo, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/496f1ec38f36 [remote] ProgressListener should not resolve early if waitForExplicitStart is true r=webdriver-reviewers,whimboo
Comment 7•1 year ago
|
||
bugherder |
Description
•