Commit Graph

20 Commits

Author SHA1 Message Date
J. Ryan Stinnett
93670c52c7 Bug 1204127 - Clean up paths added after migration. r=ochameau 2016-02-08 17:32:07 -06:00
David Rajchenbach-Teller
ef64065ed8 Bug 1142937 - AddonWatcher now communicates through nsIObserverService. r=felipe
The current API of AddonWatcher only supports a single callback. That's pretty unfriendly to testing, debugging, add-ons, etc.

This patch replaces the mechanism with a notification through the nsIObserverService.
2016-01-27 13:34:58 +01:00
David Rajchenbach-Teller
df4de030a5 Bug 1241838 - Removing erroneous CPOW suffix, reworking buggy jank suffix;r=Felipe 2016-01-22 12:58:21 +01:00
David Rajchenbach-Teller
bc40798d63 Bug 1200169 - Making the slow add-on watcher more tolerant;r=Felipe
Showing alerts more than once is annoying for the user and basically
useless. We therefore change a bit our strategy:

- if an add-on has behaved correctly for the last 5 minutes, reset our counter of offences;
- don't display alerts for an add-on more than once per 6 hours.

The only exception is if the add-on freezes the browser (i.e. causes
it to stop for more than 5 seconds at a time), in which case we
display the alert regardless of past offences, up to once per 10
minutes.
2015-12-15 11:21:37 +01:00
Wes Kocher
0f2020d9bd Backed out changeset b94d7e7648e1 (bug 1200169) for frequent browser_AddonWatcher.js failures CLOSED TREE 2016-01-05 14:26:22 -08:00
David Rajchenbach-Teller
444cad3caa Bug 1200169 - Making the slow add-on watcher more tolerant;r=Felipe
Showing alerts more than once is annoying for the user and basically
useless. We therefore change a bit our strategy:

- if an add-on has behaved correctly for the last 5 minutes, reset our counter of offences;
- don't display alerts for an add-on more than once per 6 hours.

The only exception is if the add-on freezes the browser (i.e. causes
it to stop for more than 5 seconds at a time), in which case we
display the alert regardless of past offences, up to once per 10
minutes.
2015-12-15 11:21:37 +01:00
David Rajchenbach-Teller
4202706f19 Bug 1186491 - Reworking AddonWatcher to use low-level performance watch API;r=mossop 2015-11-24 13:36:58 +01:00
David Rajchenbach-Teller
75fe7ea33c Bug 1188248 - Merge jank monitoring and CPOW monitoring (high-level);r=mossop 2015-07-30 15:21:08 +02:00
Alexandre Poirot
f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
David Rajchenbach-Teller
5df0e0f41f Bug 1189799 - Make sure that about:performance displays each add-on only once (back-end);r=felipe 2015-08-25 17:05:02 +02:00
David Rajchenbach-Teller
9a1e6b3488 Bug 1205840 - Typo fixes in AddonWatcher.jsm. r=felipe 2015-09-19 15:46:17 +02:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
David Rajchenbach-Teller
f3bbfacecd Bug 1200172 - AddonWatcher now discards data if the system is apparently too busy/just back from hibernation. r=mossop 2015-08-31 16:03:19 +02:00
David Rajchenbach-Teller
e95e947504 Bug 1200138 - AddonWatcher now uses groupId to subtract between two instances of an add-on. r=felipe 2015-08-31 10:20:19 +02:00
David Rajchenbach-Teller
6840ca9ae7 Bug 1154239 - Rework PerformanceStats.jsm for modularity and asynchronicity. r=Mossop 2015-04-14 16:29:40 +02:00
David Rajchenbach-Teller
71f772d6bd Bug 1152950 - AddonWatcher should not inform the user at the first infraction. r=mossop 2015-04-10 10:28:31 +02:00
David Rajchenbach-Teller
43f0cc7c33 Bug 1157471 - AddonWatcher console noise. r=yoric 2015-04-23 12:35:00 +02:00
David Rajchenbach-Teller
eb027f132d Bug 1151750 - about:performance now recapitulates alerts. r=mossop 2015-04-09 23:20:35 +02:00
David Rajchenbach-Teller
8a206c0d34 Bug 1152759 - Regroup Performance Monitoring modules/components;r=yoric 2015-04-14 17:10:04 +02:00