Closed Bug 1346145 Opened 8 years ago Closed 8 years ago

Label nsIDocument::SelectorCache

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: bevis, Assigned: bevis)

References

Details

Attachments

(1 file)

The SelectorCache::NotifyExpired() will be run by the nsExpirationTracker::TimerCallback which is unlabeled according to the analysis in bug 1333984 comment 10: > (u'nsIDocument::SelectorCache', 284) I like to take this bug as an example of how to label nsExpirationTracker by the change will be done in bug 1345464. The bonus of this bug is that the anonymous Runnable of SelectorCacheKeyDeleter dispatched in SelectorCache::NotifyExpired() will also be labeled to reduce the number of anonymous runnables in the telemetry report in bug 1333984! :)
Depends on: 1332491
SelectorCache::NotifyExpired() will be invoked by nsExpirationTracker::TimerCallback() from an unlabel runnable(nsITimer). We adopt the change in nsExpirationTracker from bug 1345464 to provide a DocGroup EventTarget for the invocation of this callback. Hi Ehsan, May I have your review for this change? Thanks!
Attachment #8846524 - Flags: review?(ehsan)
Note: The SelectorCacheKeyDeleter runnable will be removed in bug 1332491.
Attachment #8846524 - Flags: review?(ehsan) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: