Commit Graph

1341 Commits

Author SHA1 Message Date
Andrew McCreight
ecbce16b57 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-20 12:55:40 -08:00
Andrew McCreight
b86e8fb3a9 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-20 12:55:40 -08:00
Andrew McCreight
40808535d3 Backout bug 966762 for Valgrind leaks 2014-02-19 17:17:58 -08:00
Andrew McCreight
41c4e14aa4 Backout bug 951491 on suspicion of causing Valgrind leaks 2014-02-19 16:10:58 -08:00
Andrew McCreight
7cd675b3c0 Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug 2014-02-19 13:27:15 -08:00
Andrew McCreight
ac2549bd60 Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz 2014-02-19 13:27:15 -08:00
Boris Zbarsky
9b012272ba 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
4b181d6e57 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
65a9234cc8 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley
bfbb0757c7 Bug 968460 - Use the incumbent global for nsGlobalWindow::GetCallerGlobal and remove JS_GetScriptedGlobal. r=bz 2014-02-14 22:39:33 -08:00
Bobby Holley
4211893075 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley
1a92f02338 Bug 956382 - Consider document.domain in wacky postMessage security check. r=mrbkap
We can clean this stuff up in bug 968460.
2014-02-13 18:57:35 -08:00
Nathan Froyd
e8c9ef59b8 Bug 972372 - fix DOMWINDOW printfs to use the canonical nsISupports pointer for matching CC logs; r=bz 2014-02-12 12:53:13 -05:00
Jon Coppeard
25c1a75044 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Masatoshi Kimura
0a3d8da618 Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Oleg Romashin
66a2336ff0 Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Masatoshi Kimura
590e1730d2 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Bobby Holley
18b05894d8 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Ms2ger
1e7031caa5 Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
a3c46f9203 Bug 967206 - Remove !mDoc->EventHandlingSuppressed() assertion in ~nsGlobalWindow; r=mrbkap 2014-02-09 09:04:39 +01:00
Boris Zbarsky
a334772520 Bug 934509. Make sure to not accidentally pass 0 to ClearTimeoutOrInterval, even if someone calls clearInterval(0) on an Xray for a Window. r=peterv 2014-02-07 08:52:01 -05:00
Ehsan Akhgari
289dcad87c Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
Boris Zbarsky
b20cb3109b Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv 2014-02-05 23:37:30 -05:00
Boris Zbarsky
d070a202de 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
4e072c6746 Bug 966498 - Get rid of unnecessary reinterpret_casts and avoid some unnecessary work. r=bzbarsky
--HG--
extra : rebase_source : 2a4af4e36ab5b3248fe9b45e597ae23a8fad62b3
2014-01-31 15:03:09 -08:00
Blake Kaplan
2d1677d65a 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
8949c3a6fe Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Boris Zbarsky
f2da4794d9 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
43c7d1c9d4 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
Boris Zbarsky
e31f8a4e76 Bug 964891. Don't put up a slow script dialog for no-longer-current inners. Just kill the script instead. r=smaug 2014-01-29 22:32:57 -08:00
Eric Faust
95e5640927 Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
ff5d8eb725 Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley) 2014-01-29 17:20:16 -08:00
Olli Pettay
d8fb2aa926 Bug 959585, clear capturing content before entering modal state, r=mrbkap, f=enn
--HG--
extra : rebase_source : 31d6fa26fbabd6cdded638fa24d946f9f9d97a13
2014-01-28 09:15:47 -08:00
Nathan Froyd
029f7421d1 Bug 962600 - don't spam error messages about DOM storage failing to create keys; r=bz 2013-12-06 12:48:21 -05:00
Jon Coppeard
8c7f1266ed Bug 959787 - Handlify JS_Delete* APIs r=sfink 2014-01-22 11:28:06 +00:00
Ms2ger
87874d98a0 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Ms2ger
d6e49bef92 Bug 952016 - Part c: Avoid a QI in nsGlobalWindow::GetTopWindowRoot; 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
Terrence Cole
57d2483809 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger
--HG--
extra : rebase_source : 0e0e75028f12db9cc4cf612a9205525669b70267
2014-01-14 12:41:22 -08:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Blake Kaplan
4ff018849c Bug 958780 - B2G Crash during FTU. r=smaug 2014-01-13 16:56:07 -08:00
Trevor Saunders
64d5d5a8ed bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Andrea Marchesini
a78e19a577 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Andrea Marchesini
3b6ab3516b Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Wes Kocher
1789589121 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
80df46356b Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrew McCreight
bd11c4fff8 Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08: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
Boris Zbarsky
46618df149 Bug 951245. Forwarding to outer should check for active document, not current inner, to handle document.open() cases. r=peterv 2013-12-20 14:28:18 -05:00
Shu-yu Guo
7ee17a1024 Bug 951413 - Really unsuppress inner window docs on detach from docshell. (r=smaug) 2013-12-19 15:34:26 -08:00