Bobby Holley
8483c43066
Bug 887334 - Require cx->compartment() to be null when destroying a context. r=luke
...
If it's non-null, that means we've got a JSAutoCompartment on the stack, which
is going to run into trouble when it tries to restore the old compartment on
the now-dead cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
9c6a589771
Bug 887334 - Stop setting the compartment to defaultCompartmentObject_->compartment(). r=luke
...
With this change, defaultCompartmentObject_ is just an opaque (though traced)
piece of embedder state on the cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
e90ffdfc21
Bug 887334 - Push a JSContext in nsGlobalWindow::SecurityCheckURL. r=gabor
2013-07-17 11:53:54 -07:00
Bobby Holley
f3d5f0ab60
Bug 887334 - Conditionally enter a compartment in WorkerPrivate::DoRunLoop. r=mrbkap
2013-07-17 11:53:54 -07:00
Bobby Holley
3de3782239
Bug 887334 - Enter a compartment in indexedDB's ThreadLocalJSRuntime. r=bent
2013-07-17 11:53:54 -07:00
Bobby Holley
6934cef71d
Bug 887334 - Fix JSAPI test harness to not fail when the initial compartment is null. r=luke
...
I don't know why it's done this way, but it sure needs to change.
2013-07-17 11:53:53 -07:00
Bobby Holley
b6dac750a0
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
Bobby Holley
c045da868b
Bug 887334 - Enter a compartment between manual calls to JS_{Save,Restore}FrameChain. r=luke
...
The stuff in nsXBLProtoImplMethod is doing the same thing, so let's just have
it call into nsJSUtils.
2013-07-17 11:53:52 -07:00
Bobby Holley
017bc7491e
Bug 887334 - Add a JSAutoCompartment to AutoCxPusher. r=luke,gabor
...
This should hopefully take care of any cases where consumers expect to be in
the default compartment.
2013-07-17 11:53:52 -07:00
Bobby Holley
ba7f2199ac
Bug 887334 - Use the new AutoCompartment overload for the atoms compartment and remove AutoEnterAtomsCompartment. r=bhackett
...
We have to do some temporary hackiness to deal with some of the new PJS work.
This patch stays as true to the old world as possible, so that we can more
easily backport it.
2013-07-17 11:53:52 -07:00
Bobby Holley
3c5aaefdba
Bug 887334 - Don't rethrow in quickstubs if there's already an exception pending. r=luke
2013-07-17 11:53:52 -07:00
Bobby Holley
72a7f93f19
Bug 887334 - Add a JSCompartment* to AutoCompartment and use it in JS_NewGlobalObject. r=luke
...
This gets rid of the wonky setCompartment usage in that function.
2013-07-17 11:53:52 -07:00
Bobby Holley
f8f0c7796d
Bug 887334 - Move faulty JSAutoRequest in initSelfHosting. r=luke
...
The call to JS_SetGlobalObject causes cx->compartment_ to be set to the self-
hosting global, which means that the JSAutoCompartment picks up that compartment
as the 'previous' compartment. So despite the attempt to restore things with
JS_SetGlobalObject at the end of the function, the JSAutoCompartment destructor
actually ends up leaving cx in the self-hosting global's compartment at the end
of this function. Moving the JSAutoCompartment construction above the call to
JS_SetGlobalObject fixes the problem.
2013-07-17 11:53:51 -07:00
Bobby Holley
73d2852f5d
Bug 887334 - Null-check compartment() in JS_GetGlobalForScopeChain(). r=luke
...
cx->global() assumes a non-null compartment(). When we fix up various bugs
related to being in a compartment when we shouldn't be, we start to crash here.
Fix it.
2013-07-17 11:53:51 -07:00
Bobby Holley
18c1d08a65
Bug 887334 - Rejigger the string manipulation in OnJSContextNew to avoid depending on being in a compartment. r=luke
...
The current code makes calls that assume (implicitly, via assertions) that |cx|
is in a compartment, which isn't a valid assumption going forward.
2013-07-17 11:53:51 -07:00
Bobby Holley
ea06c3d7e0
Bug 887334 - Remove AutoSwitchCompartment. r=luke
...
This thing is...yikes.
2013-07-17 11:53:50 -07:00
Nicolas B. Pierron
8b65d18c25
Bug 867856 - Fix intermittent timeout of bug743094.js test case. r=h4writer
2013-07-17 11:51:19 -07:00
Nicolas B. Pierron
dac3810b4d
Bug 892426 - Add an additional temp-Register to SetElementIC. r=jandem
2013-07-17 11:51:19 -07:00
Guillaume Abadie
ca394c5d9c
Bug 895010 - Disable WebGL vertex array objects for now - r=jgilbert
...
--HG--
extra : rebase_source : 49a35c72470b1300a9f2b5267b88db195c4242df
2013-07-17 14:47:41 -04:00
Gregory Szorc
fa360ff4ff
Bug 845050 - FileCopier support for symlinks; r=glandium
2013-07-17 11:44:33 -07:00
Jim Mathies
42e77dc922
Bug 881463 - Fix for intermittent browser_selection_textarea.js. r=rsilveira
2013-07-17 13:43:26 -05:00
Jim Mathies
92e43f1a4b
Bug 888236 - Cleanup MetroWidget's Destroy method, shutdown layer manager and call base widget destroy methods. Potential fix for crash in nsIFrame::GetNearestWidget(). r=bbondy
2013-07-17 13:43:26 -05:00
Till Schneidereit
3718002644
Bug 894948 - Remove effectively-dead analysis-related code from interpreter. r=jandem
...
--HG--
extra : rebase_source : 037764b4c11746ee52d5347c76e2a5242b35afab
2013-07-17 19:21:10 +02:00
Luke Wagner
7ddebe9e84
Bug 882008 - OdinMonkey: fix subtraction to take doublish, rm Use (r=bbouvier)
...
--HG--
extra : rebase_source : 819570ab142518328aa41a1c6b81ffa0a5d7b96f
2013-07-02 11:38:43 -07:00
Luke Wagner
9f7de824b9
Bug 880538 - LifoAlloc::release after parsing every function (r=bbouvier)
...
--HG--
extra : rebase_source : 9ead29e3dc5110f2b1f30c5218c41cbbc26555e5
2013-06-21 16:20:47 -07:00
Luke Wagner
84aa193982
Bug 880538 - move 'hasDestructuringArgs' flag into the FunctionBox (r=bhackett)
...
--HG--
extra : rebase_source : d65025cd591c7faf9e64f4768da0b2b8352ee393
2013-06-28 10:29:58 -07:00
Luke Wagner
4cf02d1c92
Bug 880538 - store a pointer from ParseContext to it's PNK_FUNCTION ParseNode (r=bhackett)
...
--HG--
extra : rebase_source : acb4b0e5d94d0c1777173a4b0f378c46591805b3
2013-06-28 10:29:58 -07:00
Luke Wagner
97f82d46cf
Bug 880538 - set pn->pn_funbox immediately (r=bhackett)
...
--HG--
extra : rebase_source : 11b265e64f8355989632bd2556ed119a397cb10a
2013-06-21 16:07:25 -07:00
Luke Wagner
d060f8f8b8
Bug 880538 - OdinMonkey: don't create an IonContext in MacroAssembler (r=sstangl)
...
--HG--
extra : rebase_source : c949b8337141681eb983ca4792849a726a059e18
2013-06-28 10:29:57 -07:00
Luke Wagner
53ff11b8ad
Bug 880538 - OdinMonkey: make a single pass over the parse tree (r=bbouvier)
...
--HG--
extra : rebase_source : c5aafde69f44906750d1d62d6878bfbab9e048ee
2013-06-13 11:48:47 -07:00
Francesco Lodolo [:flod]
793a8f6b53
Bug 894844 - Add localization comment to plural forms in AccessFu.properties. r=yzen
2013-07-17 14:34:22 -04:00
Birunthan Mohanathas
72915bbb6b
Bug 891334 - Add default MIME type definition for .pdf as 'application/pdf'. r=jdm
2013-07-17 14:34:22 -04:00
Ben Kelly
768a0393e8
Bug 845205 - Do not reset the style context when removing unset properties. r=dbaron
2013-07-17 14:34:22 -04:00
Guillaume Abadie
7315912dd4
Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert
2013-07-17 12:13:38 -04:00
Ryan VanderMeulen
049e48a959
Merge m-c to inbound.
2013-07-17 14:34:19 -04:00
Gaia Pushbot
2c1f090aa6
Bumping gaia.json for 3 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/34a53279dad4
Author: Fernando RodrÃguez Sela <frsela@tid.es>
Desc: Merge pull request #10967 from frsela/STK/Bug893614
Bug 893614: [STK]The maxlength of the inputbox didn't set corretly in GET_INPUT command. r=timdream
========
https://hg.mozilla.org/integration/gaia-central/rev/9639bb544bde
Author: Fernando Rodriguez Sela <frsela@tid.es>
Desc: Fixed maxLength issue: Bug #818270
========
https://hg.mozilla.org/integration/gaia-central/rev/ed55a8214233
Author: Fernando Rodriguez Sela <frsela@tid.es>
Desc: Fix disabling ICC button and removing keyboard after maxlenght
2013-07-17 11:00:23 -07:00
Gaia Pushbot
c99770654e
Bumping gaia.json for 2 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/38218b466aa1
Author: Gareth Aye <gaye@mozilla.com>
Desc: Merge pull request #10257 from lightsofapollo/ensure-hours-cleanup-803934
Bug 803934 - Ensure hours cleanup
========
https://hg.mozilla.org/integration/gaia-central/rev/ca37a33ec9a8
Author: James Lal <james@lightsofapollo.com>
Desc: Bug 803934 - Actually turn on flag so empty event hours disappear in months day view.
2013-07-17 10:25:22 -07:00
Gaia Pushbot
345ff3fc7b
Bumping gaia.json for 1 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/6e0ed9a4781a
Author: Eric O'Connor <eric@bocoup.com>
Desc: Bug 889207 - [leo-pre-iot-br] [SMS] The message received before 12:00(AM) midnight is shown as TODAY in thread_list - r=gnarf
The message received before 12:00(AM) midnight is shown as TODAY
in thread_list
This patch triggers updateTimeHeaders on the next minute boundary,
instead of a 50 second poll.
Closes gh-10952
2013-07-17 10:15:28 -07:00
Ryan VanderMeulen
5131a6768c
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Ed Morley
477df96442
Backed out changeset ad74eb485a87 (bug 891695) for startup crashes on a CLOSED TREE
2013-07-17 17:18:11 +01:00
Ed Morley
0917f8d010
Backed out changeset 1b2c43ed9fdc (bug 879963) for intermittent failures in test_redundant_font_download.html
2013-07-17 17:07:54 +01:00
Ed Morley
9424eb7c9e
Backed out changeset 33c17daf66bf (bug 879963)
2013-07-17 17:07:30 +01:00
Ed Morley
95aa93605f
Backed out changeset e0c9008cb0be (bug 879963)
2013-07-17 17:07:27 +01:00
William Chen
9e883ad8f5
Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:06 -07:00
William Chen
ca763cf5e3
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:03 -07:00
Gaia Pushbot
4acf231a19
Bumping gaia.json for 2 gaia-central revision(s)
...
========
https://hg.mozilla.org/integration/gaia-central/rev/01b756692eff
Author: Jan Jongboom <janjongboom@gmail.com>
Desc: Merge pull request #11022 from comoyo/b2g_desktop_broken
Bug 894388 - Fix errors during startup in B2G desktop. r=salva
========
https://hg.mozilla.org/integration/gaia-central/rev/e9dd9d508624
Author: Jan Jongboom <janjongboom@gmail.com>
Desc: Bug 894388 - Fix errors during startup in B2G desktop
2013-07-17 08:45:27 -07:00
Ryan VanderMeulen
8f0d3e140e
Backed out 3 changesets (bug 889480, bug 889788, bug 888908) for mochitest-bc orange.
...
Backed out changeset d1c616745325 (bug 889788)
Backed out changeset 6fe281a19554 (bug 888908)
Backed out changeset 9b855bab8073 (bug 889480)
2013-07-17 11:34:25 -04:00
Jose Antonio Olivera Ortega
e14bf6b18d
Bug 893727 - Part 2: Test for CLIP. r=ferjm
2013-07-17 17:28:34 +02:00
Jose Antonio Olivera Ortega
7f2836f9cf
Bug 893727 - Part 1: RIL changes for CLIP support. r=ferjm
2013-07-17 17:28:30 +02:00
Dan Gohman
2c331edac2
Bug 891739 - IonMonkey: Make or_ and xor_ range analysis even more precise, and avoid calling js_bitscan_clz32 with a zero operand. r=nbp,waldo
2013-07-17 08:16:05 -07:00