Commit Graph

1329 Commits

Author SHA1 Message Date
Nathan Froyd
126656fada 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
d0e56d0b88 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Masatoshi Kimura
18d6c0f5ff Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Oleg Romashin
9ded402547 Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Masatoshi Kimura
679ef4d260 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Bobby Holley
f209e98c03 Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz 2014-02-10 10:03:56 -08:00
Ms2ger
5fb8b261b1 Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
9a272394cf Bug 967206 - Remove !mDoc->EventHandlingSuppressed() assertion in ~nsGlobalWindow; r=mrbkap 2014-02-09 09:04:39 +01:00
Boris Zbarsky
99513523d7 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
38c067be0b Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05: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
33143fbabc 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
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
Boris Zbarsky
760e2f3710 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
e131d468b7 Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley) 2014-01-29 17:20:16 -08:00
Eric Faust
78eb6b8a3e Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley) 2014-01-29 17:20:16 -08:00
Olli Pettay
173f386c40 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
6c50f755ed 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
d10337280e Bug 959787 - Handlify JS_Delete* APIs r=sfink 2014-01-22 11:28:06 +00:00
Ms2ger
4f1e9b830b Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Ms2ger
c2509e5cc0 Bug 952016 - Part c: Avoid a QI in nsGlobalWindow::GetTopWindowRoot; 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
Terrence Cole
f7e4661151 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
f39e81815a Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Blake Kaplan
47b0d252cb Bug 958780 - B2G Crash during FTU. r=smaug 2014-01-13 16:56:07 -08:00
Trevor Saunders
ff0491aef6 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Andrea Marchesini
202e31a90e Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 19:53:31 +01:00
Andrea Marchesini
62bd00021f Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Wes Kocher
3689d3ffb3 Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g 2014-01-06 18:10:34 -08:00
Andrea Marchesini
c02db1b031 Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley 2014-01-07 00:05:01 +01:00
Andrew McCreight
dce493cdb0 Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug 2014-01-06 11:54:43 -08: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
Boris Zbarsky
5704575923 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
fb33d230d0 Bug 951413 - Really unsuppress inner window docs on detach from docshell. (r=smaug) 2013-12-19 15:34:26 -08: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
256bf7e59c Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Ehsan Akhgari
be4a974b23 Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky 2013-12-16 09:03:34 -05:00
Trevor Saunders
d43c55ca0e 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
38771ca378 Bug 938640 - Make forwarding to outer conditional on current inner. r=bz. 2013-12-14 18:52:13 +01:00
Peter Van der Beken
b7bb947338 Bug 938640 - Move GetTopImpl. r=bz. 2013-12-14 18:52:12 +01:00
Eric Faust
46a65bdd10 Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley) 2013-12-13 12:01:30 -08:00
Steve Fink
80aa980365 Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz 2013-12-11 17:51:58 -08:00
Bobby Holley
07df154678 Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Bobby Holley
5bd2767e3a Bug 937317 - When invoking a callback object, restore the incumbent script settings object from when the callback was created. r=bz
See the 'incumbent script' stuff in the WebIDL spec.
2013-12-11 17:51:58 -08:00
Nathan Froyd
4e5308cf32 Bug 946781 - part 4 - revert measuring the proto and iface cache on nsGlobalWindow (bug 922094); r=me 2013-12-06 13:11:53 -05:00