Bobby Holley
4cd50c50a8
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
694b2f0c90
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-30 09:00:19 -06:00
Bobby Holley
05ff089d53
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
1f929a8626
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-30 09:00:19 -06:00
Bobby Holley
799d59a0a4
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-30 09:00:18 -06:00
Bobby Holley
d2865be525
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-30 09:00:18 -06:00
Bobby Holley
9b8345e3a5
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-30 09:00:18 -06:00
Bobby Holley
c04e34eb37
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-30 09:00:18 -06:00
Bobby Holley
0a9087ae0d
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-30 09:00:17 -06:00
Gaia Pushbot
6e6a347c80
Bumping gaia.json for 6 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/c201d63425a6
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #10708 from ferjm/mmiresultfinal
MMI localization support (multiple commits)
========
https://hg.mozilla.org/integration/gaia-central/rev/110a490561bb
Author: Fernando Jiménez <ferjmoreno@gmail.com>
Desc: Bug 879685 - (mmi-localization-cw) [MMI] Localization of Call Waiting functionality. r=ferjm
========
https://hg.mozilla.org/integration/gaia-central/rev/a24294e33110
Author: Fernando Jiménez <ferjmoreno@gmail.com>
Desc: Bug 879694 - (mmi-localization-cb) [MMI] Localization of Call Barring functionality. r=rik
========
https://hg.mozilla.org/integration/gaia-central/rev/f21ed81960ce
Author: Jose Antonio Olivera Ortega <josea.olivera@gmail.com>
Desc: Bug 879680 - (mmi-result-cf) [MMI] Use MMIResult for Call Forwarding related functionality. r=ferjm
========
https://hg.mozilla.org/integration/gaia-central/rev/acea7c21c021
Author: Fernando Jiménez <ferjmoreno@gmail.com>
Desc: Bug 874000 - (mmi-result-pin) [MMI] Use MMIResult for PIN/PIN2/PUK related functionality. r=rik
========
https://hg.mozilla.org/integration/gaia-central/rev/bb0646386fb4
Author: Fernando Jiménez <ferjmoreno@gmail.com>
Desc: Bug 884349 - [MMI] Use MMIResult for get IMEI. r=rik
2013-06-30 05:55:22 -07:00
Fernando Jiménez
dd4473d382
Bug 883178 - [MMI] Implement DOMMMIResult and DOMMMIError. Part 2: DOMMMIResult and DOMMMIError. r=vicamo, sr=sicking
2013-06-30 20:21:32 +08:00
Fernando Jiménez
0c00b7b5ed
Bug 883178 - [MMI] Implement DOMMMIResult and DOMMMIError. Part 1: DOMError. r=sicking, sr=peterv
2013-06-30 20:21:31 +08:00
Phil Ringnalda
c37d044ace
Merge birch and m-i to m-c
2013-06-29 17:29:09 -07:00
Max Li
2cc1ddf131
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
579015c5cb
Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc
2013-06-29 11:53:49 -07:00
Gaia Pushbot
0d553fb7bd
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
3581b92b44
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
684b942461
Bug 880917 - Add a clobber. r=RyanVM
2013-06-29 09:11:20 -06:00
Bobby Holley
9660c3e29e
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
489c96a151
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
dd971bfb8c
Bug 880917 - Remove JS_SetVersion and version override machinery. r=luke
...
\o/
2013-06-29 09:11:19 -06:00
Bobby Holley
9b2a8040e9
Bug 880917 - Remove js_RevertVersion and associated shell functionality. r=luke
2013-06-29 09:11:19 -06:00
Bobby Holley
d74725cf62
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
b279157b5e
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
c5c7c812ca
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
8ddaa2c00c
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
f1be1a01ff
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
87d9ab415f
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
59df287653
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
49f8ff5f9d
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
6838b751e1
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
12e90239ad
Merge m-c to m-i
2013-06-29 06:56:34 -07:00
Phil Ringnalda
8a0af35cc5
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Phil Ringnalda
0d1e3423a9
Merge m-i to m-c
2013-06-29 06:54:12 -07:00
Gaia Pushbot
5e5512efa2
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
d7ce01f33e
Bug 839955 - Enable new SVG text frames. r=roc
2013-06-29 23:00:39 +10:00
Cameron McCormack
bf8e851cd1
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
Robert O'Callahan
28e97a2f28
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
aa7316894b
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
fc116353df
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
8cfacdc312
Bug 888105 - '.DS_Store files can screw up origin initialization.' r=janv.
2013-06-29 19:25:15 -07:00
Bobby Holley
eb3e2db571
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
f8a389da3d
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
78a6220dfc
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
f33a413188
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
adb2251a40
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
c4a4101312
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
14bdba1b02
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-29 18:44:04 -06:00
Bobby Holley
12f373123b
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
30b44b13f5
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