Peter Van der Beken
f90baee1c4
Bug 993706 - Remove nsGlobalWindow::mInnerWindowHolder. r=bz.
...
--HG--
extra : rebase_source : 30ac7fe2d93df5674dca6d0a1594e05eb7790d82
2014-04-01 21:15:38 +02:00
Peter Van der Beken
ee04132a64
Bug 993688 - Mark Window.document StoreInSlot. r=bz.
...
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Boris Zbarsky
3738611b99
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Boris Zbarsky
a0c3167371
Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley
2014-04-08 18:27:19 -04:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Peter Van der Beken
06912887b1
Bug 990158 - Remove line from bad merge in f1e4f0f82a9a.
...
--HG--
extra : rebase_source : ad5cddb57ed8acb125b9b9f164c4682b16bcd8f1
2014-04-08 20:47:55 +02:00
Peter Van der Beken
8d80d59d7f
Bug 993047 - Fix some style nits from f6b0e518f6d2.
...
--HG--
extra : rebase_source : 9cb1f3c793b066aed1836c08cce786554d61cfd2
2014-04-08 20:39:38 +02:00
Peter Van der Beken
0fe5048c3a
Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
...
--HG--
extra : rebase_source : cc8f013525dca74a4d7926f3cbb301ac42aab406
2014-02-15 22:12:33 +01:00
Peter Van der Beken
b1b187ea5d
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Peter Van der Beken
c0b23e34f5
Bug 990158 - Make inner windows use their wrapper cache. r=bz.
...
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01:00
Peter Van der Beken
9eb9a5d4fa
Fix rooting hazards from 4fbe5c6db773 (Bug 990475).
2014-04-08 13:40:37 +02:00
Peter Van der Beken
bb6025a8cb
Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : c2d23e5c973c117ab3fb66b2a98a451acfabc7e5
2014-02-05 22:09:18 +01:00
Steve Fink
03f42f68f4
Bug 912456 - transferable MessagePorts, r=jorendorff
...
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Peter Van der Beken
7741df1efa
Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
...
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
03d7e2e20f
Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
...
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : f21f16a257d39a108233dd8106b33543110df9b5
2014-02-05 22:09:18 +01:00
Blake Kaplan
7c70ad9aec
Bug 971222 - Small cleanup around prompt code. r=bzbarsky
2014-04-04 14:50:42 -07:00
Masayuki Nakano
01ad44156b
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Matthew Gregan
5979b051e5
Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug
2014-04-03 10:53:39 +13:00
Jon Coppeard
3e811f8ee0
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Masayuki Nakano
4e30f653e0
Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
...
--HG--
rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
2014-04-01 20:42:12 +09:00
Jon Coppeard
bb2e7cbea1
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Masayuki Nakano
54d409dfca
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Masayuki Nakano
bd6decd65b
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Boris Zbarsky
d4a40b2bea
Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley
2014-03-29 01:45:10 -04:00
Ehsan Akhgari
0f3af82c2d
Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky
2014-03-28 00:03:03 -04:00
Ms2ger
7a2ecd8d4e
Bug 973367 - Inline nsGlobalWindow::CreateOuterObject; r=bholley
2014-03-27 21:05:14 +01:00
Bob Owen
db45c8c58e
Bug 978042 - Part 2: AutoPushJSContext in nsGlobalWindow::RunTimeoutHandler. r=bholley
2014-03-07 09:58:33 +00:00
Masayuki Nakano
abfbab58dd
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
db6b33d414
Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug
2014-03-18 13:48:20 +09:00
Masayuki Nakano
ef5a7c0e92
Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug
2014-03-18 13:48:19 +09:00
Neil Rashbrook
c3b2f90f39
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Peter Van der Beken
6e079aacea
Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE.
2014-03-17 20:27:53 +01:00
Peter Van der Beken
bb1ee2a3ab
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
2014-02-15 22:12:33 +01:00
Peter Van der Beken
ee76987bdb
Bug 982114 - Deal with new DOM binding objects for Window in more places. r=bz.
2014-01-30 15:31:16 +01:00
Masayuki Nakano
a7a5e56dd5
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
e78b977cbc
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Blake Kaplan
6f5f5bed05
Bug 982906 - No free lunches! r=bzbarsky
2014-03-13 17:08:58 -04:00
Andrea Marchesini
ba16597c3e
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-11 10:46:55 +00:00
Jason Orendorff
c4905dda94
Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke.
2014-03-10 16:28:43 -05:00
Ed Morley
b0b98b2931
Backed out changeset 98f7e8789561 (bug 923247)
2014-03-10 17:04:04 +00:00
Andrea Marchesini
5c90d4d8c7
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-10 16:36:15 +00:00
Bobby Holley
8c2b8ca542
Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm
2014-03-06 15:26:17 -08:00
Andrea Marchesini
f9cfcef2a3
Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug
2014-03-05 03:28:20 +00:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
6d6e9c420b
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
55ae71a452
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
Andrew McCreight
dc81f67e51
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 13:33:44 -08:00
Andrea Marchesini
5d074ae75a
Bug 965860 - patch 3 - Console replacable in IDL, r=bz
2014-02-27 23:39:06 +00:00
Andrea Marchesini
80210d8dab
Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz
2014-02-27 23:39:00 +00:00
Blake Kaplan
0c0626e88d
Bug 956704 - Only suppress animation frames when entering a modal state. r=smaug
2014-02-26 15:59:03 -08:00
Blake Kaplan
3ea889d5c2
Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug
2014-02-26 15:58:21 -08:00
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