Commit Graph

138512 Commits

Author SHA1 Message Date
Bobby Holley
33ab6d05a5 Bug 889911 - Fix tests that unconditionally throw for things reported to the console. r=mrbkap
When we start sending everything reported to the JSErrorReporter to the console,
these tests end up getting confused by warnings.
2013-07-16 20:38:44 -07:00
Bobby Holley
b755828946 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Bobby Holley
a2deff3242 Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 20:38:44 -07:00
Robert Strong
1ffe6c6572 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
2ee241e576 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
205bbe75bf 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
f9985178c3 Simplify xpcshell ini files - Bug 894115 - xpcshell ini file confusion. r=bbondy 2013-07-16 19:18:44 -07:00
Masayuki Nakano
06d95e0415 Bug 893973 Check if the keydown event received view actually has focus and separate the MOZ_CRASH() for each case r=smichaud 2013-07-17 11:08:44 +09:00
Benoit Girard
82435a9c18 Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Chris Double
c84ff42c47 Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce 2013-07-17 13:54:52 +12:00
Chris Kitching
629911606b Bug 892094 - Create "Search" page in settings. r=liuche
--HG--
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml-v11/preferences_customize.xml
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml/preferences_customize.xml.in
2013-07-16 18:44:42 -07:00
Wes Kocher
f1fea88196 Backout 399362c3e135 (bug 894669) for bustage 2013-07-16 18:41:52 -07:00
Wes Kocher
2efcb3a1cf Merge m-c to inbound 2013-07-16 18:22:58 -07:00
Wes Kocher
15b6204cf7 Merge inbound to m-c 2013-07-16 18:20:24 -07:00
Ryan VanderMeulen
5333a265b8 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
Gregory Szorc
e798214d28 Bug 878607 - Backout aeb89583349d (bug 887814) for breaking bootstrap on MacPorts; r=jwatt
DONTBUILD (NPOTB)
2013-07-16 17:04:36 -07:00
Ryan VanderMeulen
c5867ac62f Backed out changeset 71233da022ea (bug 763903) for checktest orange on a CLOSED TREE. 2013-07-16 17:18:15 -04:00
Ryan VanderMeulen
2aab0a39b6 Merge m-c to inbound on a CLOSED TREE. 2013-07-16 16:54:43 -04:00
Ryan VanderMeulen
5c90a06cd3 Backed out changeset 8bbd27688a89 (bug 870406) for Linux bustage. 2013-07-16 16:54:10 -04:00
Ryan VanderMeulen
327d11dd6a Backed out changeset 5fe88df5c376 (bug 892094) for Android 2.2 robocop-2 failures.
--HG--
rename : mobile/android/base/resources/xml/preferences_customize.xml.in => mobile/android/base/resources/xml/preferences_customize.xml
2013-07-16 16:41:38 -04:00
Jonathan Wilde
dbc0634be4 Bug 867543 - Part 3 - Dynamically update and pluralize the labels with all of the correct nouns attached. r=mbrubeck
--HG--
extra : rebase_source : b83293bfc40a12983a44e04295380d127c8b7227
2013-07-16 13:38:28 -07:00
Jonathan Wilde
fe0d196966 Bug 867543 - Part 2 - Add static labels. r=mbrubeck
--HG--
extra : rebase_source : bc7b5b58ecc667982160e325b99a45eb2cd9fd2a
2013-07-16 13:38:05 -07:00
Jonathan Wilde
afa3533a45 Bug 867543 - Part 1 - Generalize appbar css, make sprites more robust, move into platform. r=mbrubeck
--HG--
extra : rebase_source : d12d41611423782497c03ceb05bd8b40afd1b921
2013-07-16 13:32:36 -07:00
Bobby Holley
af54d60d2b Bug 889714 - Remove ContextCallback junk. r=mrbkap
There's no reason we should be doing this.
2013-07-16 18:04:51 -07:00
Bobby Holley
25bf29dee3 Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap 2013-07-16 18:04:50 -07:00
Bobby Holley
c3aea97596 Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap
SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
2013-07-16 18:04:50 -07:00
Bobby Holley
f4a8c21d81 Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap 2013-07-16 18:04:50 -07:00
Bobby Holley
2464bc220f Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap
We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
2013-07-16 18:04:50 -07:00
Bobby Holley
76fc311011 Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap 2013-07-16 18:04:49 -07:00
Bobby Holley
599d035969 Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 18:04:49 -07:00
Bobby Holley
fcd4ff0908 Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
lol @ 'ShouldCompoleOnly'.
2013-07-16 18:04:49 -07:00
Bobby Holley
b6f705b27a 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
Bobby Holley
269151d7fe Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap 2013-07-16 18:04:48 -07:00
Dan Gohman
1d9d94c40e Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-16 16:00:03 -07:00
Brian Hackett
0bb18aa410 Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Dão Gottwald
59afd9606c Bug 894349 - Sort permissions in the site identity panel and the page info window alphabetically. r=jaws 2013-07-16 22:12:48 +02:00
David Zbarsky
d7ff0ef7d9 Bug 879475 - Make PBlob manually keep track of its manager r=jlebar 2013-07-16 13:07:09 -07:00
Ryan VanderMeulen
dc407d0548 Merge m-c to inbound. 2013-07-16 16:05:03 -04:00
Ryan VanderMeulen
dd188cfa23 Merge birch to m-c. 2013-07-16 16:03:20 -04:00
Ryan VanderMeulen
88f575de39 Merge inbound to m-c. 2013-07-16 16:02:36 -04:00
Matt Woodrow
b2e24adee4 Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Michael Wu
188d8224eb Bug 870311 - Fix coordinates on contextmenu event, r=kats 2013-07-16 15:54:59 -04:00
Joey Armstrong
7457e482c3 bug 870406: move CSRCS to mozbuild (file batch #3) r=mshal 2013-07-16 15:47:52 -04:00
Seth Fowler
38dcd3e297 Bug 885939 (Part 3) - Disable SVG reftests involving extreme viewboxes that fail due to integer overflow. r=me 2013-07-16 15:41:36 -04:00
Seth Fowler
939a7f10c0 Bug 885939 (Part 2) - Add reftests for SVG image stretching and scaling. r=dholbert 2013-07-16 15:41:33 -04:00
Seth Fowler
7426ec7020 Bug 885939 (Part 1) - Scale SVG images using the graphics context matrix instead of the viewport. r=dholbert 2013-07-16 15:41:30 -04:00
Gaia Pushbot
2856f62192 Bumping gaia.json for 1 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/c59267134f80
Author: Corey Frang <gnarf37@gmail.com>
Desc: Followup tests commit for Bug 883822 / d17ada1 - r=rwaldron a=npotb

* Removes some useless tests and replaces them with tests that actually test d17ada1
2013-07-16 12:40:23 -07:00
Jason Yeo
b56eabd006 bug 763903: regularly run mozconfig comparisons for firefox. r=ted/bhearsum 2013-07-16 15:39:11 -04:00
Jan de Mooij
0f3720ceef Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett
--HG--
extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
2013-07-16 21:34:02 +02:00
Mihai Sucan
d233830af8 Bug 889847 - Fix for intermittent browser_webconsole_bug_613013_console_api_iframe.js | Timed out while waiting for: console.log() message; r=me 2013-07-16 22:25:07 +03:00