Jared Wein
d3e296107e
Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
...
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
J. Ryan Stinnett
e7d6c84c0a
Bug 1204127 - Clean up paths added after migration. r=ochameau
2016-02-08 17:32:07 -06:00
David Rajchenbach-Teller
8402fc035a
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.
--HG--
extra : transplant_source : %C2%88%B1%DF%B2%B2.%A7%C7Ti%C8%A8%C0%CA0%15f%8D%C5
2016-01-27 13:34:58 +01:00
David Rajchenbach-Teller
e60fcbe3af
Bug 1241838 - Removing erroneous CPOW suffix, reworking buggy jank suffix;r=Felipe
...
--HG--
extra : rebase_source : 9cdc31a93a8e89a618c32fac70ffcc02beeb428e
2016-01-22 12:58:21 +01:00
David Rajchenbach-Teller
165537290b
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.
--HG--
extra : rebase_source : d61bf85407493551618ff0b7866ef15267cafd06
2015-12-15 11:21:37 +01:00
Wes Kocher
42614dcf9a
Backed out changeset b94d7e7648e1 (bug 1200169) for frequent browser_AddonWatcher.js failures CLOSED TREE
...
--HG--
extra : commitid : 74M37BsgWfU
2016-01-05 14:26:22 -08:00
David Rajchenbach-Teller
2b6f00954d
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.
--HG--
extra : rebase_source : 7c2a875cc0b68eb2e212abdd6a7c1cf8e30c774e
2015-12-15 11:21:37 +01:00
David Rajchenbach-Teller
477881cc13
Bug 1186491 - Reworking AddonWatcher to use low-level performance watch API;r=mossop
...
--HG--
extra : transplant_source : %CD%F4D%A6%85%FDF%7F%9E%D7%CEwS%9Bq%DE%07%9B4%EC
2015-11-24 13:36:58 +01:00
David Rajchenbach-Teller
ec335abb8b
Bug 1188248 - Merge jank monitoring and CPOW monitoring (high-level);r=mossop
...
--HG--
extra : transplant_source : %7D%B7k%02.%09%9D%40%93%CB%DDm%1C%EE%27e%1D%02k%10
2015-07-30 15:21:08 +02:00
Alexandre Poirot
89cb263b54
Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
...
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
David Rajchenbach-Teller
e28a2a27f5
Bug 1189799 - Make sure that about:performance displays each add-on only once (back-end);r=felipe
...
--HG--
extra : transplant_source : %8A%95z%C5D%DEM%94%0Ak%82%CB%F7%187%071%C1%21%9C
2015-08-25 17:05:02 +02:00
David Rajchenbach-Teller
a28b7ebc97
Bug 1205840 - Typo fixes in AddonWatcher.jsm. r=felipe
...
--HG--
extra : transplant_source : %D4%8F%A4%40%90a%25%E2%8E%DD%3Er%D5%25%1D%0B%F9%DC%3D%8A
2015-09-19 15:46:17 +02:00
J. Ryan Stinnett
efe328f1b2
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.
--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Shu-yu Guo
64db2267cf
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
3cb65b0a65
Bug 1200172 - AddonWatcher now discards data if the system is apparently too busy/just back from hibernation. r=mossop
...
--HG--
extra : amend_source : 6f67dfb0d6f1375c72e05274d5dbf1c581e8eb3c
extra : transplant_source : %0Ag%AFJe%0C%DB%9Er%15%99%7E%90%19%C1%AB%EBv%25%99
2015-08-31 16:03:19 +02:00
David Rajchenbach-Teller
6ed2708de0
Bug 1200138 - AddonWatcher now uses groupId to subtract between two instances of an add-on. r=felipe
...
--HG--
extra : transplant_source : %5D%E0%5D%FF%FA%BB%8D%A9%16%E4%09%BE%87P%07%E2%11f%FA%C9
2015-08-31 10:20:19 +02:00
David Rajchenbach-Teller
1d6d8d3af7
Bug 1154239 - Rework PerformanceStats.jsm for modularity and asynchronicity. r=Mossop
...
--HG--
extra : transplant_source : %05%89%E3p%14LB%0D1%7B%F9%A6%7C%D3%FF%AD%117%BB%3A
2015-04-14 16:29:40 +02:00
David Rajchenbach-Teller
e6c63284fa
Bug 1152950 - AddonWatcher should not inform the user at the first infraction. r=mossop
...
--HG--
extra : amend_source : 1a55b38db5051052af69d4b4cd1b3f5c7377e3a6
extra : transplant_source : I%94%B8%3E%DA%99yc%5DU5%3Bg%DB%3C%BE%22%BF4%DF
2015-04-10 10:28:31 +02:00
David Rajchenbach-Teller
5bbc9a303f
Bug 1157471 - AddonWatcher console noise. r=yoric
...
--HG--
extra : rebase_source : b5213a23c7ff096924ad7a560b564fabbb0d01c5
2015-04-23 12:35:00 +02:00
David Rajchenbach-Teller
742c76ab81
Bug 1151750 - about:performance now recapitulates alerts. r=mossop
2015-04-09 23:20:35 +02:00
David Rajchenbach-Teller
b7c5568999
Bug 1152759 - Regroup Performance Monitoring modules/components;r=yoric
...
--HG--
rename : toolkit/modules/AddonWatcher.jsm => toolkit/components/perfmonitoring/AddonWatcher.jsm
rename : toolkit/modules/PerformanceStats.jsm => toolkit/components/perfmonitoring/PerformanceStats.jsm
rename : toolkit/components/aboutperformance/nsIPerformanceStats.idl => toolkit/components/perfmonitoring/nsIPerformanceStats.idl
rename : toolkit/components/aboutperformance/nsPerformanceStats.cpp => toolkit/components/perfmonitoring/nsPerformanceStats.cpp
rename : toolkit/components/aboutperformance/nsPerformanceStats.h => toolkit/components/perfmonitoring/nsPerformanceStats.h
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
rename : toolkit/modules/tests/browser/browser_Addons_sample.xpi => toolkit/components/perfmonitoring/tests/browser/browser_Addons_sample.xpi
rename : toolkit/components/aboutperformance/tests/browser/browser_compartments.html => toolkit/components/perfmonitoring/tests/browser/browser_compartments.html
rename : toolkit/components/aboutperformance/tests/browser/browser_compartments.js => toolkit/components/perfmonitoring/tests/browser/browser_compartments.js
rename : toolkit/components/aboutperformance/tests/xpcshell/test_compartments.js => toolkit/components/perfmonitoring/tests/xpcshell/test_compartments.js
rename : toolkit/components/aboutperformance/tests/xpcshell/xpcshell.ini => toolkit/components/perfmonitoring/tests/xpcshell/xpcshell.ini
2015-04-14 17:10:04 +02:00