Commit Graph

7572 Commits

Author SHA1 Message Date
Gregory Szorc
8ea9191e05 Bug 875562 - Part 3b: Review fixups; r=me
--HG--
extra : rebase_source : 1bbadefa0a86dd3c56c038089242647027c88d8f
2014-01-29 09:46:39 -08:00
Jon Coppeard
cd6056507e Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Phil Ringnalda
13462a9aa2 Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm
765954b6ae Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
- Added buttons, JS to trigger logs to be generated.
- Added out params to return log paths.
- Added attributes to cycle collector interface to export log paths.

--HG--
extra : rebase_source : cbce2c62b577c820fd099706d72ab7b20992a00a
2014-01-31 14:43:08 -08:00
Aaron Klotz
fdb3440686 Bug 902587 - Part 4: Changes to telemetry memory reporting; r=njn,froydnj 2014-01-31 20:14:51 -07:00
Aaron Klotz
986d54094d Bug 902587 - Part 3: IO Interpose Reporter for Telemetry; r=froydnj 2013-12-09 21:30:06 -02:00
Matthew Noorenberghe
ffd1b41f11 Bug 917797 - Fix intermittent test_master_password.html with outer-window-destroyed. r=dolske 2014-01-31 12:39:52 -08:00
Ryan VanderMeulen
80b4682516 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Ryan VanderMeulen
ee08d977c1 Merge fx-team to m-c. 2014-01-30 16:23:01 -05:00
Henri Sivonen
bde9b85e96 Bug 959061 - Have only one "Chinese, Simplified" item in the Character Encoding menu. r=Unfocused. 2014-01-30 14:39:25 +02:00
Gijs Kruitbosch
06759240a2 Bug 936442 - part 1: refactor CharsetMenu to allow Australis code to use it, r=Unfocused 2014-01-27 11:56:04 +00:00
Roberto A. Vitillo
26740a0479 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-28 13:56:58 +00:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Roberto A. Vitillo
164498d7b4 Bug 962523 - Fix import statements in Telemetry. r=Yoric 2014-01-23 17:55:28 +00:00
Marco Bonardo
078ba03546 Back out Bug 894331 to solve browser hangs when deleting history. a=lsblakk 2013-11-13 09:45:41 -05:00
Ed Morley
dd1432c15c Merge mozilla-central and inbound 2014-01-29 10:39:41 +00:00
Jon Coppeard
b5a2f0569c Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Ryan VanderMeulen
2ae169c64e Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
David Rajchenbach-Teller
756f412a58 Bug 960509 - Load libSystem for MacOS X 32 bit. r=glandium 2014-01-28 08:50:34 -05:00
Peiyong Lin
fdf9000b3c Bug 827803 - [OS.File] Refine exception transmission across threads. r=Yoric 2014-01-28 08:50:33 -05:00
Vladan Djeric
2edff56a09 Bug 863122 - Add time since launch and time since system startup to chromehang report. r=nfroyd 2014-01-27 13:47:00 -08:00
Gregory Szorc
01fc60128d Bug 875562 - Part 3: XPCOM service for managing crash data; r=ted, bsmedberg
--HG--
extra : rebase_source : 4d4ce909634a079f1032c431bd639fef5b3f38ce
2014-01-23 15:49:24 -08:00
Raymond Lee
6f04e28484 Bug 886054 - Intermittent test_bookmarks_json.js | Test timed out. r=mak 2014-01-28 17:26:14 -05:00
Asaf Romano
8af98a8cd2 Bug 896193 - Adopt Promises in mozIAsyncLivemarks. r=mak. sr=gavin. 2013-11-20 12:00:02 +02:00
Gregory Szorc
f4f2d2baf5 Bug 875562 - Part 2: Create CrashManager API for managing crash data; r=ted, Yoric
The tree doesn't have a robust and reusable API for interfacing with
crash data. This patch is the start of a new API.

In this patch, the CrashManager type is introduced. It has APIs for
retrieving the lists of files related to crash dumps. In subsequent
patches, I will convert existing code in the tree that does similar
things to the new API. I will also build the events/timeline API onto
this type.

I made CrashManager generic because I hate, hate, hate singletons and
global variables. Allowing it to be instantiated multiple times with
different options (instead of say binding a global instance to ProfD)
makes the testing story much, much nicer. That is reason enough, IMO. In
a subsequent patch, I'll add an XPCOM service that instantiates the
"global" instance of CrashManager with the appropriate options.

It was tempting to add this code into the existing CrashReports.jsm.
However, this file does not import cleanly in xpcshell tests and I
didn't want to bloat scope to include fixing that file... yet.
CrashReports.jsm is using synchronous I/O. So, depending on how
adventerous I feel, I may replace consumers of CrashReports.jsm with the
new CrashManager.jsm, remove CrashReports.jsm, and eliminate another
source of synchronous I/O in the tree.

--HG--
extra : rebase_source : 379fa6a78b53bc0dea0c7c64e8b1bdcf85b61a7c
2013-11-19 14:08:25 -08:00
Gregory Szorc
0731f3e17d Bug 963327 - Improve profile-dependent handling of OS.Constants.Path; r=Yoric
Many properties in OS.Constants.Path are dependent on the profile being
available. This patch improves their handling.

Previously, we had some repeated and boilerplate code for making
OS.Constants.Paths.<prop> a lazy getter. This patch eliminates the
boilerplate by iterating over the properties that need to be lazy
getters.

AppData and UAppData are now lazy getters.

test_profiledir.js has been rolled into test_path_constants.js.

test_path_constants.js now emits a warning when a comparison doesn't
test anything. This should help identify ineffective tests going
forward.

--HG--
extra : rebase_source : d142c5fc78eb894f78f9ac8745de3413e4919f09
2014-01-24 11:34:30 -08:00
Ryan VanderMeulen
db3da3f56c Backed out changeset bafe9571f3e8 (bug 839794) for xpcshell failures. 2014-01-27 10:02:13 -05:00
David Rajchenbach-Teller
86f91eda18 Bug 962808 - [Session Restore] Better telemetry for _writeState. r=ttaubert 2014-01-27 08:27:35 -05:00
Carsten "Tomcat" Book
104b010efa Merge mozilla-central to fx-team 2014-01-27 14:18:40 +01:00
Roberto A. Vitillo
2a6f143916 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-23 17:47:53 +00:00
Jon Coppeard
7d118df1ce Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Terrence Cole
4a61834330 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink 2014-01-21 17:03:20 -08:00
Tim Taubert
72fd6e7d9d Bug 960903 - Broadcast session history data r=yoric 2014-01-20 17:37:41 +01:00
Mike Hommey
c80b8f5a48 Bug 960544 - Link some cppunittests against mozjs when it is a shared library. r=gps 2014-01-24 07:57:02 +09:00
Roberto A. Vitillo
e693ef643c Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00
Tim Taubert
910454863e merge m-c to fx-team 2014-01-23 10:57:35 +01:00
Neil Rashbrook
f2bc2857a3 Bug 284673 Followup to bug 913734 to remove sepcial handling for now-removed now-unused policy machinery from about:config r=gavin 2014-01-22 21:38:57 +00:00
Ryan VanderMeulen
2e12a5a8a9 Merge fx-team to m-c. 2014-01-22 15:32:22 -05:00
Masatoshi Kimura
22b25af0fd Bug 951028 - Fix NTFS permissions when a file is moved to a different directory. r=yoric,bbondy 2014-01-23 02:33:48 +09:00
Panos Astithas
71a3267914 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
David Rajchenbach-Teller
24262be0f1 Bug 916076 - Tests for OS.File telemetry. r=froydnj 2014-01-22 12:21:44 -05:00
David Rajchenbach-Teller
bb70164ba6 Bug 916076 - Add telemetry for OS.File. r=froydnj 2014-01-22 12:21:43 -05:00
Ms2ger
e05f12c82f Bug 956862 - Move some mochitests to manifests; r=mshal 2014-01-20 08:58:27 +01:00
Nicholas Hurley
dad483cf58 Bug 947745 - Clean up the seer database when it gets too big. r=honzab 2014-01-17 17:45:48 -08:00
Terrence Cole
20431f8abe Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Ryan VanderMeulen
ae06e02db1 Merge m-c to inbound. 2014-01-17 15:17:49 -05:00
Ryan VanderMeulen
5276fa28f6 Merge fx-team to m-c. 2014-01-17 14:56:13 -05:00
Ryan VanderMeulen
620be397c8 Merge inbound to m-c. 2014-01-17 14:46:52 -05:00
Tim Taubert
b9715baaa7 Bug 952092 - Get rid of post data in SessionStore r=smacleod
From 243232f7d2522e82622c031923271ed76ffdc42a Mon Sep 17 00:00:00 2001
2014-01-14 18:21:48 +01:00
Honza Bambas
93dc8536c3 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00