Commit Graph

388 Commits

Author SHA1 Message Date
Ms2ger
a72d78e50d Bug 952016 - Part b: Remove unused nsGlobalWindow::GetScriptContextInternal; r=smaug 2014-01-20 08:58:23 +01:00
Ms2ger
651d4d9a09 Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Andrea Marchesini
3b6ab3516b Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Blake Kaplan
8e23aa0ed3 Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug 2013-12-17 16:12:33 -08:00
Ehsan Akhgari
e363f2fa61 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
c5a5de09b4 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Peter Van der Beken
96cb8f849a Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Boris Zbarsky
e235bc59e0 Bug 948096. Warn when people use window._content. r=smaug,myk 2013-12-12 16:11:54 -05:00
Boris Zbarsky
edf7535090 Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv 2013-12-09 10:34:04 -05:00
Shu-yu Guo
fad663f8cf Bug 946641 - Part 1: Clear delayed events on closed documents. (r=smaug) 2013-12-06 19:31:09 -08:00
Nathan Froyd
0b960b9239 Bug 922094 - part 2 - make nsGlobalWindow report its proto/iface cache size, if appropriate; r=bz 2013-11-20 08:55:09 -05:00
Mark Hammond
44f5fc86c7 Bug 943668 - ensure window.screenX and .screenY return css pixels. r=roc 2013-12-03 16:36:33 +11:00
Ms2ger
183598fd46 Bug 866689 - Add more inner / outer window assertions; r=mrbkap 2013-11-28 15:07:55 +01:00
Olli Pettay
8811aec37f Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Bobby Holley
23cf12e7bb 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
198bf75d39 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
b679ae2f4c 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
2f979dbeb4 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
69e7c5ae55 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
88bbf03777 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
45ef6c1adc 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
7763e77565 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
df4301d42d 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
9d319b42f1 Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Peter Van der Beken
fd440fa746 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
4801b8ae53 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Ryan VanderMeulen
a80b1ea22a 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
80a708caab Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
95093a98d7 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
6d62264056 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Tim Abraldes
41a507bc9b 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
541ac77ee8 bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz 2013-10-08 14:00:12 -07:00
Nicholas Nethercote
b0fbe50f2b 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
ac390ab247 Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug 2013-09-23 20:25:17 -04:00
Olli Pettay
d2504e072c Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Kyle Huey
9533d150e0 Bug 910924: Give workers an nsIGlobalObject. r=bent,bholley 2013-09-08 20:28:48 -07:00
Benoit Jacob
5479e2b22e Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Ehsan Akhgari
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Robert O'Callahan
8ca63f18ef 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 (陳侃如)
51932f5d24 Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ms2ger
a5bc3bff5b Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey 2013-08-22 08:33:59 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Olli Pettay
b74af2cf58 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
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
79f4b2294d Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap 2013-08-12 12:54:49 -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
Ryan VanderMeulen
987bbb9c94 Bug 901416 - Follow-up fix for Werror bustage. 2013-08-07 20:45:54 -04:00