Closed Bug 1764750 Opened 3 years ago Closed 2 years ago

[CTW] Document sometimes keeps stale state

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Sometimes with CTW, a document gets the stale state and keeps it forever. We expose the stale state on documents until the DOM is fully loaded. When this problem happens, I think the cache gets pushed while the stale state is present, but since we don't fire state changes for that state, it never gets cleared.

We fire a document load complete event when the DOM is loaded, so I think we can use this to clear the stale state from the cache.

I don't think this is very important right now, as I don't know of anyone who uses the stale state on documents.

Assignee: nobody → jteh
Status: NEW → ASSIGNED
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/052b0a5bae81 Clear the stale state on cached DocAccessibleParents when the document finishes loading. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: