Bobby Holley
b306fdba14
Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
...
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
a6c8c396cf
Bug 901106 - Get rid of vestigial nsJSRuntime instance and make it a namespace. r=mrbkap
...
We'll rename the namespace shortly.
2013-08-19 16:24:29 -07:00
Bobby Holley
4e0f1d69d4
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Masatoshi Kimura
ffde56cf45
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Ehsan Akhgari
c0a07f27fe
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Kyle Huey
ca3e0665dd
Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking
2013-08-13 08:49:11 -04:00
Bobby Holley
d51c959abd
Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap
2013-08-12 12:54:51 -07:00
Bobby Holley
32e6b2535f
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
d567ebfffa
Bug 901364 - Switch to the XPConnect operation callback for DOM windows. r=mrbkap
2013-08-12 12:54:49 -07:00
Bobby Holley
79f4b2294d
Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap
2013-08-12 12:54:49 -07:00
Johnny Stenback
eb82278883
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Peter Van der Beken
fd990e273b
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Terrence Cole
a08ea9c568
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Carsten "Tomcat" Book
87a23c556a
merge b2g-inbound to mozilla-central
2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
f0bfac3d0e
merge mozilla-inbound to mozilla-central
2013-08-08 13:13:05 +02:00
Marco Castelluccio
7a53f37405
Bug 769848 - window.resizeTo fails is blocked in apps. r=jst
2013-08-07 20:17:34 -04:00
Jeremy Kim
3c7a37695e
Bug 901416 - Don't add multiple instances of the network-blip observer to nsGlobalWindow. r=jlebar
2013-08-07 20:07:41 -04:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Yoshi Huang
dfc815e181
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Masatoshi Kimura
5f8f13c41c
Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug
2013-08-01 23:48:18 +09:00
Bill McCloskey
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Masatoshi Kimura
a7c7daa22e
Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat
2013-08-01 06:44:51 +09:00
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
08f9b6fd28
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Bobby Holley
bdfd3b10bb
Bug 893324 - Invoke CleanUp synchronously and unconditionally for modal dialog windows. r=jst
...
Historically, we've had a bunch of complicated machinery to delay the call to
CleanUp() for modal dialogs, since we needed to harvest the return value after
the window closed. But in the current world we don't actually null out
mReturnValue in CleanUp() at all, which presumably happened sometime around the
time mReturnValue became cycle-collected. So this stuff can just go away. \o/
That simplification is righteous in itself. But it also fixes the bug here as-
filed. When the user quits while a modal dialog is currently being displayed,
a failure code ends up bubbling up through windowWatcher to the OpenInternal call
in nsGlobalWindow::ShowModalDialog, which means that we're unable to do our
delayed CleanUp() call for the outer modal window. At first it seemed like a hard
problem to solve, but with the above it becomes trivial.
2013-07-26 15:46:13 -07:00
David Zbarsky
b9c20a7821
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Jon Coppeard
6c0077c7f6
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Tom Schuster
c3a3b8fa79
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Bobby Holley
8e0afa92a2
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
152a99c222
Bug 887334 - Push a JSContext in nsGlobalWindow::SecurityCheckURL. r=gabor
2013-07-17 11:53:54 -07:00
Bobby Holley
5420505253
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
Ryan VanderMeulen
97083e557a
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
Drew Willcoxon
47be8d8d34
Bug 894234 - Guard against audioContext->IsOffline(). r=ehsan
2013-07-17 09:59:08 -04:00
Tom Schuster
46fe724e6d
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
fae15265a4
Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc
2013-07-10 11:58:13 +02:00
Drew Willcoxon
086255d6ab
Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan
2013-07-03 17:44:32 -07:00
Johnny Stenback
7faf821ddb
Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org.
2013-07-09 06:58:21 -07:00
Jeff Walden
63dbd9617f
Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
...
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Ms2ger
0a7d6a39da
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +02:00
Ms2ger
98f1aa4ba9
Bug 888318 - Use CSSIntPoint for nsGlobalWindow::ScrollTo; f=kats r=mrbkap
2013-07-01 09:14:34 +02:00
Ms2ger
d031b8f2f5
Bug 888235 - Use CSSIntSize for nsGlobalWindow::GetInnerWidth/Height; f=kats r=mrbkap
2013-07-01 09:14:24 +02:00
Bobby Holley
05ff089d53
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-30 09:00:19 -06: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
Bobby Holley
adb2251a40
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-29 18:44:05 -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
Andrew McCreight
317ce7416a
Bug 886213 - Cycle collect Navigator more better. r=smaug
2013-06-28 11:06:39 -07:00