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
Catalin Iacob
83b78343dc
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
2efc3017e5
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Terrence Cole
075d331390
Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
...
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Ted Mielczarek
eeafcabde2
bug 690935 - implement navigator.getGamepads(). r=smaug
...
--HG--
rename : content/events/src/nsDOMGamepad.cpp => dom/gamepad/Gamepad.cpp
rename : content/events/src/nsDOMGamepad.h => dom/gamepad/Gamepad.h
rename : dom/system/GamepadService.cpp => dom/gamepad/GamepadService.cpp
rename : dom/system/GamepadService.h => dom/gamepad/GamepadService.h
extra : rebase_source : da536e09d6c09c605db28e4af4ccccf824efc20d
2012-02-15 19:47:13 -05:00
Jon Coppeard
c43484e0e2
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Timothy Nikkel
f9582bc381
Bug 641188. Ensure that delayed resizes are flushed from the view subsystem to the prescontext's visible area before using the visible area for innerWidth/Height. r=bz
2013-06-12 10:25:32 -05:00
Kyle Huey
8eb6aa2bc8
Bug 854739: Ensure that messages are delivered in order when suspending and resuming workers. r=bent+bholley
2013-06-06 10:28:47 -07:00
Andrea Marchesini
c2a5090d51
Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug
2013-06-01 01:53:00 -07:00
Andrea Marchesini
8e5afa9763
Bug 858524 - Rename nsBarProp to BarProp, r=ms2ger
...
--HG--
rename : dom/base/nsBarProps.cpp => dom/base/BarProps.cpp
rename : dom/base/nsBarProps.h => dom/base/BarProps.h
2013-05-31 03:30:00 -07:00
Bobby Holley
ccfbcf966b
Bug 877390 - Do a blind null check. r=bz
...
Who knows why this happens, but this appears to be the culprit per crash
reports.
2013-05-30 14:49:13 -07:00
Ms2ger
c9bfa03ce9
Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
...
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Jon Coppeard
f53a29e132
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Aryeh Gregor
b14c2cbab2
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
a08274d59c
Bug 868130 - Use an AutoSafeJSContext in hueyfix. r=gabor
2013-05-22 10:05:23 -06:00
Bobby Holley
83b50e7905
Bug 841312 - Replace the scripted closing unblocker termination function with an runnable. r=bz
...
The main idea behind this thing seems to be that we don't want script to quickly
close the window before the user has time to read the notification. Given the
fuzziness of the constraint here, I think we can (and maybe even should) unblock
a little bit later in the event loop, rather than immediately after the script
terminates.
Note that, due to modal dialogs and their event loop spinning shenanigans, we
want to do this only when the stack frame is popped.
2013-05-21 11:45:56 -06:00
Bobby Holley
42a70cf2d5
Bug 841312 - Remove window close termination function, and fall through to PostCloseEvent(). r=bz
...
This is a more jaded version of my previous attempt.
2013-05-21 11:45:56 -06:00
Boris Zbarsky
810766595d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Bobby Holley
88c65fa834
Bug 860941 - Stop clearing return values on navigation. r=jst
...
Since this stuff is a property on the browsing context, this only makes sense
as a security check. But now that we're using a DialogValueHolder, the origin
checks are taken care of. So we can kill this off.
2013-05-17 10:43:19 -07:00
Bobby Holley
ff1416d597
Bug 860941 - Use DialogValueHolder for returnValue. r=jst
...
The spec currently has returnValue as a DOMString, but this doesn't match
reality given my testing. I filed [1] to fix it.
Note that nsGlobalModalWindow is already set up to CC mReturnValue. Since
we're swapping in another CC-ed container class, we don't need to make any
changes here.
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=21771
2013-05-17 10:43:19 -07:00
Bobby Holley
68187fbfaa
Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
...
This is correct by my reading of the spec. Quoting:
The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-17 10:43:19 -07:00
Bobby Holley
e212c13aff
Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
...
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.
The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.
This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.
The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-17 10:43:19 -07:00
Bobby Holley
36a0e8c302
Bug 860941 - Remove unnecessary argument cleanup in nsGlobalWindow::DetachFromDocShell. r=jst
...
This function proceeds to invoke CleanUp(), which also cleans this stuff up.
2013-05-17 10:43:18 -07:00
Bobby Holley
6e9eda51e8
Bug 860941 - Clarify shutdown invariants in ~nsGlobalWindow. r=jst
...
While the mArguments invariant should hold for _outers_, it doesn't necessarily
hold for inners, so this assertion fires reliably in automation. If mCleanedUp
is true then mArguments is definitely null, so let's disentangle this from
mArguments and be clearer about the invariants we expect.
2013-05-17 10:43:18 -07:00
Bobby Holley
fcd577710a
Bug 860941 - Remove mArgumentsLast. r=jst
...
I'm not sure what it used to do, but it sure doesn't do a damn thing now.
2013-05-17 10:43:18 -07:00
Ed Morley
445750b6e6
Backed out changeset 70c3a3a74362 (bug 860941) for mochitest-3 timeouts on a CLOSED TREE
2013-05-17 09:09:21 +01:00
Ed Morley
16fd94e608
Backed out changeset 98594535c1e9 (bug 860941)
2013-05-17 09:08:49 +01:00
Ed Morley
3bc91f40b5
Backed out changeset 474792d1fb89 (bug 860941)
2013-05-17 09:08:46 +01:00
Ed Morley
b61d46f51a
Backed out changeset 0ad1a92ca568 (bug 860941)
2013-05-17 09:08:44 +01:00
Ed Morley
a220dc1713
Backed out changeset 90b318fb8375 (bug 860941)
2013-05-17 09:08:41 +01:00
Ed Morley
7861834d38
Backed out changeset 95006bb32743 (bug 860941)
2013-05-17 09:08:38 +01:00
Ed Morley
003d17a5f8
Backed out changeset de30d8faf09a (bug 860941)
2013-05-17 09:08:36 +01:00
Bobby Holley
6e3c37021b
Bug 860941 - Stop clearing return values on navigation. r=jst
...
Since this stuff is a property on the browsing context, this only makes sense
as a security check. But now that we're using a DialogValueHolder, the origin
checks are taken care of. So we can kill this off.
2013-05-16 23:33:15 -07:00
Bobby Holley
3072f4271d
Bug 860941 - Use DialogValueHolder for returnValue. r=jst
...
The spec currently has returnValue as a DOMString, but this doesn't match
reality given my testing. I filed [1] to fix it.
Note that nsGlobalModalWindow is already set up to CC mReturnValue. Since
we're swapping in another CC-ed container class, we don't need to make any
changes here.
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=21771
2013-05-16 23:33:15 -07:00
Bobby Holley
b062e43926
Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
...
This is correct by my reading of the spec. Quoting:
The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-16 23:33:14 -07:00
Bobby Holley
01f304382c
Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
...
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.
The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.
This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.
The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-16 23:33:14 -07:00
Bobby Holley
4ccd299589
Bug 860941 - Remove unnecessary argument cleanup in nsGlobalWindow::DetachFromDocShell. r=jst
...
This function proceeds to invoke CleanUp(), which also cleans this stuff up.
2013-05-16 23:33:14 -07:00
Bobby Holley
a3e97c9f8e
Bug 860941 - Clarify shutdown invariants in ~nsGlobalWindow. r=jst
...
While the mArguments invariant should hold for _outers_, it doesn't necessarily
hold for inners, so this assertion fires reliably in automation. If mCleanedUp
is true then mArguments is definitely null, so let's disentangle this from
mArguments and be clearer about the invariants we expect.
2013-05-16 23:33:14 -07:00
Bobby Holley
88d503c4d5
Bug 860941 - Remove mArgumentsLast. r=jst
...
I'm not sure what it used to do, but it sure doesn't do a damn thing now.
2013-05-16 23:33:13 -07:00
David Zbarsky
57233197b3
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 16:25:32 -07:00
Masatoshi Kimura
9369a25ddf
Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug
2013-05-14 21:18:39 +09:00
David Zbarsky
cbead1c2c7
Backed out changeset 3b73e9c7a5d0 for orange
2013-05-14 01:00:11 -07:00
David Zbarsky
7519411b1e
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 00:15:53 -07:00
Ehsan Akhgari
b757634fd8
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Mounir Lamouri
171a9e7ce6
Bug 851642 - Make sure fullscreenchange event is sent even when the document is being removed from the doctree. r=smaug
...
... instead of relying on nsScreen being destroyed which was causing flaky
behaviour on Firefox Android (based on GC) and was creating a race condition bug
on Firefox OS.
2013-05-13 12:00:42 +01:00
Ehsan Akhgari
7cb39c2935
Backed out 2 changesets (bug 871315) because different compilers have different standards on what is and is not C++
...
Backed out changeset d0d2e13e8b83 (bug 871315)
Backed out changeset be3976bd2d57 (bug 871315)
Landed on a CLOSED TREE
2013-05-13 14:42:03 -04:00
Ehsan Akhgari
fc17efaf67
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Michael Harrison
6a023a465b
Bug 260272 - Remove obsolete code from nsGlobalChromeWindow::SetCursor. r=dbaron,mats
2013-05-12 23:09:29 +02:00
David Zbarsky
70b156af55
Bug 868312 - Rooting fixes for dom r=bz
2013-05-12 01:17:42 -04:00
David Zbarsky
3a5f2fa41d
Bug 868312 - Some more rooting fixes for dom r=bz
2013-05-10 22:39:45 -04:00
David Zbarsky
e521e7ffff
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Boris Zbarsky
88960e26d8
Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley
2013-05-09 13:07:39 -04:00
Ryan VanderMeulen
882e4068d0
Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
...
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
2ca58dfdf6
Bug 868996. Allow setting opener on the window to non-null, for just the lifetime of the page. r=bholley
2013-05-09 13:07:39 -04:00
David Zbarsky
3c839fc3b2
Bug 868312: Root dom/workers r=bz
2013-05-09 03:27:40 -04:00
Terrence Cole
fd72fc252e
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Ms2ger
f2e25db30c
Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz
2013-05-05 09:03:19 +02:00
Ms2ger
088cca5a9c
Bug 868411 - Handlify js::GetObjectProto; r=bz
2013-05-05 09:03:14 +02:00
David Zbarsky
ef70ce04b7
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
David Zbarsky
40805457eb
Bug 868312: Root nsDOMClassInfo.cpp, part 2 r=bz
2013-05-04 03:51:53 -04:00
Boris Zbarsky
2ead1e05ab
Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger
2013-05-03 19:29:09 -04:00
David Zbarsky
ea0da0d1b4
Bug 868312: Root part of nsDOMClassInfo.cpp r=bz
2013-05-03 14:53:32 -04:00
Bobby Holley
a25082424e
Bug 834699 - Stop checking dom.xbl_scopes. r=bz
2013-05-02 16:02:03 -07:00
David Zbarsky
6557f4fec7
Bug 866450 Part 3: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
David Zbarsky
a79bf02c5d
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Ed Morley
581e7b778e
Backed out changeset b514d768d793 (bug 866450)
2013-05-02 11:57:14 +01:00
Ed Morley
28ddd7f05a
Backed out changeset 6e6a175fc36a (bug 866450)
2013-05-02 11:57:10 +01:00
David Zbarsky
b170dafbb3
Bug 866450 Part 3: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
David Zbarsky
0566d3158e
Bug 866450 Part 2: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
Boris Zbarsky
a2a1edabb4
Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug
2013-05-01 23:44:11 -04:00
Jim Blandy
e9b58eb4dc
Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff
2013-04-30 14:44:50 -07:00
Andrew McCreight
4f9af81b67
Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug
2013-04-30 10:41:23 -07:00
Andrew McCreight
0bafa2c0cd
Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
...
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Bobby Holley
402c35b1ff
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Aryeh Gregor
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Ms2ger
229df37509
Merge m-c to m-i.
2013-04-26 12:32:27 +02:00
Ms2ger
36143fb9dd
Bug 864166 - Part d: Outparamdel nsGlobalWindow::GetWebBrowserChrome; r=mounir
2013-04-26 08:51:04 +02:00
Ms2ger
68ca8fd0a8
Bug 864166 - Part c: Outparamdel nsGlobalWindow::GetTreeOwner; r=mounir
2013-04-26 08:51:01 +02:00
Ms2ger
4555343ab0
Bug 864166 - Part b: Don't return nsresult from infallible helper functions in nsGlobalWindow; r=mounir
2013-04-26 08:50:54 +02:00
Ms2ger
05419b0b82
Bug 864166 - Part a: Handle window.alert(null) in the binding layer; r=mounir
2013-04-26 08:50:02 +02:00
Ms2ger
23b44f251c
Bug 864165 - Outparamdel nsIWidget::GetSizeMode; r=tn
2013-04-26 08:49:47 +02:00
Boris Zbarsky
a7015d2b77
Bug 857555. Make window.content return an existing named frame with that name if there is one. r=bholley
2013-04-25 22:46:19 -04:00
Boris Zbarsky
b99f824099
Bug 704063. Add an unprefixed version of requestAnimationFrame. r=roc, sr=smaug
2013-04-25 11:13:21 -04:00
Boris Zbarsky
e3ccbbb148
Bug 753453. Add a way for us to pass a high-res timestamp to requestAnimationFrame callbacks. r=roc
2013-04-25 11:13:21 -04:00
Boris Zbarsky
5e7cf4462d
Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv
2013-04-24 14:59:15 -04:00
David Zbarsky
77b8a905ca
Bug 861729 - Remove nsPIDOMWindow::mDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
David Zbarsky
e7c500d80d
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Jonathan Watt
c63ee27f69
Backout bug 862693 (Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc)
2013-04-21 11:30:11 +01:00
Marco Bonardo
47b3a19e95
Bug 861302 - Allow indedexDB to be used from about:home
...
r=bz
2013-04-20 13:33:34 +02:00
Boris Zbarsky
a04a090195
Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin
2013-04-19 23:03:02 -04:00
Boris Zbarsky
14089d7cd3
Bug 862540. Make window.status actually be settable (but have no effect unless the pref that no one ever sets is set). r=smaug
2013-04-19 23:03:01 -04:00
David Zbarsky
5826da3d17
Backout 2201d650ac90 for not building on Windows on a CLOSED TREE
2013-04-19 18:57:56 -04:00
David Zbarsky
9190c0be59
Backout f710f8fb2ab0 for not building on windows
2013-04-19 18:57:11 -04:00
David Zbarsky
a2ca7e6c91
Bug 861729 - Remove nsPIDOMWindow::mDocument r=Ms2ger
2013-04-19 18:18:33 -04:00
David Zbarsky
1cc79b4d68
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-19 18:18:33 -04:00
David Zbarsky
335c6fc326
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger
2013-04-19 18:18:32 -04:00
Bobby Holley
9848a77e00
Bug 860438 - Simplify JSContext handling {Cancel,Suspend,Resume}WorkersForWindow. r=gabor
...
The only functional difference here is the removal of a bug in which we were
constructing a dom::workers::AutoSafeJSContext around aCx, but then continuing
to pass aCx to the callee. If aCx were to be null, we'd end up with a mismatch
between the stack and the active cx. But it looks likes stuff depends on cx
being non-null anyway, so that probably never happened.
2013-04-18 11:36:04 -04:00
Bobby Holley
288399f5c0
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Jonathan Watt
42f1e12bb7
Bug 862693 - Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc
2013-04-17 09:22:55 +01:00
Boris Zbarsky
a295fe137f
Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug
2013-04-16 17:16:08 -04:00
Honza Bambas
e7a737bf35
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-15 14:38:48 +02:00
Jose Cortes
47c6e6e146
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(-)
--HG--
extra : rebase_source : af1420550a745aba9fd6c20297ac3cd0075f5ead
2013-04-11 18:52:10 -04:00
Boris Zbarsky
5df1da36da
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Ryan VanderMeulen
e9c65dfa10
Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE.
2013-04-11 17:00:28 -04:00
Jacek Szpot
8123bfdfc5
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-11 11:50:18 -07:00
Ms2ger
20a9e6b03b
bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
...
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ryan VanderMeulen
99647ac22c
Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE.
2013-04-11 13:59:02 -04:00
Honza Bambas
52e949bcbc
Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug
2013-04-11 18:26:06 +02:00
David Zbarsky
a5cb73b253
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger
2013-04-11 12:24:47 -04:00
Ted Mielczarek
c9ccf9b191
Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage.
2013-04-11 09:23:14 -04:00
Ms2ger
6dc688b31d
bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
2013-04-09 08:43:25 -04:00
Andrea Marchesini
7268b75aaf
Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger
2013-04-10 10:20:43 -04:00
Andrea Marchesini
55b96a77aa
Bug 858893 - Rename nsIDOMDesktopNotification to DesktopNotification. r=Ms2ger
...
--HG--
rename : dom/src/notification/nsDesktopNotification.cpp => dom/src/notification/DesktopNotification.cpp
rename : dom/src/notification/nsDesktopNotification.h => dom/src/notification/DesktopNotification.h
2013-04-10 10:20:43 -04:00
Jeff Walden
3b503a25ed
Bug 856384 - Make outer windows always be [[Extensible]]. r=bholley, r=till
2013-04-09 09:07:05 -04:00
Boris Zbarsky
76307e1b88
Back out Bug 810644 part 1 to fix b2g test_closeOnGC.html orange on CLOSED TREE
2013-04-08 22:56:06 -04:00
Boris Zbarsky
2f07f521a5
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Olli Pettay
054845d27c
Bug 858014, make sure nsPIDOMWindow can be used in external apps, like TB/SM, r=neil
...
--HG--
extra : rebase_source : 5c3bfc5bb175efba465be834974d26df34207568
2013-04-07 15:19:56 +03:00
Ryan VanderMeulen
9420af6638
Backed out changeset a85d21e394c0 (bug 854503) for bustage.
2013-04-06 14:37:33 -04:00
Jacek Szpot
ccadc1da47
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-04 12:14:32 +02:00
David Zbarsky
dd55a87c18
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -04:00
David Zbarsky
c2cf14c695
Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger
2013-04-05 20:44:15 -04:00
Eitan Isaacson
5848b6c1b9
Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
...
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Gabor Krizsanits
015106720f
Bug 820170 - nsIGlobalObject. r=bholley
2013-04-04 11:27:06 +02:00
Eitan Isaacson
2ed120291b
Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
...
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Ehsan Akhgari
aa3139644f
Bug 579517 follow-up: Remove NSPR types that crept in
2013-04-02 20:59:27 -04:00
Bill McCloskey
4af9610d20
Bug 856849 - Poison nsGlobalWindow::mJSObject when it's finalized (r=mrbkap)
...
--HG--
extra : rebase_source : 687f1f3662d066ab05f3421625968ca1005f229f
2013-04-02 13:08:41 -07:00
Jan Varga
e8149cfe6e
Bug 854323 - Move IDBFactory to Paris bindings. r=khuey
2013-03-31 10:18:30 +02:00
Bobby Holley
939fedeaee
Bug 790732 - Omit Components object for content scopes. r=mrbkap
2013-03-27 18:27:27 -07:00
Phil Ringnalda
9df92a2118
Back out 8e59146e161e:29acf1494fed (bug 790732) for failing in exactly the same way it failed on the tryserver
...
CLOSED TREE
2013-03-26 23:40:45 -07:00
Bobby Holley
a29395359a
Bug 790732 - Omit Components object for content scopes. r=mrbkap
2013-03-26 22:18:56 -07:00
Jan Varga
71a59dcdc8
Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent
2013-03-26 12:13:17 +01:00
Bobby Holley
232e0f349e
Bug 853571 - Do special detection for sandboxPrototype to make sure the source gets set up right in postMessage. r=bz
2013-03-24 09:27:10 -07:00
Bobby Holley
cd099abe97
Bug 853571 - Add some belt-and-suspenders checks for sketchy scripted caller detection. r=bz
2013-03-24 09:27:09 -07:00
Terrence Cole
a0bedc4bc2
Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm
2013-02-14 14:51:07 -08:00
Ehsan Akhgari
e9e1b63618
Bug 815492 - Pause Web Audio playback when entering the bfcache, and resume it when coming out of the bfcache; r=bzbarsky
2013-03-21 22:59:33 -04:00
Tom Schuster
0112f8352e
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Tom Schuster
012c930168
Bug 828462 - Root Proxy/Wrapper delete. r=terrence
2013-03-21 23:23:48 +01:00
Tom Schuster
ccde5567f1
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
30b86c5cc0
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
fcf6a93bf4
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
Terrence Cole
46f8e831e6
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
Ted Mielczarek
704e2319bc
bug 604039 - Add DOM Gamepad APIs. r=smaug
...
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Boris Zbarsky
24e528d2f7
Bug 852118. Stop window.name being malloc-happy. r=smaug
2013-03-19 21:47:47 -04:00
Jon Coppeard
b9652b9f39
Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
...
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Bobby Holley
33869b92ed
Bug 823227 - Have the global scope polluter find the document via the global. r=bz
2013-03-18 23:06:44 -07:00
Ms2ger
aed8044ac2
Merge m-c to m-i.
2013-03-17 13:22:37 +01:00
Ms2ger
865e2310fc
Bug 851134 - Part b: Implement the EventTarget getters in the WebIDL API for Event directly instead of calling the XPIDL implementations; r=smaug
2013-03-17 08:55:17 +01:00
Bill McCloskey
bfa3037d1f
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Bobby Holley
4a97aa3720
Bug 850517 - Factor out child window lookup into a helper. r=mrbkap
2013-03-14 22:38:26 -07:00
Avi Halachmi
6d3158ca39
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Olli Pettay
8f72caeb73
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Jon Coppeard
0b6f2291f6
Bug 841801 - Allow proxies to be finalized in the background r=billm
...
--HG--
extra : rebase_source : 48da96daddf75f505bf90c8e2ce2cdd6daf04cc5
2013-02-21 10:19:17 +00:00
Ryan VanderMeulen
fe36f261c6
Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE.
2013-03-05 15:44:15 -05:00
Bobby Holley
6f783fc8dc
Bug 790732 - Omit Components object for content scopes. r=mrbkap
2013-03-05 10:02:00 -08:00
Ryan VanderMeulen
6e3b96a2df
Backed out changeset 00ed3d264438 (bug 590422) for OSX browser-chrome failures on a CLOSED TREE.
2013-02-26 22:05:51 -05:00
Avi Halachmi
096f69a2e2
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Bobby Holley
2589449122
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Bobby Holley
e83e186c1b
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