Commit Graph

51 Commits

Author SHA1 Message Date
Dave Townsend
4e522f7ffb Bug 1250611: Fix more tests to use signed add-ons. r=rhelmer
MozReview-Commit-ID: 97RVVxAM5eo
2016-02-29 10:04:55 -08:00
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08: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
Mike Conley
60e977ef87 Bug 1233497 - Do not resolve a Promise with a CPOW in browser_addonPerformanceAlerts.js r=Yoric 2016-01-04 17:15:24 -05:00
David Rajchenbach-Teller
2f4a196f41 Bug 1238520 - Lowering the threshold for browser_addonPerformanceAlerts_2.js;r=me 2016-01-12 10:51:47 +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
Sami Jaktholm
1dd19cb188 Bug 1230027 - Stop burnCPOWInSandbox from being GC'd during tests. r=yoric
Since no one is holding a reference to the burnCPOWInSandbox function
in the child process, it might get GC'd during the test. Binding it to
the global object should keep the function alive long enough for the
test to call it via CPOW.
2015-12-22 20:15:17 +02:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ehsan Akhgari
2ff01a2a00 Bug 1229950 - Increase the timeout of browser_AddonWatcher.js 2015-12-30 22:27:40 -05: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
8df2cada0d Bug 1186491 - An API for watching slow performance alerts (js-level);r=felipe 2015-11-24 13:37:19 +01:00
Mark Banner
e1e6f5c794 Bug 1227138 - Fix browser_AddonWatcher not to fail if system add-ons are present. r=Mossop 2015-11-23 19:45:24 +00:00
Bill McCloskey
c093571649 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-11-04 10:56:15 -08: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
David Rajchenbach-Teller
8d77a9b0c1 Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (JS-level);r=felipe 2015-09-25 18:44:34 +02:00
Carsten "Tomcat" Book
868b28d115 Backed out changeset 5b288d315423 (bug 1208747) 2015-10-21 11:39:21 +02:00
David Rajchenbach-Teller
03d4bcb70f Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (JS-level);r=felipe 2015-09-25 18:44:34 +02:00
Bill McCloskey
2a56c79f67 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Bill McCloskey
1159864e94 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
David Rajchenbach-Teller
9591e43cdd Bug 1189799 - Make sure that about:performance displays each add-on only once (more tests);r=felipe 2015-09-03 15:12:59 +02: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
Jonathan Griffin
4ab4581a0f Bug 1136892 - Create a browser-chrome-addons tag for running addon-specific browser-chrome tests, r=chmanchester 2015-08-25 09:38:39 -07:00
David Rajchenbach-Teller
0f1a30c9e3 Bug 1184486 - Let PerformanceStats.jsm play nicer with process-per-tab. r=mconley 2015-07-16 12:19:17 +02:00
Ryan VanderMeulen
0ba883337d Backed out changeset 82fac7af188e (bug 1184486) for Static Analysis failures. 2015-07-29 09:11:52 -04:00
David Rajchenbach-Teller
1b943fd2f1 Bug 1184486 - Let PerformanceStats.jsm play nicer with process-per-tab. r=mconley 2015-07-16 12:19:17 +02:00
David Rajchenbach-Teller
005b7ffaf6 Bug 1147664 - Detailed mode for PerformanceStats (high-level). r=mossop 2015-06-12 21:52:06 +02:00
Wes Kocher
042e3e091c Backed out 2 changesets (bug 1147664) for b2g xpcshell failures in test_compartments.js
Backed out changeset cfd27d5ffc58 (bug 1147664)
Backed out changeset cace9a3246c1 (bug 1147664)
2015-07-23 18:39:43 -07:00
David Rajchenbach-Teller
44b387d6f4 Bug 1147664 - Detailed mode for PerformanceStats (high-level). r=felipe 2015-06-12 21:52:06 +02:00
Ryan VanderMeulen
47fb0f3f04 Backed out changesets 49667763013b and 83fa8af8140b (bug 1147664) for test_compartments.js xpcshell failures. 2015-07-23 11:35:55 -04:00
David Rajchenbach-Teller
09d5857c54 Bug 1147664 - Detailed mode for PerformanceStats (high-level). r=mossop 2015-06-12 21:52:06 +02:00
Ryan VanderMeulen
3cf75b379d Backed out changesets 9eb2e0c7b864 and 19bdfb755eeb (bug 1147664) for various test failures. 2015-07-22 13:18:54 -04:00
David Rajchenbach-Teller
b01122346b Bug 1147664 - Detailed mode for PerformanceStats (high-level). r=mossop 2015-06-12 21:52:06 +02:00
David Rajchenbach-Teller
b31412d6b3 Bug 1175098 - PerformanceStats for e10s. r=felipe, r=mconley
CLOSED TREE
2015-06-16 14:26:11 +02:00
Ryan VanderMeulen
503e8c046c Backed out changeset 653179afb65f (bug 1175098) for frequent WinXP browser_compartments.js failures.
CLOSED TREE
2015-07-15 21:28:00 -04:00
David Rajchenbach-Teller
ae61b679d3 Bug 1175098 - PerformanceStats for e10s. r=felipe, r=mconley 2015-06-16 14:26:11 +02:00
Ryan VanderMeulen
9905a022fe Backed out changeset 0a0302b9ed20 (bug 1175098) for e10s browser_compartments.js failures. 2015-07-13 11:46:45 -04:00
David Rajchenbach-Teller
d3c99c49d1 Bug 1175098 - PerformanceStats for e10s. r=felipe, r=mconley 2015-06-16 14:26:11 +02:00
David Rajchenbach-Teller
7f158ab368 Bug 1157870 - Performance Groups should have a unique ID (high-level). r=mossop 2015-05-18 16:40:34 +02:00
David Rajchenbach-Teller
9940453e73 Bug 1156264 - Activate/deactivate jank and CPOW monitoring separately (high-level). r=mossop 2015-06-04 13:12:27 +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
902d7aebd5 Bug 1149486 - Extract a window title and window ID for PerformanceStats. r=mossop 2015-05-18 10:40:20 +02:00
Ryan VanderMeulen
8b6b195d54 Backed out changesets da71c4aefb3a and 98603c32c9a3 (bug 1149486) for browser_compartments.js permafail.
CLOSED TREE
2015-05-29 12:59:23 -04:00
David Rajchenbach-Teller
0ad0390e27 Bug 1149486 - Extract a window title and window ID for PerformanceStats. r=mossop 2015-05-18 10:40:20 +02:00
David Rajchenbach-Teller
8eace89761 Bug 1151240 - Deactivating browser_components sanity check under Windows. r=yoric 2015-04-23 16:32:41 +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
9af4b0194d Bug 1153658 - browser_compartments.js logspam. r=yoric 2015-04-13 17:42:58 +02:00
Ryan VanderMeulen
125c120695 Merge inbound to m-c. a=merge 2015-04-17 15:44:37 -04:00