Commit Graph

4164 Commits

Author SHA1 Message Date
Benjamin Smedberg
c5d1e4d1ad 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
a51cc31202 Bug 853388: Implement Promise-based deferred save module for asynchronous file writes; r=Yoric 2013-07-13 12:36:40 -04:00
Irving Reid
212cb1fbc1 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
5cf35af589 No Bug - Removing empty Makefile.in files; r=me 2013-07-18 09:09:28 -07:00
Bobby Holley
eb2e873e6c 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
bab24a9a57 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
dc9e6f34e1 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
3fd3de316f 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
45938dc1bd Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy 2013-07-16 19:18:44 -07:00
Ryan VanderMeulen
e168631670 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
c1403cacc4 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
bad0606dc7 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
f33ade0d68 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
78388690cb Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Robert Strong
0e0913d4c8 Bug 886545 - Provide method to check for updates to support bug 885641. r=bbondy 2013-07-11 13:46:32 -07:00
Matthew Noorenberghe
9dd82e45f7 Bug 887965 - Lower AddonUpdateChecker timeout to 1 minute. r=Mossop 2013-06-28 23:26:27 -04:00
Joey Armstrong
38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Robert Strong
c13e15807d 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
a8ffe81a63 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Robert Strong
dec66dc823 Bug 853198 - Defend against bad system clocks. r=bbondy 2013-07-02 19:05:27 -07:00
Xavier Fung
1dcc0c0757 Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Richard Newman
bf96eadef1 Merge m-c to m-i. 2013-07-02 18:52:48 -07:00
Nick Alexander
cb3298134b Merge m-c to s-c 2013-07-02 14:59:21 -07:00
Nick Alexander
b5ab640144 Bug 887115 - Make Android packager expect omnijar in root directory. r=glandium 2013-07-02 12:00:34 -07:00
Ms2ger
6f877caab6 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Nick Alexander
b089260883 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
af8ed74358 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
9b129014be 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
bcb7b85ead Bug 888361. r=rstrong 2013-07-01 19:11:52 -04:00
Brian R. Bondy
dc84d6f83d Bug 888314. r=rstrong 2013-07-01 19:11:59 -04:00
Brian R. Bondy
a41001a3c6 Bug 859072. r=rstrong 2013-07-01 19:12:06 -04:00
Robert Strong
aee65db39f 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
4ecaa27e6b 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
0cf6f276aa 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
7deb49e1b6 Bug 887098 - Cache nodePrincipal when InstallTrigger is bound. r=gavin 2013-06-26 21:41:55 -07:00
Shih-Chiang Chien
cebe2e258a Bug 880737 - Cancel retry timer while pausing OTA download. r=bbondy 2013-06-26 21:35:29 -04:00
Mike Shal
fab4df789a Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #2); r=joey 2013-06-17 15:22:56 -04:00
Irving Reid
455a64976b Bug 874890: Shut down Addon Manager in profile-before-change r=mossop 2013-06-25 19:43:56 -04:00
Robert Strong
e2f1a1af0e Bug 886647 - passed unused in TestAUSHelper.cpp. r=bbondy 2013-06-25 13:16:28 -07:00
Benjamin Smedberg
dc3478faea 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
d5c5ff5f07 Merge m-c and inbound. 2013-06-24 14:02:59 -04:00
Nick Alexander
cf8d27bd61 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
7787c89f92 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
1890b8e6d0 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
2d896e6278 Merge m-c to m-i. 2013-06-23 13:44:01 +02:00
Ms2ger
f63886acfe Bug 882848 - Use MOCHITEST_BROWSER_FILES more; r=gps 2013-06-23 09:16:19 +02:00
Ms2ger
bde379b7e5 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
2544268883 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
65352e3bec 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
65a4446066 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