Boris Zbarsky
ebafdd1727
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
David Zbarsky
96800c4570
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Xin Zhang
af100eed90
Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
2013-04-22 14:15:49 -07:00
Jose Cortes
46e0a9991a
Bug 842186 - Replace use of jsval with JS::Value in dom/base. r=jwalden
...
From 1a684ed61615d32965201e55335478d5f403ac4a Mon Sep 17 00:00:00 2001
cpp files in the dom/base/ directory. r=jwalden
---
dom/base/Crypto.cpp | 3 +-
dom/base/DOMRequest.cpp | 12 +++---
dom/base/DOMRequest.h | 4 +-
dom/base/Navigator.cpp | 10 ++---
dom/base/nsDOMJSUtils.h | 6 +--
dom/base/nsDOMWindowUtils.cpp | 20 ++++-----
dom/base/nsGlobalWindow.cpp | 24 +++++------
dom/base/nsIJSNativeInitializer.h | 4 +-
dom/base/nsJSEnvironment.cpp | 73 +++++++++++++++++----------------
dom/base/nsJSEnvironment.h | 8 ++--
dom/base/nsJSTimeoutHandler.cpp | 4 +-
dom/base/nsJSUtils.h | 2 +-
dom/base/nsStructuredCloneContainer.cpp | 10 ++---
13 files changed, 91 insertions(+), 89 deletions(-)
2013-04-11 18:52:10 -04:00
Boris Zbarsky
0268e9f119
Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv
2013-01-03 14:02:42 -05:00
Steve Fink
649d0ce671
Bug 789593 - Clone typed arrays by cloning their buffers and only saving construction parameters. r=jorendorff, bent
...
Also enters a compartment where needed, and bumps both the structured clone and IndexedDB schema versions
2013-02-22 13:43:28 -08:00
Jan de Mooij
26d80e1236
Merge from mozilla-central.
2013-03-26 10:57:26 +01:00
Jan de Mooij
f40e640206
Merge from mozilla-inbound.
2013-03-25 10:27:13 +01:00
Jan de Mooij
1a7f348202
Merge from mozilla-central.
2013-03-22 10:39:40 +01:00
Jan de Mooij
41f9deb2c9
Merge from mozilla-central.
2013-03-20 12:54:47 +01:00
Terrence Cole
362aeadb6e
Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
...
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Jan de Mooij
ebfa209616
Merge from mozilla-central.
2013-03-18 16:53:57 +01:00
Bill McCloskey
490af25d66
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Benoit Girard
f4b3710284
Bug 851611 - Part 3: Rename headers. r=jrmuizel
2013-03-18 15:25:50 +01:00
Benoit Girard
4146042cfd
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
2013-03-16 00:47:02 -04:00
Jan de Mooij
4be6d44239
Merge from mozilla-central.
2013-03-08 09:57:47 +01:00
Terrence Cole
e3816f03a6
Bug 851568 - Remove HoldScriptObject and DropScriptObject; r=smaug
2013-03-19 10:20:22 -07:00
Jan de Mooij
68b1bd2b5c
Merge from mozilla-central.
2013-02-27 17:25:37 +01:00
Jan de Mooij
e83b46e731
Merge from mozilla-central.
2013-02-21 15:56:12 +01:00
Jan de Mooij
823ecfd38b
Merge from mozilla-central.
2013-02-19 11:34:59 +01:00
Jan de Mooij
e7736d3f3e
Merge from mozilla-central.
2013-02-14 12:24:36 +01:00
Olli Pettay
2aee18d9ed
Bug 844313 - Call GC more likely when there are lots of Events to collect, r=mccr8
2013-03-07 20:53:19 +02:00
Jon Coppeard
66d2e2f630
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
2013-03-06 16:41:43 +00:00
Ed Morley
0e54ea5e7a
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jan de Mooij
848155dcf2
Merge from mozilla-inbound.
2013-02-12 16:37:37 +01:00
Jon Coppeard
76e226089a
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
2013-03-06 16:41:43 +00:00
Jan de Mooij
e3523e6b98
Merge from mozilla-inbound.
2013-02-08 09:20:14 +01:00
Jeff Walden
f91f785300
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
2013-02-07 18:04:11 -08:00
Jan de Mooij
91b8b2eab2
Bug 837628 - Add baseline JIT browser prefs. r=djvj
2013-02-05 11:11:26 +01:00
L. David Baron
b6b42cafaa
Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn
2013-02-17 22:56:32 -08:00
Nicholas Nethercote
0ecd4216a9
Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
2013-02-06 21:35:16 -08:00
Ehsan Akhgari
58241be690
Bug 853556 - Make nsRootedJSValueArray::SetCapacity return void; r=bzbarsky
2013-03-21 14:39:17 -04:00
Dave Hylands
b3a05563e5
Bug 842932 - Update to use Preferences::RegisterCallbackAndCall to correct pref callback from getting wrong params. r=smaug
2013-02-20 11:49:51 -08:00
Bobby Holley
396e37a781
Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap
2013-02-26 11:04:12 -08:00
Bobby Holley
f6920a0bac
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
4b13cc3ad2
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
7570d65d99
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Luke Wagner
df1c6eeff2
Bug 840282 - OdinMonkey (sr=dmandelin)
2013-03-15 02:29:02 -07:00
Ryan VanderMeulen
f2151cfdbc
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
919377d94c
Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
1673008ebe
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
1c187f957b
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
03a8c695c6
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Gabriele Svelto
60bd57564a
Bug 820438 - Immediately apply changes in maximum script runtime to make them visible in content processes. r=jst
2013-01-31 18:23:50 +01:00
Nicholas Nethercote
03e9f7ae1b
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
6c1eebfede
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
2d2d004475
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Olli Pettay
877d8a2477
Bug 836457 - Don't start forgetSkippable/GC timer before first GC, r=mccr8
2013-01-31 00:46:37 +02:00
Ryan VanderMeulen
f24b6c842c
Merge m-c to inbound.
2013-01-29 10:50:01 -05:00
Boris Zbarsky
d499c92995
Bug 834785. Make sure to not ask the JS engine for return values in toplevel scripts, so it'll be able to ion-compile them as needed. r=bholley
2013-01-29 08:44:00 -05:00