Closed Bug 2013822 Opened 1 month ago Closed 1 month ago

Wait for navigation-committed event for navigation to error page

Categories

(Remote Protocol :: WebDriver BiDi, defect, P3)

defect
Points:
2

Tracking

(firefox148 fixed, firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox148 --- fixed
firefox149 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [webdriver:m19][webdriver:relnote])

Attachments

(2 files)

See Bug 1984535. In case of a navigation which redirects to an error page, the document might not be ready when resolving because we currently resolve immediately on location change.

Instead we should wait for navigation-committed. Although we need to be careful to wait for the correct navigation committed event, because we might already have received one for the original URL (before the error redirect).

When a navigation redirects to an error page we should still wait for the navigation committed
event to make sure the document is ready to be used.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Severity: -- → S3
Points: --- → 2
Priority: -- → P3
Whiteboard: [webdriver:m19]
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

firefox-beta Uplift Approval Request

  • User impact if declined: Frequent intermittents tracked in Bug 1984535
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: N/A
  • Risk associated with taking this patch: low
  • Explanation of risk level: WebDriver BiDi only, and only updating the logic related to navigations which lead to an error page.
  • String changes made/needed: N/A
  • Is Android affected?: yes
Attachment #9542407 - Flags: approval-mozilla-beta?

When a navigation redirects to an error page we should still wait for the navigation committed
event to make sure the document is ready to be used.

Original Revision: https://phabricator.services.mozilla.com/D281390

Attachment #9542407 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [webdriver:m19] → [webdriver:m19][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: