Closed Bug 1800737 Opened 2 years ago Closed 1 year ago

Simplify element staleness check

Categories

(Remote Protocol :: Marionette, enhancement, P1)

Default
enhancement
Points:
1

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [webdriver:m5])

Attachments

(1 file)

With the document.isActive() helper from bug 1779808 we can simplify our staleness checks of element nodes in Marionette by not having to compare to another window's document.

It's a simple change and shouldn't require any test changes. I would like to see this fixed before my changes on bug 1692468.

By using the document.isActive() helper it can be
more easily determined if a given element is in the
active document or not.

Blocks: 1790361
Points: --- → 1
Priority: -- → P1
Whiteboard: [webdriver:m5]
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a99223640727
[marionette] Simplify element staleness check. r=webdriver-reviewers,jgraham,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 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: