Commit Graph

136662 Commits

Author SHA1 Message Date
Robert O'Callahan
2b403babce Bug 886618. Part 2: Simplify OOM handling when stealing array buffer data. r=ehsan
--HG--
extra : rebase_source : 1343b39cdf4e65af99219da47e778f86d8a38b04
2013-06-30 00:30:35 +12:00
Phil Ringnalda
154f8fcd88 Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test 2013-06-29 20:27:48 -07: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
Ben Turner
7597d6da65 Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv. 2013-06-29 19:25:15 -07:00
Bobby Holley
e689963ce5 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
493debc74c Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley
a1b9c40166 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
ee83c8bf21 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
43e05e2159 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley
ae5be6ca13 Bug 865745 - Use a SafeJSContext in TabChildParent. r=smaug
This is just used for rooting, but happens to be a consumer of
nsFrameMessageManager::GetJSContext, which we're about to remove.
2013-06-29 18:44:05 -06:00
Bobby Holley
43f796458e Bug 865745 - Remove redundant cx push. r=smaug
AutoSafeJSContext will always push.
2013-06-29 18:44:04 -06:00
Bobby Holley
ee0eec3b74 Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-29 18:44:04 -06:00
Bobby Holley
b3db761665 Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Bobby Holley
6cfd72f068 Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug 2013-06-29 18:44:04 -06:00
Bobby Holley
ede6f4ff01 Bug 865745 - Stop depending on mCx during frame script execution. r=smaug 2013-06-29 18:44:03 -06:00
Phil Ringnalda
c6482a5eeb Merge birch and m-i to m-c 2013-06-29 17:29:09 -07:00
Max Li
8c47f605d4 Bug 886077 - Can't access address bar using Spiel screen reader. r=lucasr
Relanded because bug 887020 accidentally reverted this patch.
2013-06-29 17:18:38 -04:00
David Zbarsky
e4852e695c Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc 2013-06-29 11:53:49 -07:00
Gaia Pushbot
ef49a68ee2 Bumping gaia.json for 2 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/a65adcda6817
Author: Anthony Ricaud <anthony@ricaud.me>
Desc: Merge pull request #10686 from Rik/notifications-883829

Bug 883829 - When the handset receives a notification in Portuguese, the relative time is cut r=alive

========

https://hg.mozilla.org/integration/gaia-central/rev/d5401872c20f
Author: Anthony Ricaud <anthony@ricaud.me>
Desc: Bug 883829 - When the handset receives a notification in Portuguese, the relative time is cut
2013-06-29 09:25:36 -07:00
Jeff Muizelaar
40805e15ff Bug 886845. Paint component alpha layer borders in blue. r=nical
More information is more better.
2013-06-29 11:34:03 -04:00
Bobby Holley
2b92c1a052 Bug 880917 - Add a clobber. r=RyanVM 2013-06-29 09:11:20 -06:00
Bobby Holley
8e593f3125 Bug 880917 - Remove AutoVersionAPI. r=luke
This doesn't do anything anymore. The compile options should generally carry
the right version through, with the exception of eval, which will end up using
the version of the running script anyway.
2013-06-29 09:11:20 -06:00
Bobby Holley
0017d49e02 Bug 880917 - Hoist defaultVersion into the runtime and remove it from the JSContext. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
45b8e8f871 Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
7776d82812 Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
d12dacd7b6 Bug 880917 - Add an API to mutate the version on the compartment and use it from the shells. r=luke 2013-06-29 09:11:19 -06:00
Bobby Holley
bbfa496f9b Bug 880917 - Remove XPConnect version munging test. r=luke
This test calls the version() shell command, and expects it to work like an
override, rather than the dumb compartment-mutator that I'm turning it into.
Let's just kill the test.
2013-06-29 09:11:18 -06:00
Bobby Holley
f77eb1e574 Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
1a78a5f7db Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Bobby Holley
4ed4784c75 Bug 880917 - Remove AutoVersionChecker. r=luke
Looks like cdleary added this back in bug 595691, as an equivalence to some
even-older-and-more-overly-cautious XBL code that was saving and restoring
the version across XBL calls. It doesn't seem like this should be an issue
anymore, and it's just a debugging aid to boot. Let's kill it.
2013-06-29 09:11:18 -06:00
Bobby Holley
2846036f12 Bug 880917 - Remove testVersion.cpp. r=luke
This test coverages seems to be mostly testing functionality we're removing like
overrides and version introspection. Let's just kill it.
2013-06-29 09:11:17 -06:00
Bobby Holley
4f5d414a60 Bug 880917 - Introduce an API for callers to set the version for a compartment. r=luke
This has lower precedence than 'overrides' and running script, and higher
precedence than the cx's version. We can migrate the API consumers who clearly
want something like this, which will eventually let us remove the override
mechanism.
2013-06-29 09:11:17 -06:00
Bobby Holley
f5f7bf3be5 Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
af7109afb8 Bug 880917 - Remove support for munging JS versions from JSD. r=luke
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-29 09:11:16 -06:00
Phil Ringnalda
eeebdfbb6f Merge m-c to m-i 2013-06-29 06:56:34 -07:00
Phil Ringnalda
4099cadf2a Merge m-c to birch 2013-06-29 06:55:30 -07:00
Phil Ringnalda
63a1e98f79 Merge m-i to m-c 2013-06-29 06:54:12 -07:00
Gaia Pushbot
0793fa4068 Bumping gaia.json for 2 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/4d1b68747220
Author: Mihai Cîrlănaru <mihai@cirlanaru.com>
Desc: Merge pull request #10705 from mcirlanaru/bug_888110

Bug 888110 - [Keyboard] Show '$' as alternative when long pressing ... r=@RudyLu

========

https://hg.mozilla.org/integration/gaia-central/rev/c43bdfcab806
Author: Mihai Cirlanaru <mihai@cirlanaru.com>
Desc: Bug 888110 - [Keyboard] Show '$' as alternative when long pressing the 'S' key. r=rudyl
2013-06-29 06:15:25 -07:00
Cameron McCormack
6667913f6d Bug 839955 - Enable new SVG text frames. r=roc 2013-06-29 23:00:39 +10:00
Cameron McCormack
9709ba8032 Bug 884718 - Inflate mRect of SVG text by a device pixel to paper over some rounding issues. r=roc 2013-06-29 22:59:35 +10:00
Reuben Morais
998c2ba4bf Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug 2013-06-29 03:52:16 -07:00
ffxbld
852cbdbc59 No bug, Automated blocklist update from host bld-linux64-ec2-116 - a=blocklist-update 2013-06-29 03:25:23 -07:00
Robert O'Callahan
7ef9b92ccb Bug 886618. Part 3: Handle null data in ConvolverNode. r=ehsan
--HG--
extra : rebase_source : 64e9c67937db1bea84bc3445d1e774782b5de419
2013-06-29 17:32:18 +12:00
Jacek Caban
b3cb48347d Bug 887821 - GCC compilation failure in RadialGradientEffectD2D1.cpp r=jmuizelaar 2013-06-29 12:13:42 +02:00
Jacek Caban
a1d8801b86 Bug 880836 - Fixed 'extra qualification' error on GCC. 2013-06-29 12:13:17 +02:00
Phil Ringnalda
677b5f1844 Merge m-c to birch 2013-06-28 18:50:09 -07:00
Phil Ringnalda
f044a51be0 Merge m-i to m-c 2013-06-28 18:26:53 -07:00
Phil Ringnalda
08757975e1 Merge birch to m-c 2013-06-28 18:26:14 -07:00
Gaia Pushbot
6bb2c25f37 Bumping gaia.json for 2 gaia-central revision(s)
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/b34b8df8f2b6
Author: Gareth Aye <gaye@mozilla.com>
Desc: Merge pull request #10615 from nullaus/bug-828980

Bug 828980 - Implement first time use 'swipe to navigate' hint to be shown once to the user.

========

https://hg.mozilla.org/integration/gaia-central/rev/7224bbb5591e
Author: Ghislain 'Aus' Lacroix <aus@mozilla.com>
Desc: bug 828980

Implement first time use 'swipe to navigate' hint to be shown once to the user.

r=gaye, kgrandon, lightsofapollo
2013-06-28 14:56:39 -07:00
Dan Gohman
2f7720bacb Bug 885179 - Refactor visitMoveGroup into shared code. r=jandem 2013-06-28 11:34:55 -07:00