Closed Bug 1768913 Opened 3 years ago Closed 3 years ago

Don't send WINDOW_CONTENT_CHANGED when about:blank loads

Categories

(Core :: Disability Access APIs, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(1 file)

Before CTW, we would implicitly send WINDOW_CONTENT_CHANGED events when the viewport cache is first added. We need to do so explicitly when CTW is enabled.

The change I introduced in bug 1758811 would unconditionally send that event, when in reality it should only be sent when the document has children (ie, not about:blank).

Testing note - this enables junit tests to start and pass more reliably
when caching is enabled.

Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a368027a938 Don't send window content changed event when loaded about:blank. r=morgan
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: