Commit Graph

18372 Commits

Author SHA1 Message Date
Manish Goregaokar
1da0060e18 Bug 474527 - onbeforeaccept handler in a <prefwindow> can't prevent the window from closing; r=enndeakin,MattN
The majority of the patch was by Gavin Sharp.
2014-01-29 17:07:16 -08:00
Wes Kocher
09da54b27b Backed out changeset 7e243174acf5 (bug 964545) to fix a CLOSED TREE 2014-01-29 17:03:11 -08: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
Erik Vold
7359d72ccd Bug 964545 Add-on SDK page-mods are now debuggable r=dcamp
From 4e2794d4afedd6162aae2263c698c491b96d383e Mon Sep 17 00:00:00 2001
---
 addon-sdk/source/lib/sdk/content/sandbox.js        |  13 +-
 .../source/lib/sdk/deprecated/traits-worker.js     |   5 +-
 addon-sdk/source/lib/sdk/loader/sandbox.js         |  17 ++-
 addon-sdk/source/lib/sdk/tabs/utils.js             |   2 +-
 .../addons/page-mod-debugger-post/data/index.html  |   7 ++
 .../addons/page-mod-debugger-post/data/script.js   |   7 ++
 .../test/addons/page-mod-debugger-post/main.js     | 133 +++++++++++++++++++++
 .../addons/page-mod-debugger-post/package.json     |   4 +
 .../addons/page-mod-debugger-pre/data/index.html   |   7 ++
 .../addons/page-mod-debugger-pre/data/script.js    |   7 ++
 .../test/addons/page-mod-debugger-pre/main.js      | 128 ++++++++++++++++++++
 .../test/addons/page-mod-debugger-pre/package.json |   4 +
 addon-sdk/source/test/test-page-mod.js             |  34 ++++--
 toolkit/devtools/DevToolsExtensions.jsm            |  46 +++++++
 toolkit/devtools/server/actors/script.js           |  25 +++-
 toolkit/devtools/tests/mochitest/chrome.ini        |   1 +
 .../tests/mochitest/test_devtools_extensions.html  | 117 ++++++++++++++++++
 17 files changed, 537 insertions(+), 20 deletions(-)
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-post/data/index.html
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-post/data/script.js
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-post/main.js
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-post/package.json
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-pre/data/index.html
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-pre/data/script.js
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-pre/main.js
 create mode 100644 addon-sdk/source/test/addons/page-mod-debugger-pre/package.json
 create mode 100644 toolkit/devtools/DevToolsExtensions.jsm
 create mode 100644 toolkit/devtools/tests/mochitest/test_devtools_extensions.html
2014-01-27 23:21:31 -08:00
Hasse
bb83f570cf Bug 962648 - Ship LGPL-licensed Swedish dictionary. r=gerv 2014-01-28 18:56:49 +01:00
Marco Bonardo
2b6a854872 Bug 945707 - Pausing a download fails when done after a retry. r=paolo 2014-01-29 17:00:17 -05:00
Roberto A. Vitillo
6b7d9681c8 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-28 13:56:58 +00:00
Ryan VanderMeulen
c578705bd5 Merge b2g-inbound to m-c on a CLOSED TREE. 2014-01-29 15:37:19 -05:00
Ryan VanderMeulen
aa86b69add Merge fx-team to m-c on a CLOSED TREE. 2014-01-29 15:18:45 -05:00
Panos Astithas
8d9cdbe611 Ignore native event listeners without a type (bug 962724); r=vporof 2014-01-29 11:23:10 +02:00
Robert Strong
873d58fc12 Bug 964550 - Make marStageSuccessComplete.js, marStageSuccessPartial.js, and marAppInUseStageSuccessComplete_unix.js xpcshell tests pass on Mac. r=bbondy 2014-01-28 19:14:15 -08:00
Dimi Lee
6421638467 Bug 864931 - Rewrite net worker in C++. r=fabrice, r=vchang 2014-01-29 19:38:50 +08:00
Gijs Kruitbosch
60281808db Bug 944947 - Australis - fix binding and styling for wrapped toolbarbuttons to correctly hide/show wrapped labels, r=Enn
--HG--
extra : rebase_source : 30f5fd0fb1f4cbf8503390076dbf31df17f989e7
2014-01-24 09:39:31 +00:00
Raymond Lee
df39948ef0 Bug 886054 - Intermittent test_bookmarks_json.js | Test timed out. r=mak 2014-01-28 17:26:14 -05:00
Ryan VanderMeulen
56ad345355 Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
Neil Deakin
95de2e33ba Bug 941409, add support for an anchor attribute to menus so that the popup can be anchored to a different element than the menu itself, this is used to avoid repositioning the bookmarks toolbar button menu, also changes popups to default to vertical orientation [Australis] r=neil,mconley 2014-01-28 11:28:45 -05:00
Victor Porof
e051fa92a9 Bug 964700 - Fix test_safeErrorString.js xpcshell test, r=me 2014-01-28 18:25:25 +02:00
Victor Porof
1ea6e378f2 Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 12:31:51 +02:00
Girish Sharma
8bc1f3a4e7 Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 1 - No tests, r=anton, msucan, dcamp, robcee, harth 2014-01-28 20:38:41 +05:30
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
0801693d08 Merge m-c to inbound. 2014-01-27 15:24:00 -05:00
Ryan VanderMeulen
0c582fdc7d Merge fx-team to m-c. 2014-01-27 15:23:10 -05:00
Robert Strong
8041d84d08 Bug 963848 - head_update.js is copied to unit_service_updater even when MOZ_MAINTENANCE_SERVICE is not defined. r=bbondy 2014-01-27 10:35:43 -08:00
Robert Strong
2ff9ab403a Bug 963860 - fix macro redefinition when compiling TestAUSReadStrings.cpp. r=bbondy 2014-01-27 10:35:38 -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
Ed Morley
64d30f1fa3 Backed out changeset ad7fc270445d (bug 963327) for xpcshell failures on a CLOSED TREE 2014-01-27 17:19:01 +00:00
Gregory Szorc
cd7a42e4a6 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 : 971e2bd5f313de2b25090a67d20e101c859f4f4c
2014-01-24 11:34:30 -08:00
Carsten "Tomcat" Book
32d0fdaca7 Merge mozilla-central to fx-team 2014-01-27 14:18:40 +01:00
Carsten "Tomcat" Book
091f57627d merge fx-team to mozilla-central 2014-01-27 13:10:10 +01:00
Gijs Kruitbosch
544be39fe0 Bug 964064 - shortcuts should always be uppercase, r=Unfocused 2014-01-26 23:53:22 +00:00
Phil Ringnalda
16037dbea7 Merge m-i to m-c 2014-01-25 19:55:19 -08:00
Darrin Henein
bc1431d2dd Bug 960528 - Removed dotted outline from richlistbox as used in the Places modal -> Downloads list. r=dao 2014-01-25 17:14:08 +01:00
Jan Keromnes
8fc991b4cd Bug 961392 - B2G RemoteDebugger.start() and toolkit DebuggerServer.addBrowserActors() duplicate code. r=ochameau, r=past 2014-01-24 12:11:00 +02:00
Heather Arthur
035142a80a Bug 960095 - Remove extra saveStyleSheet.title entities from browser/devtools/styleeditor.properties. r=dcamp 2014-01-27 08:11:48 -05:00
Jed Parsons
463fd0d06e Bug 963674 - Remove xul appinfo from xpcshell tests. r=MattN 2014-01-24 13:23:21 -08:00
Roberto A. Vitillo
2485abe834 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-23 17:47:53 +00:00
Ryan VanderMeulen
be6dc78394 Merge fx-team to m-c. 2014-01-24 17:00:09 -05:00
Robert Strong
ed41489345 Bug 963282 - Stub blurbs during download aren't always a minimum of 3 lines. r=bbondy 2014-01-24 10:38:25 -08:00
Ryan VanderMeulen
fc454225d7 Backed out changeset 6febd7a30de3 (bug 962808) for mochitest-bc failures. 2014-01-24 13:26:07 -05:00
David Rajchenbach-Teller
29be2faeec Bug 962808 - [Session Restore] Better telemetry for _writeState. r=ttaubert 2014-01-24 10:47:54 -05:00
Jan-Ivar Bruaroey
f5c59c0f3f Bug 947665 - RTCP stats in getStats and about:webrtc. r=jesup 2014-01-21 14:00:06 -05:00
Carsten "Tomcat" Book
419465ab93 Merge mozilla-central to mozilla-inbound 2014-01-24 13:36:47 +01:00
Carsten "Tomcat" Book
9af03dcbd3 merge fx-team to mozilla-central 2014-01-24 13:09:46 +01:00