Ryan VanderMeulen
fa9b96ffa1
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
a81078e6ad
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Bobby Holley
edbaddcb05
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -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
Chris Pearce
4e772e74b2
Bug 805613 - Support multiple concurrent fullscreen documents. r=bz
2013-02-26 18:40:53 +13:00
David Dahl
fe353ddb08
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch - r=jst
2013-02-16 22:43:19 -06:00
David Dahl
e123849519
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
2013-02-16 22:43:16 -06:00
Phil Ringnalda
831705d590
Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures
2013-02-15 23:33:45 -08:00
David Dahl
20976b1aef
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst
2013-02-15 23:34:18 -06:00
David Dahl
fc0b16a7c4
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
2013-02-15 23:34:15 -06:00
Trevor Saunders
bbf0a805f5
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
443e419ad9
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Bobby Holley
d9ee052116
Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
...
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01: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
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
Josh Matthews
893bb64c12
Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer
2013-02-12 14:24:23 -05: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
Ryan VanderMeulen
f24b6c842c
Merge m-c to inbound.
2013-01-29 10:50:01 -05:00
Boris Zbarsky
7fd53b910e
Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv
2013-01-29 08:44:01 -05:00
Boris Zbarsky
4c4e5fbac4
Bug 829252 part 1. Change nsGlobalWindow to use nsIDOMEventTarget as the canonical isupports instead of nsIScriptGlobalObject. We'll need this to be able to cast to it properly in binding code. r=peterv
2013-01-29 08:44: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
Olli Pettay
b9ff44f3d6
Bug 835503 - Remove nsCycleCollector::ShouldBeFreed/WasFreed, r=mccr8
2013-01-29 12:45:38 +02:00
Boris Zbarsky
421feacdcb
Bug 828787. Stop allowing indexed expandos on windows. r=peterv
2013-01-22 15:29:53 -05:00
Nicholas Nethercote
ef63d8fa25
Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
2013-01-17 21:21:43 -08:00
Boris Zbarsky
9d36a38dff
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Bobby Holley
1712c18669
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
12a948d258
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
2b76964ead
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Trevor Saunders
c55a85644c
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Gary Kwong
9eb23a8dc4
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
Olli Pettay
a9e0f78998
Bug 830948, null check mDocshell before using it, r=bz
2013-01-16 01:12:14 +02:00
Mats Palmgren
7532b4e736
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Andrew McCreight
404dc6b595
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00
Trevor Saunders
667dfe1f8a
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Nathan Froyd
a156f3b05d
Bug 827356 - make DOMWINDOW debugging messages use consistent addresses; r=bz
2013-01-07 10:56:24 -05:00
Boris Zbarsky
33644a7110
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Trevor Saunders
182f3ee366
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Daniel Holbert
3dc2bce535
Bug 825949 followup: in nsGlobalWindow::SetTimeoutOrInterval, make |realInterval| unsigned, since it's known-nonnegative and is passed elsewhere as an unsigned integer. r=smaug
2013-01-03 13:48:52 -08:00
Robert O'Callahan
ae130ef998
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Boris Zbarsky
228dcf60f6
Bug 810644 followup to fix -Werror red in opt builds. r=bustage
2013-01-03 14:41:02 -05:00
Boris Zbarsky
14bec63e7d
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