Commit Graph

7572 Commits

Author SHA1 Message Date
Gregory Szorc
f7fdf274a0 Bug 875562 - Part 3b: Review fixups; r=me
--HG--
extra : rebase_source : 1bbadefa0a86dd3c56c038089242647027c88d8f
2014-01-29 09:46:39 -08:00
Jon Coppeard
50e1f34d5a Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Phil Ringnalda
808b00705b Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm
1f07d87838 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
c1359e2176 Bug 902587 - Part 4: Changes to telemetry memory reporting; r=njn,froydnj 2014-01-31 20:14:51 -07:00
Aaron Klotz
43f511761e Bug 902587 - Part 3: IO Interpose Reporter for Telemetry; r=froydnj 2013-12-09 21:30:06 -02:00
Matthew Noorenberghe
c67ed04bdf Bug 917797 - Fix intermittent test_master_password.html with outer-window-destroyed. r=dolske 2014-01-31 12:39:52 -08:00
Ryan VanderMeulen
fef07c2712 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Ryan VanderMeulen
51a0bb8010 Merge fx-team to m-c. 2014-01-30 16:23:01 -05:00
Henri Sivonen
750178f54e 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
0f268638e2 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
6b7d9681c8 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-28 13:56:58 +00:00
Birunthan Mohanathas
e81a8f702d 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
c13a2f7d60 Bug 962523 - Fix import statements in Telemetry. r=Yoric 2014-01-23 17:55:28 +00:00
Marco Bonardo
9f00e88345 Back out Bug 894331 to solve browser hangs when deleting history. a=lsblakk 2013-11-13 09:45:41 -05:00
Ed Morley
92aa154f50 Merge mozilla-central and inbound 2014-01-29 10:39:41 +00:00
Jon Coppeard
e5c29b7f9d Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Ryan VanderMeulen
56ad345355 Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
David Rajchenbach-Teller
ead1acaf24 Bug 960509 - Load libSystem for MacOS X 32 bit. r=glandium 2014-01-28 08:50:34 -05:00
Peiyong Lin
61fcc9f3f4 Bug 827803 - [OS.File] Refine exception transmission across threads. r=Yoric 2014-01-28 08:50:33 -05:00
Vladan Djeric
82975cbb38 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
2c12c3f4d1 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
df39948ef0 Bug 886054 - Intermittent test_bookmarks_json.js | Test timed out. r=mak 2014-01-28 17:26:14 -05:00
Asaf Romano
a0f6c64de5 Bug 896193 - Adopt Promises in mozIAsyncLivemarks. r=mak. sr=gavin. 2013-11-20 12:00:02 +02:00
Gregory Szorc
72d5471898 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
bc5249e654 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
3aea742753 Backed out changeset bafe9571f3e8 (bug 839794) for xpcshell failures. 2014-01-27 10:02:13 -05:00
David Rajchenbach-Teller
d1cb923001 Bug 962808 - [Session Restore] Better telemetry for _writeState. r=ttaubert 2014-01-27 08:27:35 -05:00
Carsten "Tomcat" Book
32d0fdaca7 Merge mozilla-central to fx-team 2014-01-27 14:18:40 +01:00
Roberto A. Vitillo
2485abe834 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-23 17:47:53 +00:00
Jon Coppeard
4a76452c21 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
2ff953ff6d Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink 2014-01-21 17:03:20 -08:00
Tim Taubert
10b047742e Bug 960903 - Broadcast session history data r=yoric 2014-01-20 17:37:41 +01:00
Mike Hommey
16dd2084d8 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
c94e7dddf3 Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00
Tim Taubert
7bfc5b8029 merge m-c to fx-team 2014-01-23 10:57:35 +01:00
Neil Rashbrook
6277f3bb76 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
a88518f0d8 Merge fx-team to m-c. 2014-01-22 15:32:22 -05:00
Masatoshi Kimura
7a1128e69c 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
97a45e85f9 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
9d3f6ec799 Bug 916076 - Tests for OS.File telemetry. r=froydnj 2014-01-22 12:21:44 -05:00
David Rajchenbach-Teller
141d8822da Bug 916076 - Add telemetry for OS.File. r=froydnj 2014-01-22 12:21:43 -05:00
Ms2ger
c86c6fd49b Bug 956862 - Move some mochitests to manifests; r=mshal 2014-01-20 08:58:27 +01:00
Nicholas Hurley
2674a1f7ec Bug 947745 - Clean up the seer database when it gets too big. r=honzab 2014-01-17 17:45:48 -08:00
Terrence Cole
10295353cd 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
b22c58d0be Merge m-c to inbound. 2014-01-17 15:17:49 -05:00
Ryan VanderMeulen
06a9792760 Merge fx-team to m-c. 2014-01-17 14:56:13 -05:00
Ryan VanderMeulen
f37a81f5e9 Merge inbound to m-c. 2014-01-17 14:46:52 -05:00
Tim Taubert
8fafa9176a 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
d779f0e193 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00