Commit Graph

1834 Commits

Author SHA1 Message Date
Boris Zbarsky
cffedad1d1 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
c004c525a7 Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz 2014-02-14 22:39:34 -08:00
Bobby Holley
7ecb459863 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
518ec04b50 Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap 2014-02-13 18:57:36 -08:00
Bobby Holley
4aecd26fde 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
9f5ec1da94 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
0df72e25fb Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Masatoshi Kimura
a227531e9c Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Oleg Romashin
b3563459ee Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Masatoshi Kimura
0aa52380f3 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Bobby Holley
12e01de839 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Ms2ger
8814b81ddd Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
ff09de1af5 Bug 967206 - Remove !mDoc->EventHandlingSuppressed() assertion in ~nsGlobalWindow; r=mrbkap 2014-02-09 09:04:39 +01:00
Boris Zbarsky
4bbdab3cf8 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
35dc765d46 Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
Boris Zbarsky
647cfb925c Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv 2014-02-05 23:37:30 -05:00
Boris Zbarsky
100597ab9f 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
6e5120b3b6 Bug 966498 - Get rid of unnecessary reinterpret_casts and avoid some unnecessary work. r=bzbarsky 2014-01-31 15:03:09 -08:00
Blake Kaplan
d9dc86712d Bug 966498 - Refactor nsGlobalWindow::Alert and nsGlobalWindow::Confirm to not be exactly the same. r=bzbarsky 2014-01-31 15:02:56 -08:00
Masatoshi Kimura
306b926f7f Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Boris Zbarsky
aa1e068c75 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
b6ba2b65f4 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
748a0e4ef0 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
ee79650729 Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
8dbffa3bfc Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley) 2014-01-29 17:20:16 -08:00
Olli Pettay
72ce55d307 Bug 959585, clear capturing content before entering modal state, r=mrbkap, f=enn 2014-01-28 09:15:47 -08:00
Nathan Froyd
652c9cbe9e 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
ab211abbee Bug 959787 - Handlify JS_Delete* APIs r=sfink 2014-01-22 11:28:06 +00:00
Ms2ger
582319fb44 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Ms2ger
adcb85409f Bug 952016 - Part c: Avoid a QI in nsGlobalWindow::GetTopWindowRoot; r=smaug 2014-01-20 08:58:23 +01:00
Ms2ger
f86b1e51ad Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Terrence Cole
7e8aca51e9 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger 2014-01-14 12:41:22 -08:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Blake Kaplan
f7ff75b993 Bug 958780 - B2G Crash during FTU. r=smaug 2014-01-13 16:56:07 -08:00
Trevor Saunders
c5bbaf6b46 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Andrea Marchesini
151ad9648e Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Andrea Marchesini
1acf681d59 Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Wes Kocher
4cf8013e7f Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
5b1199a9fe Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrew McCreight
d721fa69df Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08:00
Ehsan Akhgari
68bfe70f09 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
f455f08b92 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
cc579fb435 Bug 951413 - Really unsuppress inner window docs on detach from docshell. (r=smaug) 2013-12-19 15:34:26 -08:00
Blake Kaplan
60b1527909 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
3dfc543079 Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky 2013-12-17 09:12:33 -05:00
Ehsan Akhgari
e3ce6f6b8e Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Ehsan Akhgari
9763a5cd11 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Trevor Saunders
b4ae5fdd96 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Peter Van der Beken
04e4e4e054 Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Peter Van der Beken
cc2b204263 Bug 938640 - Move GetTopImpl. r=bz. 2013-12-14 18:52:12 +01:00