Commit Graph

3252 Commits

Author SHA1 Message Date
Irving Reid
041b80502c Bug 904927: Assign globals to "this" in modules so that they are available through the B2G module loader; r=Unfocused 2013-08-19 11:03:12 -04:00
Ryan VanderMeulen
68d1186a91 Backed out changeset ebd79cd25bf5 (bug 815120) for mochitest-bc failures. 2013-08-19 10:29:04 -04:00
Martin Stransky
db5194e591 Bug 815120 - xpinstall.enabled=false still allows to install xpi via. addon search. r=Unfocused 2013-08-19 08:49:42 -04:00
Ms2ger
93933b0de8 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Axel Hecht
049f495018 bug 848830, fix regression in app updater localization, r=glandium, rstrong
--HG--
extra : rebase_source : 66b4e3e55a05d4b74bd39a40c4768c620b74062a
2013-08-13 17:15:42 +02:00
Ed Morley
553e29c238 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Irving Reid
332c603f26 Bug 853388: Keep trying to save JSON even if read or save fails; r=unfocused 2013-08-09 20:21:47 -04:00
Irving Reid
35516037a0 Bug 853388: Load JSON database asynchronously outside of startup; r=unfocused 2013-08-08 16:05:33 -04:00
Irving Reid
18f29be579 Bug 853388: Trigger XPI database conversion from SQLITE based on schema version preference; r=unfocused 2013-08-08 15:56:39 -04:00
Irving Reid
bb04dc0106 Bug 853388: Remove transaction model of database flush control and implement async save of database; r=unfocused 2013-08-08 15:56:35 -04:00
Irving Reid
8dc12a6caf Bug 853388: Upgrade existing SQLITE databases to JSON; r=unfocused 2013-08-08 15:56:26 -04:00
Irving Reid
9cfac5cf1e Back out 74673d1b1718 for missing reviewer 2013-08-10 19:38:14 -04:00
Irving Reid
985a1f45f7 Back out 2015a41cdf70 for missing reviewer 2013-08-10 19:37:00 -04:00
Irving Reid
262e61a2c4 Back out 816af0c07c46 for missing reviewer 2013-08-10 19:34:46 -04:00
Irving Reid
f0e9ed1e61 Back out 629a3e8bd2b1 for missing reviewer 2013-08-10 19:32:34 -04:00
Irving Reid
f8373ef7f3 Back out 20d83a7220ca for missing reviewer 2013-08-10 19:27:33 -04:00
Irving Reid
3523641f7f Bug 853388: Keep trying to save JSON even if read or save fails 2013-08-09 20:21:47 -04:00
Irving Reid
8ad9d64ede Bug 853388: Load JSON database asynchronously outside of startup 2013-08-08 16:05:33 -04:00
Irving Reid
5170a04a18 Bug 853388: Trigger XPI database conversion from SQLITE based on schema version preference 2013-08-08 15:56:39 -04:00
Irving Reid
ee62d7a348 Bug 853388: Remove transaction model of database flush control and implement async save of database 2013-08-08 15:56:35 -04:00
Irving Reid
ba6004ddd2 Bug 853388: Upgrade existing SQLITE databases to JSON 2013-08-08 15:56:26 -04:00
Irving Reid
4c74c23299 Bug 853388: Save and load XPIProvider state to/from a JSON file; r=unfocused 2013-08-08 15:56:22 -04:00
Tom Schuster
b5f8a2c970 Bug 870625 - Electrolysis: Add-on installation from addons.mozilla.org should work. r=Mossop 2013-08-09 12:23:49 -04:00
Drew Willcoxon
50b5fea249 Bug 850219 - Mark nsIContentPrefService as deprecated in favor of nsIContentPrefService2. r=mak 2013-08-08 20:38:49 -07:00
Steffen Wilberg
8ed68047a0 Bug 711475: Allow to perform updates using the About Firefox dialog on limited user accounts if the maintenance service is installed. r=bbondy 2013-08-07 23:07:17 +02:00
Geoff Lankow
c10ca55a69 Bug 901341 - Multi-option inline settings not initialized properly; r=Unfocused 2013-08-06 23:50:31 +12:00
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Ms2ger
25c19f9737 Bug 897458 - Move EXTRA_PP_JS_MODULES to moz.build; r=gps 2013-08-02 09:03:25 +02:00
Robert Strong
5d15eba7df Test only patch - Bug 899709 - gIsLessThanMacOSX_10_6 is no longer needed in head_update.js.in. r=bbondy 2013-08-01 10:19:01 -07:00
Felipe Gomes
fba1d4eb50 Bug 853389 - Convert AddonRepository from SQLite to JSON. r=bmcbride 2013-08-01 12:12:40 -03:00
Geoff Lankow
5a20efff8b Bug 888778 - Custom binding not applied to inline settings; r=Unfocused 2013-08-02 00:07:26 +12:00
Geoff Lankow
32bb107141 Backed out changeset c482e61af458 (bug 888778) for busted test 2013-08-01 17:05:24 +12:00
Geoff Lankow
20b7dce3f8 Bug 888778 - Custom binding not applied to inline settings; r=Unfocused 2013-07-03 00:20:51 +12:00
Mihnea Dobrescu-Balaur
1d66f50714 Bug 889182 - mozapps/extensions xpcshell tests cannot be run concurrently. r=Unfocused 2013-07-24 22:35:43 -07:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Benjamin Smedberg
15f30eed45 Bug 888510 - In-content theming fixup for the new plugin click-to-activate. Remove the "lightweight" transparent click-to-play theming and make the normal styling plain grey. Switch from a CSS gradient to an image gradient because of performance issues. Highlight the "check for updates" button for outdated plugins. Icons by shorlander and lco, ui-review=lco r=jaws
--HG--
rename : toolkit/themes/osx/mozapps/plugins/contentPluginCrashed.png => toolkit/themes/shared/plugins/contentPluginCrashed.png
rename : toolkit/themes/osx/mozapps/plugins/contentPluginDownload.png => toolkit/themes/shared/plugins/contentPluginDownload.png
rename : toolkit/themes/osx/mozapps/plugins/contentPluginMissing.png => toolkit/themes/shared/plugins/contentPluginMissing.png
rename : toolkit/themes/windows/mozapps/plugins/pluginProblem.css => toolkit/themes/shared/plugins/pluginProblem.css
2013-07-26 09:30:27 -04:00
Shih-Chiang Chien
0e69566882 Bug 891009 - Remove the selected patch after unrecoverable error. r=rstrong 2013-07-11 19:11:58 +08:00
Benjamin Smedberg
79534d3c5a Bug 888292 - De-emphasize the plugin icon in the address bar when it doesn't need to catch the user's attention. With this change, the only time the icon will be "alert blue" is when a plugin is click-to-activate and it's too small to show the overlay inline in the page. Icons provided by shorlander. ui-review=lco r=jaws
--HG--
extra : rebase_source : 29f8c8ad4fd0234f1d2bf14451416ac7f744c6fb
2013-07-19 10:02:48 -04:00
Irving Reid
afb6f395b8 Bug 853388: Implement Promise-based deferred save module for asynchronous file writes; r=Yoric 2013-07-13 12:36:40 -04:00
Irving Reid
d81f8586cf Bug 853388: Make existing tests a little more robust and easier to debug, also callback stack friendly; r=unfocused 2013-07-13 12:36:27 -04:00
Gregory Szorc
5c25cc9036 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Bobby Holley
ea7a9f6f09 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Robert Strong
9627ecc7ce Test followup fix for Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=me 2013-07-16 19:25:36 -07:00
Robert Strong
1a217b7215 Part 2. add run-sequentially to xpcshell ini files for tests that can't run in parallel yet - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=mihneadb 2013-07-16 19:19:25 -07:00
Robert Strong
b5aec1f74a Part 1. use custom XREExeF and UpdRootD - Bug 889183 - mozapps/update xpcshell tests cannot be run concurrently. r=bbondy 2013-07-16 19:19:03 -07:00
Robert Strong
7ba644048c Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy 2013-07-16 19:18:44 -07:00
Ryan VanderMeulen
ec49bf763f Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b5be668356 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Geoff Lankow
024e54a236 Bug 891181 - Textbox-based <setting> bindings un-focus when forward slash (/) key is pressed. r=bmcbride 2013-07-09 20:31:17 +12:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Masatoshi Kimura
b001d00a05 Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Robert Strong
9c219ded02 Bug 886545 - Provide method to check for updates to support bug 885641. r=bbondy 2013-07-11 13:46:32 -07:00
Matthew Noorenberghe
95c3e0efce Bug 887965 - Lower AddonUpdateChecker timeout to 1 minute. r=Mossop 2013-06-28 23:26:27 -04:00
Joey Armstrong
a6b9800cfb bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Robert Strong
15037c434e Test fix for Bug 889860 - Intermittent test_0200_app_launch_apply_update.js | Test timed out | test failed (with xpcshell return code: 1). r=bbondy 2013-07-05 13:11:44 -07:00
Joey Armstrong
e44d529d0e bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Robert Strong
8df5780898 Bug 853198 - Defend against bad system clocks. r=bbondy 2013-07-02 19:05:27 -07:00
Xavier Fung
221217ebbf Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Richard Newman
d003539ad1 Merge m-c to m-i. 2013-07-02 18:52:48 -07:00
Nick Alexander
a19a1cb490 Merge m-c to s-c 2013-07-02 14:59:21 -07:00
Nick Alexander
eb3d11a9d7 Bug 887115 - Make Android packager expect omnijar in root directory. r=glandium 2013-07-02 12:00:34 -07:00
Ms2ger
032d1cbb66 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Nick Alexander
3f84ff17ac Bug 888646 - Update missed use of SimpleManifestSink API. r=trivial
This is a simple follow-up to Bug 887121.
2013-06-29 20:15:08 -07:00
Nick Alexander
8865454ccd Bug 887121 - Make packager install and szip .so libraries in assets/ directly. r=glandium
This adds a Component type to the mozbuild.mozpack package manifest
parser, and teaches the packager to accept components of the form
[name destdir="dir"].  Then we update the Android package manifest and
simplify the packager code.

I would have liked to make the packager put mozglue.so and
MOZ_CHILD_PROCESS_NAME in lib/$(ABI_DIR) directly, but this turned out
to be awkward.  Since MOZ_CHILD_PROCESS_NAME needs to have lib/ in its
name to load successfully on Android, we would have to add notation in
package manifests to install bin/lib/*plugin-container* to
lib/$(ABI_DIR)/*plugin-container*.
2013-06-28 09:10:57 -07:00
Ryan VanderMeulen
3fb3e95c39 Bug 874080 - Add an early return to nsExternalHelperAppService::GetTypeFromExtension when called with an empty extension parameter. r=paolo 2013-07-02 15:49:06 -04:00
Brian R. Bondy
eada7b5ae3 Bug 888361. r=rstrong 2013-07-01 19:11:52 -04:00
Brian R. Bondy
55219ddd58 Bug 888314. r=rstrong 2013-07-01 19:11:59 -04:00
Brian R. Bondy
4fd58dcc9d Bug 859072. r=rstrong 2013-07-01 19:12:06 -04:00
Robert Strong
7fbea57e5f Test only patch - Bug 626833 - Intermittent failure in test_0200_app_launch_apply_update.js. r=bbondy 2013-06-27 12:58:14 -07:00
Robert Strong
9a7dc847c8 Take 2 - fix a likely race condition that might fix Bug 626833 - Intermittent test_0200_app_launch_apply_update.js. r=bbondy 2013-07-01 19:31:38 -07:00
Mark Banner
e62e5de495 Bug 887185 Plugins test assumes click-to-play is enabled by default - ensure it is enabled for apps that don't yet have it enabled. r=bsmedberg. 2013-06-27 08:18:35 +01:00
Bobby Holley
5fdbeec95c Bug 887098 - Cache nodePrincipal when InstallTrigger is bound. r=gavin 2013-06-26 21:41:55 -07:00
Shih-Chiang Chien
2f8a8db126 Bug 880737 - Cancel retry timer while pausing OTA download. r=bbondy 2013-06-26 21:35:29 -04:00
Mike Shal
b77ae67471 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #2); r=joey 2013-06-17 15:22:56 -04:00
Irving Reid
fd3beb0d0a Bug 874890: Shut down Addon Manager in profile-before-change r=mossop 2013-06-25 19:43:56 -04:00
Robert Strong
6d2d0f465e Bug 886647 - passed unused in TestAUSHelper.cpp. r=bbondy 2013-06-25 13:16:28 -07:00
Benjamin Smedberg
b7223c15b5 Bug 886423 - Turn on the click-to-play UI by default in Firefox desktop. As a side effect, remove the plugin permission from about:permissions because we're using per-plugin permission not per-site and about:permissions doesn't know about that. (page info knows about it) r=keeler 2013-06-25 11:57:30 -04:00
Ryan VanderMeulen
69faa42ffb Merge m-c and inbound. 2013-06-24 14:02:59 -04:00
Nick Alexander
5dea3e088b Bug 873569 - Follow-up: don't delete assets/omni.ja during unpack. r=me
The issue is that in INNER_UNMAKE_PACKAGE I was deleting
assets/omni.ja, which is needed in INNER_MAKE_PACKAGE.  This breaks
language repacks.  This fix should at least allow repacks to proceed
further.
2013-06-24 09:55:21 -07:00
Benjamin Smedberg
d0ea1dfb67 Bug 880735 test fixups:
* Add a test-only setter to the center-item XBL binding
* add a head.js function to remove plugin permissions for use in cleanup functions
* browser_pluginnotification.js - lots of fixes for the core feature tests
* Alter test_bug751809 not to assume that clicking the page overlay will directly activate the plugin
* Alter browser_CTP_plugins.js because disabled plugins now do show up in the plugin doorhanger
* remove browser_CTPScriptPlugin.js and supporting files because we no longer auto-pop based on scripting
* fix browser_CTP_drag_drop.js so that active plugins still show the doorhanger icon, and other fixup
* fix browser_bug743421.js to expect the doorhanger all the time and activate it correctly
* fix browser_bug752516.js to check for doorhanger activation instead of plugin activation
* remove browser_bug818009.js and supporting files because they are testing something that no longer exists
* alter browser_bug820497.js so that it shows the popup notification before checking .centerActions, since we populate that data lazily now
* browser_plugins_added_dynamically.js: remove the "activate all" tests which are no longer relevant and fix the rest to match the new doorhanger structure.
2013-06-24 08:51:07 -04:00
Mook
ea7705c3e6 bug 884686: inline add-on settings: don't set prefs on type=multi if no prefs are specified (r=darktrojan) 2013-06-20 20:37:58 -07:00
Ms2ger
313ff55fd6 Merge m-c to m-i. 2013-06-23 13:44:01 +02:00
Ms2ger
5a63e5bff8 Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps 2013-06-23 09:16:19 +02:00
Ms2ger
72a5c4868f No bug - Don't spam lists of files during the build in toolkit/mozapps/extensions/test makefiles; r=ted 2013-06-23 09:16:06 +02:00
Robert Strong
19ba239d3f Additional test patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:25 -07:00
Robert Strong
e92caa4f91 xpcshell test fixup - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=me for test fixup 2013-06-22 13:37:20 -07:00
Robert Strong
b4b7479bff 3. tests patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:16 -07:00
Robert Strong
3ce510c4ea 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:07 -07:00
Phil Ringnalda
06e17a3f05 Back out 7c8506b0729d (bug 843497) since I already backed out the rest of the bug's patches for xpcshell failures 2013-06-21 19:52:48 -07:00
Phil Ringnalda
53b5971d17 Back out 01bc57172461:5bd9adbd3b15 (bug 843497) for xpcshell failures 2013-06-21 19:49:47 -07:00
Robert Strong
fe40f51213 Additional test patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 19:39:48 -07:00
David Keeler
ad7bcb2bf7 bug 700693 - OCSP stapling testing r=bsmith 2013-06-20 11:41:41 -07:00
Robert Strong
0d3de8ab37 3. tests patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:11:25 -07:00
Robert Strong
178830d7fb 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:10:58 -07:00
Ryan VanderMeulen
5e00b193a7 Merge m-c to inbound. 2013-06-20 20:12:31 -04:00
Ryan VanderMeulen
211dccca9c Backed out changesets 448ba56d9ba4 and 8cea4b4646ef (bug 700693) for intermittent failures. 2013-06-20 19:50:13 -04:00
Nick Alexander
e797d0b7b5 Bug 874132 - Second reland Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher,mfinkle
This incorporates follow-ups including: rename the debug key; check if
key alias exists rather than just testing for keystore existence; set
$(AIDL).

Renaming the debug key works around an un-confirmed JDK bug in
jarsigner, where '-debug' and 'debug' compare the same.
2013-06-20 11:50:28 -07:00
David Keeler
bd2a95a26c bug 700693 - OCSP stapling testing r=bsmith 2013-06-20 11:41:41 -07:00
Joey Armstrong
90f5105a37 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00