DocumentStatesChanged should not unconditionally notify if the state hasn't actually changed.

RESOLVED FIXED in Firefox 68

Status

()

defect
RESOLVED FIXED
2 months ago
2 months ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

unspecified
mozilla68
Points:
---

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(2 attachments)

It just does wasted work.

Assignee

Comment 1

2 months ago

It just does wasted work. The new setup is also much more similar to the one
used for element states.

Assignee

Comment 2

2 months ago

It's a bit useless, only has one implementation. Call into the shell directly
instead.

Comment 3

2 months ago
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/744c4e052127
DocumentStatesChanged should not unconditionally notify if the state hasn't actually changed. r=smaug

Comment 4

2 months ago
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0300023c259f
Remove nsIDocumentObserver::DocumentStatesChanged. r=smaug

Comment 5

2 months ago
bugherder
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.