Closed Bug 1794553 Opened 2 years ago Closed 2 years ago

"isReftestReady" determines states on possible detached browsing context

Categories

(Remote Protocol :: Marionette, defect, P1)

Default
defect
Points:
1

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m5])

Attachments

(1 file)

As discovered in bug 1791988 comment 1 the isReftestReady method determines the loading state based on the previously known browsing context. This will be broken if a navigation actually replaces the browsing context. As a good alternative the webProgress instance can be used instead. It will automatically update its internal browsing context reference in case of browsing context replacements.

Blocks: 1684664
Blocks: 1662808
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Blocks: webdriver:m5
Points: --- → 1
Priority: -- → P1
Whiteboard: [webdriver:m5]
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b93e030d7b3a
[marionette] isReftestReady has to check the navigation status based on the webProgress' browsing context. r=webdriver-reviewers,Sasha,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: