Closed Bug 1171245 Opened 9 years ago Closed 9 years ago

Include changes attributes in TabAttrModified event

Categories

(Firefox :: Tabbed Browser, defect)

34 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: billm, Assigned: billm)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patch (deleted) — Splinter Review
I'm trying to write an event listener that fires only when the favicon of a tab changes. This is associated with the TabAttrModified event, but that also fires in other cases. So I added some details to the event that say which attributes changed.
Attachment #8614965 - Flags: review?(ttaubert)
Comment on attachment 8614965 [details] [diff] [review] patch Review of attachment 8614965 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/tabbrowser.xml @@ +1167,5 @@ > }); > this.mCurrentTab.dispatchEvent(event); > > + this._tabAttrModified(oldTab, []); > + this._tabAttrModified(this.mCurrentTab, []); Should dispatch that the "selected" attribute changed here.
Attachment #8614965 - Flags: review?(ttaubert) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: