Commit Graph

375 Commits

Author SHA1 Message Date
Ms2ger
878b32ec4a Bug 866689 - Add more inner / outer window assertions; r=mrbkap 2013-11-28 15:07:55 +01:00
Olli Pettay
fa64f21519 Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Bobby Holley
15add0796f Bug 840488 - Remove per-JSContext script toggling. r=bz
Note that the checks in nsJSEnvironment::EvaluateString and EvalInWindow
can safely go away, because we call ssm->ScriptAllowed() in
nsJSUtils::EvaluateString.
2013-11-12 16:43:35 -08:00
Robert O'Callahan
b6d168990f Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz 2013-09-04 23:37:46 +12:00
Phil Ringnalda
98204c9e49 Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
bc92ced36e Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz
--HG--
extra : rebase_source : 17eabb4f819748ab9ec0ef38681c28df7b0a1861
2013-09-04 23:37:46 +12:00
Peter Van der Beken
cbf7a0c800 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Ms2ger
34f7a76bb1 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Olli Pettay
b015635ca8 Bug 930498 - BarProps should be got from the inner window not from the outer, r=peterv 2013-10-25 14:12:01 +03:00
Peter Van der Beken
17b2c2776e Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz.
--HG--
extra : rebase_source : e4bed124f36e94e1aa646b24783f7f2c682e31b5
2013-10-08 17:51:15 +02:00
Ed Morley
f84da565ad Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Peter Van der Beken
770ee58c74 Bug 922160 - Bring EventHandler.webidl more in line with the spec, rename BeforeUnloadEventHandler to OnBeforeUnloadEventHandler. r=bz
--HG--
extra : rebase_source : acb2edc950b13a16621421801779caf496663595
2013-10-08 17:51:15 +02:00
Kyle Huey
ed10f7b8b4 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Ryan VanderMeulen
e9e247b525 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
b98758cdbd Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
7f4c6bd321 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
d9a28b7f74 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Tim Abraldes
5290e038f7 bug 910501. Remove the rate-limiting behavior of the "Prevent this page from creating additional dialogs" checkbox. That behavior was unintentionally added and is confusing. r=bz,gavin 2013-10-08 14:00:12 -07:00
Tim Abraldes
cb1a14e52c bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz 2013-10-08 14:00:12 -07:00
Nicholas Nethercote
258c2f4cdf Bug 921923 (part 3) - Make multi-output sizeOfFoo() functions more consistent in content/, dom/ and layout/. r=till.
--HG--
extra : rebase_source : ac8aebe86b4b7ee5acc0f541be5645abf73b6a98
2013-09-30 16:20:23 -07:00
Boris Zbarsky
145b4483f7 Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug 2013-09-23 20:25:17 -04:00
Olli Pettay
d3863cecc5 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Kyle Huey
cf498d852b Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Benoit Jacob
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Ehsan Akhgari
36280b9569 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Kan-Ru Chen (陳侃如)
a7e64cb3fe Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ms2ger
44830af93b Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey 2013-08-22 08:33:59 +02:00
Ms2ger
dd5239111f Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Olli Pettay
ff4865eaff Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03: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
962b3d3ad7 Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap 2013-08-12 12:54:49 -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
Ryan VanderMeulen
3975a5e805 Bug 901416 - Follow-up fix for Werror bustage. 2013-08-07 20:45:54 -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
David Zbarsky
cdc9360b32 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-08-05 00:51:22 -04:00
David Zbarsky
1c3d0b79ca Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Bill McCloskey
ca26060518 Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -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
Jon Coppeard
1bb7f2a908 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01: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
Ehsan Akhgari
c574bc3e98 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04:00
Ted Mielczarek
aa974a78e0 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
586c7b4514 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
Andrea Marchesini
1ead46dece Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug 2013-06-01 01:53:00 -07:00
Andrea Marchesini
42942f5604 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