Commit Graph

22982 Commits

Author SHA1 Message Date
Wes Kocher
8219cd76a3 Backed out changeset 7e243174acf5 (bug 964545) to fix a CLOSED TREE 2014-01-29 17:03:11 -08:00
Gijs Kruitbosch
9fd4ab18f7 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
98b60e1d4d Bug 964545 Add-on SDK page-mods are now debuggable r=dcamp
From 4e2794d4af 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
bb2e7d4783 Bug 962648 - Ship LGPL-licensed Swedish dictionary. r=gerv 2014-01-28 18:56:49 +01:00
Marco Bonardo
3a79e9b75a Bug 945707 - Pausing a download fails when done after a retry. r=paolo 2014-01-29 17:00:17 -05:00
Roberto A. Vitillo
34594fb0bf Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-28 13:56:58 +00:00
Ryan VanderMeulen
b1a8bf2257 Merge b2g-inbound to m-c on a CLOSED TREE. 2014-01-29 15:37:19 -05:00
Ryan VanderMeulen
ca1ee51da5 Merge fx-team to m-c on a CLOSED TREE. 2014-01-29 15:18:45 -05:00
Panos Astithas
478bf72a6a Ignore native event listeners without a type (bug 962724); r=vporof 2014-01-29 11:23:10 +02:00
Robert Strong
67d6e3f2e8 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
9f240876a9 Bug 864931 - Rewrite net worker in C++. r=fabrice, r=vchang 2014-01-29 19:38:50 +08:00
Gijs Kruitbosch
6617f6491c 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
Jon Coppeard
4df3aa4450 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Phil Ringnalda
63ca0614b6 Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm
d7d546ac18 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
Fabrice Desré
5a5fa6d369 Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Fabrice Desré
89b53518cc Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Raymond Lee
986a6a3cfc Bug 886054 - Intermittent test_bookmarks_json.js | Test timed out. r=mak 2014-01-28 17:26:14 -05:00
Ryan VanderMeulen
fc156abc94 Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
Neil Deakin
ad6241d8fb 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
39e2c94ff7 Bug 964700 - Fix test_safeErrorString.js xpcshell test, r=me 2014-01-28 18:25:25 +02:00
Victor Porof
552c900cba 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
bd4472bb91 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
85a7d68dbc Bug 960509 - Load libSystem for MacOS X 32 bit. r=glandium 2014-01-28 08:50:34 -05:00
Peiyong Lin
186a8ee310 Bug 827803 - [OS.File] Refine exception transmission across threads. r=Yoric 2014-01-28 08:50:33 -05:00
Vladan Djeric
a30d0efd02 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
f5fa321c72 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
Aaron Klotz
74e3527fb2 Bug 902587 - Part 4: Changes to telemetry memory reporting; r=njn,froydnj 2014-01-31 20:14:51 -07:00
Jed Parsons
b947a07b02 Bug 929386 - BrowserID DOM API extension for Firefox Accounts. r=MattN, r=smaug 2013-12-13 15:31:23 -08:00
Marco Castelluccio
b9c7ed469b Bug 959411 - Use OS.Path.toFileURI in WebappsInstaller. r=myk 2014-01-30 11:23:55 -05:00
Roberto A. Vitillo
2e4f0490da Bug 962523 - Fix import statements in Telemetry. r=Yoric 2014-01-23 17:55:28 +00:00
Marco Castelluccio
1400aea7fe Bug 958888 - Use OS.File in getAvailableFileName. r=myk 2014-01-30 11:10:41 -05:00
Patrick Brosset
61c34f059a Bug 947733 - Tooltips are shown on !important properties in the rule-view; r=miker 2014-01-30 16:04:47 +01:00
Gijs Kruitbosch
f2def806aa Bug 936442 - fix charset accesskey issue caused by Australis refactor, rs=trivial 2014-01-30 12:34:48 +00:00
Blair McBride
388e314924 Bug 956990 - Temporarily make extensions.checkCompatibility=false not work for Australis-incompatible themes. r=Mossop 2014-01-31 01:00:47 +13:00
Carsten "Tomcat" Book
9fd3b26310 Merge mozilla-central to fx-team 2014-01-30 12:10:15 +01:00
Manish Goregaokar
48411fd280 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
Aaron Klotz
3a97435697 Bug 902587 - Part 3: IO Interpose Reporter for Telemetry; r=froydnj 2013-12-09 21:30:06 -02:00
Aaron Klotz
967fd9e294 Bug 902587 - Part 2C: Interpose NtCreateFile, NtReadFile, NtReadFileScatter, NtFlushBuffersFile, and NtQueryFullAttributesFile; r=ehsan 2013-12-09 21:17:03 -02:00
Jim Blandy
1f478332f7 Bug 964507: Add mochitests for Debugger.Source.protoype.element and .elementAttributeName. r=bz 2014-01-29 14:12:23 -08:00
David Major
cb8e3ed66e Bug 958348 - Allow swapping the current and previous exception filters. r=dmajor 2014-01-29 17:07:35 -05:00
Mike Shal
7338071654 Bug 875013 - VPATH removals in build, roboextender, crashreporter; r=ted 2014-01-21 18:01:22 -05:00
Asaf Romano
676ef50617 Bug 896193 - Adopt Promises in mozIAsyncLivemarks. r=mak. sr=gavin. 2013-11-20 12:00:02 +02:00
Gregory Szorc
f9ceee67e8 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
ec8ef61e8b 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
2531f98cec Merge m-c to inbound. 2014-01-27 15:24:00 -05:00
Ryan VanderMeulen
c574bba735 Merge fx-team to m-c. 2014-01-27 15:23:10 -05:00
Robert Strong
1db58c3240 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
bb76b8a40e Bug 963860 - fix macro redefinition when compiling TestAUSReadStrings.cpp. r=bbondy 2014-01-27 10:35:38 -08:00
Ryan VanderMeulen
eb936045b3 Backed out changeset bafe9571f3e8 (bug 839794) for xpcshell failures. 2014-01-27 10:02:13 -05:00
David Rajchenbach-Teller
45d0e29573 Bug 962808 - [Session Restore] Better telemetry for _writeState. r=ttaubert 2014-01-27 08:27:35 -05:00
Ed Morley
5f796ef741 Backed out changeset ad7fc270445d (bug 963327) for xpcshell failures on a CLOSED TREE 2014-01-27 17:19:01 +00:00
Gregory Szorc
f7bbb0bae1 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
732637c1d4 Merge mozilla-central to fx-team 2014-01-27 14:18:40 +01:00
Carsten "Tomcat" Book
03a9b2231b merge fx-team to mozilla-central 2014-01-27 13:10:10 +01:00
Gijs Kruitbosch
cd531c767c Bug 964064 - shortcuts should always be uppercase, r=Unfocused 2014-01-26 23:53:22 +00:00
Phil Ringnalda
129c8e17d5 Merge m-i to m-c 2014-01-25 19:55:19 -08:00
Darrin Henein
53b5b0f75d 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
a606e6d861 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
a4369b7897 Bug 960095 - Remove extra saveStyleSheet.title entities from browser/devtools/styleeditor.properties. r=dcamp 2014-01-27 08:11:48 -05:00
Jed Parsons
2b14212a78 Bug 963674 - Remove xul appinfo from xpcshell tests. r=MattN 2014-01-24 13:23:21 -08:00
Roberto A. Vitillo
8c4c503df3 Bug 839794 - Use OS.File in Telemetry. r=Yoric 2014-01-23 17:47:53 +00:00
Ryan VanderMeulen
b227db5f9b Merge fx-team to m-c. 2014-01-24 17:00:09 -05:00
Robert Strong
13c5306090 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
49f0cfc01c Backed out changeset 6febd7a30de3 (bug 962808) for mochitest-bc failures. 2014-01-24 13:26:07 -05:00
David Rajchenbach-Teller
453c08caee Bug 962808 - [Session Restore] Better telemetry for _writeState. r=ttaubert 2014-01-24 10:47:54 -05:00
Jan-Ivar Bruaroey
0683b9ca72 Bug 947665 - RTCP stats in getStats and about:webrtc. r=jesup 2014-01-21 14:00:06 -05:00
Carsten "Tomcat" Book
debfe3c8ac Merge mozilla-central to mozilla-inbound 2014-01-24 13:36:47 +01:00
Carsten "Tomcat" Book
452163a01c merge fx-team to mozilla-central 2014-01-24 13:09:46 +01:00
Carsten "Tomcat" Book
9d77337ad4 merge mozilla-inbound to mozilla-central 2014-01-24 13:08:44 +01:00
Tom Schuster
9df9d0ea45 Bug 952042 - Remove fake focus-ring after findbar is closed. r=mikedeboer 2014-01-24 13:08:38 +01:00
Carsten "Tomcat" Book
c00b38c806 Merge mozilla-central to mozilla-inbound 2014-01-24 09:28:18 +01:00
Matthew Noorenberghe
2d9cf8ba96 Bug 956162 - Tests - Implement @flip="none" for popups to allow them to appear off-screen without flipping or resizing. r=Enn
[Australis]
2014-01-22 20:09:03 +00:00
Alexey Novak
2db2ce3e20 Bug 956804 - Use DevToolsUtils.reportException in Parser.jsm; r=fitzgen 2014-01-23 09:55:16 -08:00
Roberto A. Vitillo
ef94d5115a Bug 960966 - Remove TelemetryPing.js from telemetry. r=Yoric, r=BenWa 2014-01-22 11:43:26 +00:00
Tim Taubert
a0a586bd1a Bug 941540 - Add browser.permanentKey r=felipe 2014-01-20 20:44:25 +01:00
Tim Taubert
a5afd2d4bf Bug 960903 - Broadcast session history data r=yoric 2014-01-20 17:37:41 +01:00
Tim Taubert
f8611e8301 Bug 960903 - Remove UserTypedValueChanged event r=dao 2014-01-20 17:36:14 +01:00
Jon Coppeard
bfba7b5146 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Florian Quèze
2dbdf75f43 Bug 958071 - PopupNotification consumers should have a way to replace the "Not Now" item, r=dolske. 2014-01-23 11:48:33 +01:00
Tim Taubert
fc3315fbfe merge m-c to fx-team 2014-01-23 10:57:35 +01:00
Carsten "Tomcat" Book
7da2f8a7a8 merge fx-team to mozilla-central 2014-01-23 10:19:26 +01:00
Dão Gottwald
37f2333d50 Bug 962150 - [Australis] Arrow panel box-shadow is cut off at the bottom and right side. r=mdeboer
--HG--
extra : rebase_source : 8cab83f84b457f2cd0efac5f6e14e690c2f021ba
2014-01-22 23:21:41 +01:00
Wes Kocher
45c92c7357 Backed out 2 changesets (bug 956162) for m-oth failures on a CLOSED TREE
Backed out changeset 026dc3ee0654 (bug 956162)
Backed out changeset 0a7e5eeafed6 (bug 956162)
2014-01-22 14:23:57 -08:00
Ryan VanderMeulen
a4800c16e7 Merge m-c to fx-team. 2014-01-22 15:57:40 -05:00
Ryan VanderMeulen
67913e8980 Merge fx-team to m-c. 2014-01-22 15:32:22 -05:00
Matthew Noorenberghe
026c2cd523 Bug 956162 - Tests - Implement @flip="none" for popups to allow them to appear off-screen without flipping or resizing. r=Enn
--HG--
extra : rebase_source : 559f6b9d41922308a4318929316598bf5690bd2d
2014-01-22 20:09:03 +00:00
Masatoshi Kimura
3d9b1531fe 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
Robert Strong
9b09ebdbf0 Bug 925747 - patch file extraction cleanup. r=bbondy 2014-01-22 17:16:39 -08:00
Jim Blandy
bc63d26719 Bug 958646: Implement Debugger.Script.prototype.global accessor. r=sfink 2014-01-22 16:55:12 -08:00
Neil Rashbrook
6dfe1881c1 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
1ac93c7ad5 Merge m-c to inbound. 2014-01-22 15:55:49 -05:00
Panos Astithas
c74418115e 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
Panos Astithas
e91ce82b34 Don't clobber the thread actor global on reload for pages that contain child frames (bug 962632); r=fitzgen 2014-01-23 09:20:07 +02:00
Alex Henrie
b1b70981eb Bug 157846 - Remove padding from textbox.plain. r=roc 2014-01-16 16:45:20 -07:00
David Rajchenbach-Teller
1ffb2fdeb5 Bug 916076 - Tests for OS.File telemetry. r=froydnj 2014-01-22 12:21:44 -05:00
David Rajchenbach-Teller
0775559efd Bug 916076 - Add telemetry for OS.File. r=froydnj 2014-01-22 12:21:43 -05:00
Gijs Kruitbosch
c536cf1017 Bug 944947 - label truncation is not fully supported in Australis menu widgets, r=Enn,MattN
--HG--
extra : rebase_source : 24d502659b30d59371b8e33bba65091c546763d5
2014-01-17 18:51:02 +01:00
Peiyong Lin
c03d0c746a Bug 961798 - Check if this.window is null in BrowserTabActor.prototype._setJavascriptEnabled. r=past 2014-01-21 09:55:00 +02:00
Ryan VanderMeulen
33db50dc56 Merge m-c to inbound. 2014-01-21 15:20:25 -05:00