Luke Wagner
4c59cb92eb
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Andrew McCreight
38957cb028
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-20 12:55:40 -08:00
Andrew McCreight
9264ccbc55
Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz
2014-02-20 12:55:40 -08:00
Andrew McCreight
7ca0781046
Backout bug 966762 for Valgrind leaks
2014-02-19 17:17:58 -08:00
Andrew McCreight
5087973976
Backout bug 951491 on suspicion of causing Valgrind leaks
2014-02-19 16:10:58 -08:00
Andrew McCreight
558195773a
Bug 966762 - Add chrome JS function to unlink ghost windows. r=smaug
2014-02-19 13:27:15 -08:00
Andrew McCreight
fbecfce6d2
Bug 951491 - Ensure ResumeTimeouts() after FreeInnerObjects() does nothing. r=bz
2014-02-19 13:27:15 -08:00
Boris Zbarsky
e15f10d52f
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
2166b04394
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
bb7e5e5083
Bug 968003 - Return null for frameElement with a cross-origin parent. r=bz
2014-02-14 22:39:34 -08:00
Bobby Holley
c163a63a57
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
2fd8b7b977
Bug 956382 - Remove usage of explicit *IgnoringDomain variants. r=mrbkap
2014-02-13 18:57:36 -08:00
Bobby Holley
0e4e95f3f1
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
471e3c8d91
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
52381adba2
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Masatoshi Kimura
9306836991
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Oleg Romashin
baddfd8a3b
Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug
2014-02-10 22:33:29 -08:00
Masatoshi Kimura
84b0ee5c63
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Bobby Holley
983a6bbd24
Bug 969156 - Don't fire onNewGlobalObject until the end of nsGlobalWindow::SetNewDocument. r=bz
2014-02-10 10:03:56 -08:00
Ms2ger
b27251ab25
Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz
2014-02-09 09:04:39 +01:00
Ms2ger
8037366650
Bug 967206 - Remove !mDoc->EventHandlingSuppressed() assertion in ~nsGlobalWindow; r=mrbkap
2014-02-09 09:04:39 +01:00
Boris Zbarsky
efecec1ec9
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
39adaff9ec
Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug
2014-02-06 15:00:37 -05:00
Boris Zbarsky
eeb237d028
Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv
2014-02-05 23:37:30 -05:00
Boris Zbarsky
21aad0242d
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
e0715678fc
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
ddb3014feb
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
b2599eeeaf
Bug 964964 - Remove window.pkcs11. r=bz
2014-01-30 20:00:01 +09:00
Boris Zbarsky
c1480f74ad
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
78f22014c4
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
c6f7471ec5
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
2ae17ed581
Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley)
2014-01-29 17:20:16 -08:00
Eric Faust
c41d46714f
Bug 924720 - Part 7: Move and rename OuterWindowProxyObject::class_. (r=bholley)
2014-01-29 17:20:16 -08:00
Olli Pettay
11135ed6c2
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
79807e3f70
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
636ac5c203
Bug 959787 - Handlify JS_Delete* APIs r=sfink
2014-01-22 11:28:06 +00:00
Ms2ger
a8af3aad23
Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz
2014-01-20 08:58:26 +01:00
Ms2ger
74a78cf603
Bug 952016 - Part c: Avoid a QI in nsGlobalWindow::GetTopWindowRoot; r=smaug
2014-01-20 08:58:23 +01:00
Ms2ger
19e5583851
Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug
2014-01-20 08:58:23 +01:00
Terrence Cole
422649470f
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
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Blake Kaplan
31a437817a
Bug 958780 - B2G Crash during FTU. r=smaug
2014-01-13 16:56:07 -08:00
Trevor Saunders
9478cae48b
bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug
2014-01-06 17:34:15 -05:00
Andrea Marchesini
c0b77c900e
Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley
2014-01-07 19:53:31 +01:00
Andrea Marchesini
12742b5c15
Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug
2014-01-07 13:16:07 +01:00
Wes Kocher
84aaa0cdb5
Backed out changeset e451b39305f6 (bug 949488) for breaking mochitest-8 on at least b2g
2014-01-06 18:10:34 -08:00
Andrea Marchesini
55c3093167
Bug 949488 - postMessage's targetOrigin argument should accept /, r=bholley
2014-01-07 00:05:01 +01:00
Andrew McCreight
737d0d5fa9
Bug 956455, part 1 - WrapNative's holder argument is unnecessary. r=smaug
2014-01-06 11:54:43 -08:00
Ehsan Akhgari
ebd358dfd7
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
1caadebe3a
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
be50a5e9fc
Bug 951413 - Really unsuppress inner window docs on detach from docshell. (r=smaug)
2013-12-19 15:34:26 -08:00
Blake Kaplan
5a1403e62a
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
ce9c4676d6
Bug 949445 - Part 2: Move Selection to WebIDL; r=bzbarsky
2013-12-17 09:12:33 -05:00
Ehsan Akhgari
22ed390f77
Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
...
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Ehsan Akhgari
b5e08b6467
Bug 950523 - Part 2: Move MediaQueryList to WebIDL bindings; r=bzbarsky
2013-12-16 09:03:34 -05:00
Trevor Saunders
907dfc4528
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
6136a7c202
Bug 938640 - Make forwarding to outer conditional on current inner. r=bz.
2013-12-14 18:52:13 +01:00
Peter Van der Beken
528dba0d42
Bug 938640 - Move GetTopImpl. r=bz.
2013-12-14 18:52:12 +01:00
Eric Faust
e1ed4ead58
Bug 926012 - Part 3: Convert wrappers to using dynamic prototype hooks. (r=bholley)
2013-12-13 12:01:30 -08:00
Steve Fink
be4b9213bd
Bug 937317 - Root around GC call GetIncumbentGlobal. r=bz
2013-12-11 17:51:58 -08:00
Bobby Holley
a7395d2ec6
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
904374035f
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
cc206f7727
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
Peter Van der Beken
b742139fb8
Bug 936129 - nsGlobalWindow::InnerForSetTimeoutOrInterval is a no-op for bareword setTimeout. r=bz.
...
--HG--
extra : rebase_source : 3a7875435f6443c67af9030fa4e39cac6aac8a49
2013-11-26 16:28:34 +01:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
e2e1627d17
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Phil Ringnalda
ec57391e9c
Merge m-c to m-i
2013-12-06 21:11:17 -08:00
Shu-yu Guo
691c4d7088
Bug 946641 - Part 1: Clear delayed events on closed documents. (r=smaug)
2013-12-06 19:31:09 -08:00
Phil Ringnalda
b8c995c10c
Back out 567d2bba4f97 (bug 933483) for causing bug 946726
2013-12-06 19:11:11 -08:00
Bobby Holley
4d56f0a83d
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-06 12:01:42 -08:00
Bobby Holley
0b02f5ecfa
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-06 12:01:42 -08:00
Carsten "Tomcat" Book
22b9fc1982
Backed out changeset 767065f0560b (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:59 +01:00
Carsten "Tomcat" Book
f0d2b953c5
Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:42 +01:00
Bobby Holley
c8308277c1
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-05 21:34:17 -08:00
Bobby Holley
8ca6ed8d97
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-05 21:34:17 -08:00
Ryan VanderMeulen
f006eb0ddb
Merge m-c to inbound.
2013-12-05 17:56:44 -05:00
Blake Kaplan
4baa66b222
Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. r=smaug
2013-12-04 21:03:21 -05:00
Nathan Froyd
84d844bb51
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
56c3838e3f
Bug 943668 - ensure window.screenX and .screenY return css pixels. r=roc
2013-12-03 16:36:33 +11:00
Ryan VanderMeulen
f5648e07cc
Backed out changeset 77c1f23afc1c (bug 933483) for mochitest-bc failures.
2013-12-02 20:31:18 -05:00
Blake Kaplan
72f57b32df
Bug 933483 - Don't fire events (and especially request animation frame events) when we're in a modal dialog. Also protect ourselves from resuming events on a closed window. r=smaug
2013-12-02 15:38:36 -08:00
Ms2ger
878b32ec4a
Bug 866689 - Add more inner / outer window assertions; r=mrbkap
2013-11-28 15:07:55 +01:00
Jan Beich
2e6dfb3be8
Bug 942921 - Explicitly include unistd.h for getpid() for non-Linux debug builds. r=smaug
2013-11-26 17:25:24 -05:00
Olli Pettay
fa64f21519
Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
...
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Boris Zbarsky
4c293cf8e4
Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug
2013-11-21 07:51:16 -05:00
"Kan-Ru Chen (陳侃如)"
0db54ecb73
Bug 931746 - Make sure all mozbrowser mm are in the target chain. r=smaug
...
---
dom/base/nsGlobalWindow.cpp | 8 ++
dom/base/test/file_empty.html | 1 +
dom/base/test/mochitest.ini | 2 +
dom/base/test/test_messagemanager_targetchain.html | 129 ++++++++++++++++++++
4 files changed, 140 insertions(+)
create mode 100644 dom/base/test/file_empty.html
create mode 100644 dom/base/test/test_messagemanager_targetchain.html
2013-11-17 01:07:24 +08:00
Ryan VanderMeulen
25f4dc9657
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Peter Van der Beken
86181bcd60
Bug 935786 - Assertion failure: !IsInnerWindow() || IsCurrentInnerWindow() at nsGlobalWindow.cpp:8909. r=smaug
...
CLOSED TREE
2013-11-13 09:47:37 +01:00
Bobby Holley
15add0796f
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
Bobby Holley
70289cf621
Bug 840488 - Directly mark compartments whose docshells disable script execution. r=bz
2013-11-12 16:43:33 -08:00
Bobby Holley
2c448611f5
Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz
2013-11-12 16:43:33 -08:00
Michael Henretty
6e5f233f7d
Bug 882186 - [System] Replace blue offline error page with new UX. Window.close part. r=fabrice
2013-11-07 17:42:32 -08:00
Vendelin Ruzicka
be972363d7
Bug 933563 - Consolidate ReportUseOfDeprecatedMethod and WarnOnceAbout. r=sicking, r=ms2ger
2013-11-11 16:12:18 -05:00
Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Carsten "Tomcat" Book
a88ea70081
merge mozilla-inbound to mozilla-central
2013-11-11 08:50:14 +01:00
Tim Taubert
0e601d49eb
Bug 934091 - Add current process ID to the {++|--}{DOMWINDOW|DOCSHELL} debug output r=smaug
...
From cbc766c3d5bae69f438bdc096f935c40e23b0f36 Mon Sep 17 00:00:00 2001
2013-11-07 09:53:04 +01:00
Jeff Walden
04e9645fc3
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Vendelin Ruzicka
2fa356509c
Bug 933040 - Warn for showModalDialog uses. r=jst, r=sicking
2013-11-06 08:59:54 -05:00
Kyle Huey
2789485d96
Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
f66e59b158
Bug 934785: Only change the popup control state on the main thread. r=smaug
2013-11-05 22:16:26 +08:00
Kyle Huey
50ee3b3331
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Peter Van der Beken
e25a09035c
Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug.
...
--HG--
extra : rebase_source : 40c7cdbe6baa9c7596ecf9eb67c917c95f9b2351
2013-11-01 14:31:00 +01:00
Peter Van der Beken
73baebc372
Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug.
...
--HG--
extra : rebase_source : add310c90bafed468345647c61404c8e9971087b
2013-10-16 18:11:24 +02:00
Ryan VanderMeulen
78649cfa0f
Backed out 3 changesets (bug 932309, bug 932322) for Linux mochitest-bc timeouts on a CLOSED TREE.
...
Backed out changeset aea34e69d171 (bug 932322)
Backed out changeset 2b99a0f6ff1b (bug 932309)
Backed out changeset 0e3bcb78784e (bug 932309)
2013-11-04 14:31:21 -05:00
Peter Van der Beken
ac05751a06
Bug 934203 - Windows-only startup crash in JS_WrapValue(JSContext*, JS::MutableHandle<JS::Value>) with Twitter Disconnect / Facebook Disconnect. r=bz.
...
--HG--
extra : rebase_source : 2ee7a6f417ea3611d21d5e8efd01caf2b9692a0c
2013-11-04 14:18:01 +01:00
Peter Van der Beken
4b78652e22
Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects, additional fixes. r=smaug.
...
--HG--
extra : rebase_source : 71604344bd4d50dbce7d1364ab2d88f0ee5d2175
2013-11-01 14:31:00 +01:00
Peter Van der Beken
4ae17a0b14
Bug 932309 - Don't null out mDoc in nsGlobalWindow::FreeInnerObjects. r=smaug.
...
--HG--
extra : rebase_source : 21c472ff3917bc386664050e761b4297cbdfa3a9
2013-10-16 18:11:24 +02:00
Ryan VanderMeulen
9d31989c15
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
39bee2a91f
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Boris Zbarsky
ad9d365422
Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
...
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Terrence Cole
967c793419
Bug 932466 - Fix two exact rooting hazards in dom; r=smaug
...
--HG--
extra : rebase_source : 8085170b6ab76912962c19dce9e409e2f6026058
2013-10-28 12:35:52 -07:00
Peter Van der Beken
1ebee7f524
Bug 931794 - startup crash in mozilla::dom::WindowBinding::get_content with Twitter Disconnect, Facebook Disconnect, or Google Disconnect on 2013-10-28 nightly. r=bz.
...
--HG--
extra : rebase_source : f3a20721f5333fbf6f5e16deb045f4aff4df9955
2013-10-28 22:03:07 +01:00
Birunthan Mohanathas
7a599eb1ae
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Kyle Huey
65052d91b0
Bug 904720: Count event listeners. r=njn,smaug
2013-10-28 17:47:18 +08:00
Nicholas Nethercote
ba1e9bce90
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Peter Van der Beken
cbf7a0c800
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
Tom Schuster
306cb13efc
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Ms2ger
34f7a76bb1
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
a521d7eace
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
b015635ca8
Bug 930498 - BarProps should be got from the inner window not from the outer, r=peterv
2013-10-25 14:12:01 +03:00
Terrence Cole
40bc663533
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Olli Pettay
75b26dc9a5
Bug 917026, remove few bogus NS_NOTREACHEDs from TabChild and make window.blur() not throw, r=felipe
...
--HG--
extra : rebase_source : feee4546e52bf2b92f92c63d31538aadef7ad877
2013-10-24 23:57:19 +03:00
Peter Van der Beken
17b2c2776e
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
Olli Pettay
891eae48f1
Bug 927901, bind .crypto to inner, not outer window, r=khuey
...
--HG--
extra : rebase_source : 801a257d7ca697c200537647f89302e84c1636ba
2013-10-24 19:25:39 +03:00
Ed Morley
f84da565ad
Backed out changeset fd177e58f30b (bug 922160)
2013-10-23 15:51:21 +01:00
Peter Van der Beken
770ee58c74
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
ed10f7b8b4
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Nathan Froyd
963afd7689
Bug 928916 - use services::GetObserverService more in dom/; r=smaug
2013-10-21 08:58:12 -04:00
Masayuki Nakano
40483897f3
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Steve Fink
123565e1c6
Bug 925916 - Random minor code cleanups, r=smaug
2013-10-15 15:34:13 -07:00
Steve Fink
a3274806e4
Bug 925916 - Handlify WrapNative, r=smaug
2013-10-11 22:02:39 -07:00
Tom Schuster
a513788fdb
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Ryan VanderMeulen
e9e247b525
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
b98758cdbd
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 19:58:25 +08:00
Phil Ringnalda
7f4c6bd321
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
d9a28b7f74
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 11:10:44 +08:00
Ehsan Akhgari
d26e049233
Bug 924248 - Make nsIDocument.h go on a diet; r=jst
...
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Boris Zbarsky
48ef79b3bb
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Ed Morley
2c635d5d0c
Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures
2013-10-09 17:48:13 +01:00
Boris Zbarsky
cf8ba5ee47
Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey
2013-10-09 12:05:22 -04:00
Tim Abraldes
5290e038f7
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
cb1a14e52c
bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz
2013-10-08 14:00:12 -07:00
Ben Turner
7b97102c91
Bug 643325 - Implement SharedWorker. r=khuey.
...
--HG--
extra : transplant_source : %D6%8C%9Ajc%3C%F0%0E%DB%C6%7E2%AA%97%B8%AA%B2%7EY%B6
2013-06-05 07:04:23 -07:00
Masayuki Nakano
e46624e0ca
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Kartikaya Gupta
06b2ab5226
Bug 919437 - Use the scrollport size as the inner size if it is set. r=tn, roc
2013-10-01 21:21:00 -04:00
Nicholas Nethercote
258c2f4cdf
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
Kan-Ru Chen (陳侃如)
3ed33419af
Bug 914026 - Check mDocShell before use. r=khuey
2013-09-26 17:13:41 +08:00
David Anderson
a588b6e3c0
Fix window.focus() in content processes (bug 902715, r=enndeakin).
2013-09-20 15:07:51 -07:00
Masayuki Nakano
f827f4667b
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
David Anderson
52f9444d10
Don't rely on legacy crypto calls in e10s content processes (bug 919089, r=bz).
...
--HG--
extra : rebase_source : 96a4b8f475c2e6e8b4f3a082e8efdc32fc8b08b6
2013-09-24 14:08:25 -07:00
Masayuki Nakano
9586dcc4ba
Bug 912956 part.12 All event utils (macros and inline methods) should be methods of mozilla::WidgetEvent r=roc
2013-09-24 19:04:16 +09:00
Boris Zbarsky
145b4483f7
Bug 862627 part 1. Switch EventListener to WebIDL codegen. r=smaug
2013-09-23 20:25:17 -04:00
Ehsan Akhgari
45d655ec96
Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
...
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
Jon Coppeard
8c99b0611f
Bug 918373 - GC: Handlify various public APIs r=sfink r=bholley r=smaug
2013-09-20 10:22:59 +01:00
Bobby Holley
8696b88eb9
Bug 874502 part 6. Remove IsCallerChrome path for tearing down windows synchronously. r=bzbarsky
2013-09-17 17:45:48 -04:00
Tom Schuster
e512bc4ffb
Bug 914353 - Use the new window.crypto implementation in e10s. r=khuey
2013-09-17 12:54:34 -04:00
Olli Pettay
d3863cecc5
Bug 916879, remove SetterThrows from eventhandlers, r=emk
2013-09-17 14:01:28 +03:00
Karl Tomlinson
5751aaa536
b=914030 don't keep alive used AudioContexts from the window r=ehsan,bz
...
--HG--
extra : transplant_source : %9D%94%FF%AA%92%C7%5B8%FA%C7%DD%3A%E3W%9E%BD%7F%25%5C%19
2013-09-12 16:16:53 +12:00
Terrence Cole
09f12ae71d
Bug 912813 - Do not store an unrooted object in CompartmentOptions; r=bholley
...
--HG--
extra : rebase_source : b14639e8c2c2806401077c6bea3d4ce21be51886
2013-09-10 10:01:10 -07:00
Steven Michaud
7adfee67b5
Bug 892547 - Sheets on Mac don't have a default option selected. r=enndeakin
2013-09-10 20:35:47 -05:00
Andrea Marchesini
12b0fc30b0
Bug 913761 - Something is wrong when transferring MessagePort object via MessageChannel. r=smaug
...
CLOSED TREE
2013-09-10 13:42:22 -04:00
Kyle Huey
abebd382da
Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8
2013-09-08 20:28:48 -07:00
Robert O'Callahan
33cdb42706
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
Bobby Holley
b8f437054d
Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
...
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Bobby Holley
7932b397fb
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-09-04 14:06:55 -07:00
Andrew McCreight
4723c7c5e3
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Andrea Marchesini
aa3daea368
Bug 677638 - MessageChannel and MessagePort disabled by pref, r=smaug
2013-09-03 14:39:03 +02:00
Andrea Marchesini
861af1ae77
Bug 677638 - MessagePorts in Structured Clone Algorithm, r=smaug
2013-09-03 14:38:51 +02:00
Kan-Ru Chen (陳侃如)
4ad4688f38
Bug 910088 - Follow up: Return false if failed to get JS::Value. r=bz
2013-08-29 22:38:56 +08:00
Kan-Ru Chen (陳侃如)
bb0801e102
Bug 910088 - Use webIDL dictionaries for DOMWindowResize event details r=bz
2013-08-29 11:54:31 +08:00
Boris Zbarsky
03d632d917
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
2013-08-28 00:14:57 -04:00
Ed Morley
470c8ac4f9
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-28 12:22:00 +01:00
Boris Zbarsky
a6ce34f2cf
Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE.
2013-08-28 01:46:00 -04:00
Boris Zbarsky
d7e2aadfa7
Bug 909645 part 2. Don't include ipdl headers in Hal.h. r=ms2ger
2013-08-28 00:14:57 -04:00
Nicholas Nethercote
3f5d413d90
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Kan-Ru Chen (陳侃如)
a7e64cb3fe
Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
...
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00
Ryan VanderMeulen
2f3de4dea0
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Bobby Holley
6274710e79
Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
...
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
5fe7a003d5
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-08-27 15:21:39 -07:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
44830af93b
Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey
2013-08-22 08:33:59 +02:00
Ms2ger
dd5239111f
Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir
2013-08-22 08:30:55 +02:00
Ehsan Akhgari
1e7ca5d13f
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Bobby Holley
7c26851804
Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
...
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
d192e30f6e
Bug 901106 - Get rid of vestigial nsJSRuntime instance and make it a namespace. r=mrbkap
...
We'll rename the namespace shortly.
2013-08-19 16:24:29 -07:00
Bobby Holley
684f16b450
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Masatoshi Kimura
431087ee79
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Ehsan Akhgari
3ec2c9b451
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
5905c6e3c8
Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking
2013-08-13 08:49:11 -04:00
Bobby Holley
81026a6fdf
Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap
2013-08-12 12:54:51 -07:00
Bobby Holley
e923703302
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
3e44192004
Bug 901364 - Switch to the XPConnect operation callback for DOM windows. r=mrbkap
2013-08-12 12:54:49 -07:00
Bobby Holley
962b3d3ad7
Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap
2013-08-12 12:54:49 -07:00
Johnny Stenback
4c163e91d9
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Peter Van der Beken
3256529063
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Terrence Cole
61b15c2fbb
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00