Commit Graph

138554 Commits

Author SHA1 Message Date
Marco Castelluccio
e27363e562 Bug 827346 - indexedDB.open() silently fails in an Open Web App (OWA/mozApp). r=myk 2013-07-17 10:00:15 -04:00
Drew Willcoxon
47be8d8d34 Bug 894234 - Guard against audioContext->IsOffline(). r=ehsan 2013-07-17 09:59:08 -04:00
Guillaume Abadie
16e0f88f06 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
Mihnea Dobrescu-Balaur
e56e545704 Bug 887480 - Make the content/base xpcshell tests use dynamic httpd ports so they can be run concurrently. r=bz 2013-07-15 17:13:37 -07:00
Jan Beich
ca5cd269e3 Bug 803480 - Enable NeckoWifi by default only on platforms where it's actually supported. r=ted 2013-07-17 09:57:28 -04:00
Tom Schuster
f5ccc808eb Bug 886903 - Send correct UserAgent data for content process. r=jdm 2013-04-22 18:41:59 +02:00
Tom Schuster
78d54d5af2 Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander 2013-07-17 09:27:49 -04:00
Tom Schuster
46fe724e6d Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Tom Schuster
cad9f8081a Bug 868859 - Use CPOWs to pass browser.contentWindow and webProgress.DOMWindow in e10s. r=felipe 2013-07-17 09:27:49 -04:00
Benjamin Smedberg
c5b25497ec Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
--HG--
extra : rebase_source : 4b24a6d5bf3b5c33b1e19702eca676b340b5d8b1
2013-07-17 09:21:02 -04:00
Benjamin Smedberg
d87022fde3 Bug 888908 - When the location bar is missing, don't auto-popup the plugin notification (ever). It will still pop up when clicking the in-page UI. And Australis will make this code moot anyway, r=jaws
--HG--
extra : rebase_source : 69b7a078b7202a9806eaa33829d6107062e5a589
2013-07-17 09:21:02 -04:00
Benjamin Smedberg
333b953b24 Bug 889480 - When NP_Initialize fails, we should not try to call NP_Shutdown later, r=gfritzsche
--HG--
extra : rebase_source : f55c38a81af16badbc27f3eaa82e7f8dbedd4d0c
2013-07-17 09:21:02 -04:00
Mark Finkle
ab4dba8a47 Bug 894882 - Make sure the correct host is displayed when prompting for WebRTC from iframes r=wesj 2013-07-17 09:19:19 -04:00
Shu-yu Guo
0af2e2f204 Bug 894782 - Fix callsite cloning interaction with inline dispatch in Ion. (r=jandem) 2013-07-17 06:11:18 -07:00
Mihnea Dobrescu-Balaur
43b04451f2 Bug 889076 - Use the profile dir to store minidumps in the crashreporter xpcshell tests. r=ted 2013-07-10 14:10:04 -07:00
Mihnea Dobrescu-Balaur
df2fb2fcd3 Bug 888537 - Use a dynamic port in downloads/ xpcshell tests so they can be run in parallel. r=mak 2013-07-11 11:31:24 -07:00
Mihnea Dobrescu-Balaur
bb9069e806 Bug 887706 - Use a dynamic port in httpserver xpcshell tests so they can be run in parallel. r=Waldo 2013-07-17 09:11:19 -04:00
Brian Hackett
86d8fe99e8 Bug 894669 - Add analysis for finding variables unnecessarily entrained by inner functions, r=luke. 2013-07-16 18:54:47 -06:00
Ryan VanderMeulen
5739ad1b00 Backed out changeset 56423bbe9a13 (bug 891695) because it didn't un-bust itself automagically. 2013-07-17 08:54:01 -04:00
Carsten "Tomcat" Book
d98e2cd471 Relanding after backout Bug 891695 - IonMonkey: Avoid passing pointers by const reference. r=rpearl 2013-07-17 14:16:17 +02:00
Bas Schouten
9f559af1e2 Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Bas Schouten
31eab881fb Bug 883004 - Part 2: Move Direct2D 1.1 detection to configure.in r=glandium 2013-07-17 14:12:05 +02:00
Jonathan Kew
d31b984832 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
2fc8207e32 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
2e4cee5cab bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Masatoshi Kimura
d2352b7f1f Bug 885107 - Sync testharness with the latest upstream. r=Ms2ger 2013-07-17 20:26:24 +09:00
Masatoshi Kimura
616a6b3538 Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron 2013-07-17 20:26:23 +09:00
Eitan Isaacson
294b3e4b27 Bug 894601 - Fix regression in context menu activation in Android.
Bug 894601 - Fix regression in context menu activation in Android. r=maxli
2013-07-16 13:49:00 +02:00
Carsten "Tomcat" Book
4fa20cfa2f Backed out changeset 5939320824b1 (bug 894242) "CLOSED TREE" 2013-07-17 10:36:12 +02:00
Mike Hommey
31df024bde Bug 894242 - Make C++0x/C++11 mode of gcc/clang mandatory. r=ted 2013-07-17 16:19:25 +09:00
Mike Hommey
4df35f912c Backout changeset cd67ffb5ca47 (bug 883381), effectively restoring bug 877937 2013-07-17 16:18:46 +09:00
Mike Hommey
521e88720d Bug 894240 - Fix pointer dereference in js::cli::OptionParser::extractValue. r=Waldo 2013-07-17 16:16:55 +09:00
Wes Kocher
85273bb749 Backout 1372b813d76f (bug 891695) for suspicion of causing bustage on a CLOSED TREE
--HG--
extra : amend_source : 9e9d1d7792df7060a2d61d5e8721b67602e14451
2013-07-16 20:47:17 -07:00
Bobby Holley
3a9e019b53 Bug 889714 - Remove ContextCallback junk. r=mrbkap
There's no reason we should be doing this.
2013-07-16 20:38:46 -07:00
Bobby Holley
30df80f1ac Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap 2013-07-16 20:38:46 -07:00
Bobby Holley
c2a9310a01 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 20:38:46 -07:00
Bobby Holley
00505034e8 Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap 2013-07-16 20:38:46 -07:00
Bobby Holley
fad1a73a03 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 20:38:45 -07:00
Bobby Holley
fdd9f43154 Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap 2013-07-16 20:38:45 -07:00
Bobby Holley
876b1ecb3d 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 20:38:45 -07:00
Bobby Holley
cdd599dd47 Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
lol @ 'ShouldCompoleOnly'.
2013-07-16 20:38:45 -07:00
Bobby Holley
26926302d8 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
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