Closed Bug 1686497 Opened 5 years ago Closed 5 years ago

Messages with triggers cause trigger listeners to initialize multiple times

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: andreio, Assigned: andreio)

Details

Attachments

(1 file)

Currently we call the .init function of every trigger (when defined).
This makes sense for openURL where we accumulate more URLs but for others it is a bug

  • moments trigger will add multiple setIntervals
  • whatsNew will evaluate multiple times which is wasteful).
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9c4808ed482 Messages with triggers cause trigger listeners to initialize multiple times r=nanj
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: