Commit Graph

112625 Commits

Author SHA1 Message Date
Justin Lebar
aa329ec788 Bug 806127 - ThirdPartyUtil should not consider in-process <iframe mozbrowser/mozapp> to be third-party. r=bz 2012-11-09 16:37:40 -08:00
Justin Lebar
de0e89fed5 Bug 802366 - Epilogue: Remove workaround for bug 802366 in Webapps.jsm. r=sicking 2012-11-09 16:37:40 -08:00
Justin Lebar
f72344a7a4 Bug 802366 - Use TabContext to make IDB handling more correct in TabParent. r=bent 2012-11-09 16:37:40 -08:00
Justin Lebar
19b287d268 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Justin Lebar
2fd223c342 Bug 802366 - Prelude, part 5: Improve comments in nsIDocShellTreeItem.idl and nsILoadContext.idl. r=bz 2012-11-09 16:37:39 -08:00
Justin Lebar
0417a0ce53 Bug 802366 - Prelude, part 4: Use and simplify nsScriptSecurityManager::GetDocShellCodebasePrincipal. r=bz 2012-11-09 16:37:39 -08:00
Justin Lebar
48e1ba8527 Bug 802366 - Prelude, part 3: Make some methods on nsIPrincipal infallible, and improve documentation on other methods. r=bz 2012-11-09 16:37:38 -08:00
Justin Lebar
12e843ccbd Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Justin Lebar
6a364c5f37 Bug 802366 - Prelude, part 1: Rename in-process-browser-frame-shown to in-process-browser-or-app-frame-shown. r=bz 2012-11-09 16:37:38 -08:00
Bill McCloskey
7e36fddbbd Bug 803376 - Add a new form of TRANSPLANT GC, with assertions for leaks (r=luke)
--HG--
extra : rebase_source : 5cd365e2b3917ad3b649a39613ab9dae47d27320
2012-11-09 11:44:21 -08:00
Terrence Cole
6a34ee2abe Bug 805080 - Move more API users to CompileOptions; r=luke
There is no reason to have special methods for specific sets of CompileOptions
when the JS::Compile interface is so easy to use.  Other API methods can be
moved internal or removed entirely with this change.

--HG--
extra : rebase_source : f48fb221ebe02c0137e521ea605953532808825d
2012-11-06 17:36:47 -08:00
Jim Mathies
04a4021282 merge backout 2012-11-09 18:04:49 -06:00
Jim Mathies
264552a173 Backout Bug 810164 due to bustage. r=bustage 2012-11-09 18:04:23 -06:00
Jared Wein
c4b9c2a881 Bug 810419 followup - Update test description. DONTBUILD r=me 2012-11-09 15:42:13 -08:00
Jared Wein
304c8fa6b4 Bug 810419 - Duplicate ambient-menuitems in the Social API keyboard-access menu. r=felipe 2012-11-09 15:36:22 -08:00
Anant Narayanan
515fe04fc1 Bug 810164: Disable bfcache for pages with active PeerConnections; r=smaug,jesup 2012-11-09 15:27:38 -08:00
Gregory Szorc
4c48f87da0 Bug 809677 - Refactor httpd.js to work when modules are functions; r=Waldo 2012-11-09 14:48:28 -08:00
Benoit Jacob
f6051a1713 Bug 806094 - Remove USE_ANGLE - r=jgilbert 2012-11-09 17:04:43 -05:00
Benoit Jacob
75063389a1 Bug 806091 - Don't export WebGL headers - r=jgilbert 2012-11-09 17:04:41 -05:00
Benoit Jacob
334956d772 Bug 802778 - validate level parameter in copyTexImage2D - r=jgilbert 2012-11-09 16:48:54 -05:00
Vivien Nicolas
a73e4e96fe Bug 808724 - Application with embed-apps permission can not use the mozpasspointerevents attribute. r=roc 2012-11-09 22:46:28 +01:00
Benoit Jacob
0281b26dbe Bug 800612 - 2/2 - Enable compiled code tests in content/canvas - r=ted
--HG--
rename : content/canvas/test/compiled/Makefile.in => content/canvas/compiledtest/Makefile.in
rename : content/canvas/test/compiled/TestWebGLElementArrayCache.cpp => content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
2012-11-09 16:42:23 -05:00
Benoit Jacob
e2c9eb0eb1 Bug 800612 - 1/2 - fix WebGLElementArrayCache bug and increase test repetitions to catch this bug - r=jgilbert 2012-11-09 16:42:21 -05:00
Richard Newman
b36444e916 No bug: kill trailing whitespace in android_strings.dtd. DONTBUILD r=trivial 2012-11-09 13:20:44 -08:00
Mike Conley
b8417fcf6b Bug 810343 - Downloads button paused state looks bad on gnomestripe. r=mak. 2012-11-09 16:18:39 -05:00
Peter Van der Beken
2b73b3b4d1 Bustage fix (bug 804991 - Make FromContent expect a non-null pointer and add FromContentOrNull)
--HG--
extra : rebase_source : e7185c02b8cebd76201670f874d7c5b35bea9eb4
2012-11-09 22:10:06 +01:00
Kan-Ru Chen (陳侃如)
d41c9d3e2d Bug 809671 - Don't change wake lock state if visibility doesn't change. r=jlebar 2012-11-09 16:00:26 -05:00
Andrea Marchesini
2fbd20e9b1 Bug 804311 - Remove nsFilePicker from b2g package-manifest.in. r=fabrice 2012-11-09 16:00:26 -05:00
Masatoshi Kimura
17a2c3bf30 Bug 801402 - Reintroduce x-windows-949 hack. r=hsivonen 2012-11-09 16:00:26 -05:00
Masatoshi Kimura
dd3d556427 Bug 801402 - Use FindEncodingForLabel from FileReaderSync. r=khuey, r=hsivonen 2012-11-09 16:00:25 -05:00
Jeff Muizelaar
1820bc13e2 Bug 801437. Breakage fix for feof(). r=ehsan
Macros make me sad.

--HG--
extra : rebase_source : 1265c3ef7e187c307269273e098ee92c020c2f59
2012-11-09 15:40:56 -05:00
Peter Van der Beken
584658dc3e Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Peter Van der Beken
340572b953 Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Luke Wagner
e3722a2ce4 Bug 807845 - provide a jsfriendapi to query the caller's outermost enclosing function (r=jimb) 2012-11-09 11:39:52 -08:00
Bill McCloskey
1aa12c38e7 Backout 34791dac914c for assertion failure (bug 803376) 2012-11-09 11:39:39 -08:00
Jonathan Griffin
2ea2f6e5b5 Bug 810421 - Add --tree arg to Marionette, r=ahal 2012-11-09 11:20:51 -08:00
Wes Johnston
41d7374421 Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Andrew Halberstadt
336d764b8c Bug 810041 - Add SPPrefService message listener to B2G mochitests, r=jgriffin 2012-11-09 11:01:11 -08:00
Jeff Muizelaar
3062de063a Bug 801437. Reimplement ensure_copy. r=ehsan
The previous implementation would copy the entire file into memory which
would cause a huge amount of memory usage on when copying large files.
This version copies a block at a time to avoid this.
2012-11-08 16:57:49 -05:00
L. David Baron
baccbd0090 Bug 809533, patch 5: Remove unneeded null-checks in nsIPresShell.h. r=roc 2012-11-09 10:30:28 -08:00
L. David Baron
4ef58f8175 Bug 809533, patch 4: Remove null-checks of NS_New*Frame callers in the frame constructor. r=bzbarsky 2012-11-09 10:30:28 -08:00
L. David Baron
5e73ed3046 Bug 809533, patch 3: Stop handling allocation failures in the style system that no longer need to be handled. r=bzbarsky 2012-11-09 10:30:28 -08:00
Dave Hylands
a15b2468df Bug 783630 - Fix bustage on inbound. 2012-11-09 10:23:18 -08:00
Dave Hylands
5cf12d4e3a Bug 783630 - Make OOP console logs only show up once in logcat. r=bzbarsky 2012-11-09 09:52:09 -08:00
Ehsan Akhgari
1b6b86a207 Merge mozilla-central into mozilla-inbound 2012-11-09 12:52:51 -05:00
Alexander Surkov
8d96c2ac60 Bug 757774 - Fire state change event when link is traversed, r=tbsaunde 2012-11-10 02:37:27 +09:00
Boris Zbarsky
c8deffa677 Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8 2012-11-09 08:24:32 -08:00
Boris Zbarsky
d5b4efd9db Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst 2012-11-09 08:24:32 -08:00
Boris Zbarsky
3f0cab408f Bug 796983 followup to address peterv's comments. r=presumably-peterv 2012-11-09 08:24:32 -08:00
Boris Zbarsky
efa02843d9 Bug 805310. Add some documentation for our object-wrapping helpers. r=peterv 2012-11-09 08:24:32 -08:00