Commit Graph

1153 Commits

Author SHA1 Message Date
Masatoshi Kimura
431087ee79 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Ehsan Akhgari
3ec2c9b451 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
5905c6e3c8 Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking 2013-08-13 08:49:11 -04:00
Bobby Holley
81026a6fdf Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap 2013-08-12 12:54:51 -07:00
Bobby Holley
e923703302 Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap 2013-08-12 12:54:50 -07:00
Bobby Holley
3e44192004 Bug 901364 - Switch to the XPConnect operation callback for DOM windows. r=mrbkap 2013-08-12 12:54:49 -07:00
Bobby Holley
962b3d3ad7 Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap 2013-08-12 12:54:49 -07:00
Johnny Stenback
4c163e91d9 Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
Peter Van der Beken
3256529063 Bug 895758. Make the global scope polluter a proxy. r=bzbarsky 2013-07-09 10:45:13 -04:00
Terrence Cole
61b15c2fbb 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
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Carsten "Tomcat" Book
2e9c4e6c35 merge b2g-inbound to mozilla-central 2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
637a43421b merge mozilla-inbound to mozilla-central 2013-08-08 13:13:05 +02:00
Marco Castelluccio
502d6e1f10 Bug 769848 - window.resizeTo fails is blocked in apps. r=jst 2013-08-07 20:17:34 -04:00
Jeremy Kim
25f99068c5 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
25d70fdd97 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
3a8a76e455 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Mike Hommey
d01b5df996 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
93b88d2366 Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
Bill McCloskey
ca26060518 Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -07:00
Masatoshi Kimura
b85aa29a35 Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Tom Schuster
0b021a6fa2 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Bobby Holley
c00f6379ec 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
9dbd7cffb9 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Bobby Holley
38ba111543 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
040dbd4c2b Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Jon Coppeard
1bb7f2a908 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01:00
Tom Schuster
8e3e74bfea Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02: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
b6dac750a0 Bug 887334 - Miscellaneous JSAutoCompartments. r=luke 2013-07-17 11:53:53 -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
Drew Willcoxon
2107f8a4cc Bug 894234 - Guard against audioContext->IsOffline(). r=ehsan 2013-07-17 09:59:08 -04:00
Tom Schuster
cb80974d17 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
5db9476062 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02:00
Drew Willcoxon
9a245e82e1 Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan 2013-07-03 17:44:32 -07:00
Johnny Stenback
7209a4a1c5 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
296b917e73 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
9a38df8e56 Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Ms2ger
7b4e543404 Bug 888318 - Use CSSIntPoint for nsGlobalWindow::ScrollTo; f=kats r=mrbkap 2013-07-01 09:14:34 +02:00
Ms2ger
4019955ea2 Bug 888235 - Use CSSIntSize for nsGlobalWindow::GetInnerWidth/Height; f=kats r=mrbkap 2013-07-01 09:14:24 +02:00
Bobby Holley
d337596c9c Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06: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
Bobby Holley
43e05e2159 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -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
Andrew McCreight
5205d3798d Bug 886213 - Cycle collect Navigator more better. r=smaug 2013-06-28 11:06:39 -07:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Gabor Krizsanits
756a8f8c8c Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Terrence Cole
0ae404a1ee Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00