Commit Graph

404 Commits

Author SHA1 Message Date
Andrea Marchesini
286e0c9290 Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Andrew McCreight
798ec9614e Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Andrew McCreight
8404f86555 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-20 12:55:40 -08:00
Andrew McCreight
6c86943613 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Andrew McCreight
df1f09f072 Backout bug 951491 on suspicion of causing Valgrind leaks 2014-02-19 16:10:58 -08:00
Andrew McCreight
7cd422c324 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Andrew McCreight
448f3e51a9 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-19 13:27:15 -08:00
Boris Zbarsky
022c86a654 Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug 2014-02-19 10:13:38 -05:00
Boris Zbarsky
7ee245a69d Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey 2014-02-19 10:13:38 -05:00
Bobby Holley
7c4284bf87 Bug 956382 - Consider document.domain for showModalDialog's dialogArguments and returnValue. r=mrbkap 2014-02-13 18:57:35 -08:00
Boris Zbarsky
c15e175b05 Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv 2014-02-05 23:37:30 -05:00
Boris Zbarsky
c248437b5a Bug 964875 part 2. Add a static nsGlobalWindow::IsChromeWindow test function for use in Func annotations. r=peterv 2014-02-05 23:36:59 -05:00
Blake Kaplan
e4776a973f Bug 966498 - Refactor nsGlobalWindow::Alert and nsGlobalWindow::Confirm to not be exactly the same. r=bzbarsky
--HG--
extra : rebase_source : 03c77843bc6693d5d56d106ea58f5f921038be3e
2014-01-31 15:02:56 -08:00
Masatoshi Kimura
02870ebbdd Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Boris Zbarsky
4a2e39fc36 Bug 945416 part 5. Implement nsGlobalWindow::GetOwnPropertyNames and flag the interface as NeedNewResolve. r=peterv 2014-01-29 22:33:27 -08:00
Boris Zbarsky
c044a6c065 Bug 945416 part 4. Introduce a DoNewResolve method on nsGlobalWindow and call it from nsWindowSH::NewResolve. r=peterv 2014-01-29 22:33:25 -08:00
Ms2ger
256d45304e Bug 952016 - Part b: Remove unused nsGlobalWindow::GetScriptContextInternal; r=smaug 2014-01-20 08:58:23 +01:00
Ms2ger
b9047f1e77 Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Andrea Marchesini
62bd00021f Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Ehsan Akhgari
1b83407ce9 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
c05250509f 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
2909676a03 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
be4a974b23 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Peter Van der Beken
38771ca378 Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Boris Zbarsky
5b212815ea Bug 948096. Warn when people use window._content. r=smaug,myk 2013-12-12 16:11:54 -05:00
Boris Zbarsky
fc8f65ba99 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
f0fc407c57 Bug 946641 - Part 1: Clear delayed events on closed documents. (r=smaug) 2013-12-06 19:31:09 -08:00
Nathan Froyd
4174f51d65 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
abca27fb7c Bug 943668 - ensure window.screenX and .screenY return css pixels. r=roc 2013-12-03 16:36:33 +11:00
Ms2ger
fc05d7bc0a Bug 866689 - Add more inner / outer window assertions; r=mrbkap 2013-11-28 15:07:55 +01:00
Olli Pettay
fe989e3819 Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Bobby Holley
8e73b817c0 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
d7c44c8903 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
fb73812f4a 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
ec11d1a86c 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
dfc2297bd8 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
7cd50d2f15 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
e01445a2df 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
5952e14704 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
57e0597683 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
63933ee05b Backed out changeset fd177e58f30b (bug 922160) 2013-10-23 15:51:21 +01:00
Peter Van der Beken
d27efa298e 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
9ab68d6b69 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Ryan VanderMeulen
9abde8f9b2 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
e2f7b57b3e Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
5c6d197b06 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
ebb9068971 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Tim Abraldes
e3a854773f 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
1047bbdaba bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz 2013-10-08 14:00:12 -07:00
Nicholas Nethercote
75f194c48c 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