Commit Graph

7554 Commits

Author SHA1 Message Date
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
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
Terrence Cole
f017da90d9 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Jon Coppeard
a0e2da1d9c Bug 960544 - Always export rooting APIs and stop linking unit tests against JS library r=glandium 2014-01-17 10:18:19 +00:00
Xavier Fung
491ff4ca2f Bug 892856 - Fix protobuf to build with VS2013 v2. r=mmc 2014-01-18 02:17:51 +09:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Gian-Carlo Pascutto
fab9cbb122 Bug 783047 - Update Application Reputation test for new SB interface. r=mmc 2014-01-16 09:27:59 +01:00
Gian-Carlo Pascutto
678476e864 Bug 783047 - Update tests to remove MAC support for SafeBrowsing. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Gian-Carlo Pascutto
1bcb47660a Bug 783047 - Use HTTPS to download SafeBrowsing update chunks. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Gian-Carlo Pascutto
87ba1b8817 Bug 783047 - Remove MAC support from SafeBrowsing code. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Andrea Marchesini
bfbfe3fb50 Bug 959684 - Implement URLSearchParams stringifier. r=ehsan 2014-01-15 09:50:18 -05:00
Wes Kocher
2b6b5c7c0f Merge inbound to m-c 2014-01-14 15:24:45 -08:00
Sachin Hosmani
069b0b1b39 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
bde0b0ec9d Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Carsten "Tomcat" Book
33ad3c995d Merge mozilla-central to fx-team 2014-01-14 16:02:20 +01:00
Roberto A. Vitillo
c451ab67ee Bug 913070 - Move TelemetryPing to a jsm. r=Yoric, r=glandium
--HG--
rename : toolkit/components/telemetry/TelemetryPing.js => toolkit/components/telemetry/TelemetryPing.jsm
2014-01-13 14:20:09 +00:00
Brian Smith
225d0f3c9e Bug 959026: Add telemetry about cases where we don't do OCSP fetching when we expect to, r=keeler
--HG--
extra : rebase_source : f7e9826569325f497273a92eec5127c414baa8bc
extra : source : bb5bb5a1b571e54695a4c8d5be0cc447f29f0358
2014-01-12 19:31:40 -08:00
Nicholas Hurley
f03fecf6c1 Bug 948205 - Rename seer.sqlite (and fixup schema in the process). r=mcmanus r=vladan 2014-01-13 17:57:46 -08:00
Ryan VanderMeulen
4d0972315d Merge inbound to m-c. 2014-01-13 17:44:24 -05:00
Sumit Agrawal
28be2ce286 Bug 958354 - OS.Constants.Path should expose UAppData. r=Yoric 2014-01-13 08:45:20 -05:00