Commit Graph

462 Commits

Author SHA1 Message Date
Ms2ger
225cbcad0b Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
6ea91dd9b5 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
f3685b4620 Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
c02410550f Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
e31b1e7f88 Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
ecb03459d1 Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
c8134f4584 Bug 968804 - Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an asserting part; r=khuey 2014-06-29 17:35:56 +02:00
Ms2ger
86c542e365 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
cb7346e3b5 Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
a4c74db93d Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
a71c972206 Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey 2014-06-29 17:31:09 +02:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Peter Van der Beken
88382d5148 Bug 1018085 - "ASSERTION: Inner window supports nsWrapperCache, fix WrapObject!". r=bz
--HG--
extra : rebase_source : f988ef0d99419ac66064a03beaa51f4d2215f146
2014-06-06 14:54:35 +02:00
Vivien Nicolas
aaba27476c Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Ryan VanderMeulen
1bad801bdd Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
5ccb1aaad6 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Boris Zbarsky
d20c179ea6 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Robert O'Callahan
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Ryan VanderMeulen
466e829323 Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00
Reuben Morais
5a17903f23 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Fabrice Desré
6e0ad13fab Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
119807d8a1 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Andrea Marchesini
59f6c06277 Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger 2014-05-23 08:33:24 +01:00
Trevor Saunders
876b806f62 bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Tim Taubert
a1ba283cde Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug 2014-05-23 14:51:56 +02:00
Boris Zbarsky
e155631e2d Bug 999315. Revert alert(undefined) to showing the string "undefined" again, like it used to, pending the spec getting sorted out. r=peterv 2014-05-20 16:07:17 -04:00
Ms2ger
5cbe406141 Bug 968804 - Part g: Add outer window assertions to AreDialogsEnabled; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
14c7f71274 Bug 968804 - Part f: Add outer window assertions to DispatchDOMWindowCreated; r=peterv 2014-05-20 21:50:59 +02:00
Ms2ger
01d101fd7d Bug 968804 - Part e: Add outer window assertions to PreloadLocalStorage; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
a57f2d4cb0 Bug 968804 - Part d: Add outer window assertions to SetInitialPrincipalToSubject; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
4b4ff50cf7 Bug 968804 - Part c: Add outer window assertions to WouldReuseInnerWindow; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
3d05c89b05 Bug 968804 - Part b: Add outer window assertions to {Can,Force,Final}Close; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
7ae46e15c1 Bug 968804 - Part a: Add inner window assertions to DETH and {Add,Remove}EventTargetObject; r=peterv 2014-05-20 21:50:57 +02:00
Mason Chang
3146eb4aea Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Aryeh Gregor
57e61e9d15 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Bobby Holley
27afa8090c Bug 997067 - Build BuildURIFromBase into SecurityCheckURL and condense logic. r=bz
This has a tiny behavior change in the case of self-navigation by a non-current
inner, but I think that the new behavior is more correct.
2014-04-17 00:02:36 -07:00
Peter Van der Beken
a188f9f87c Bug 993706 - Remove nsGlobalWindow::mInnerWindowHolder. r=bz.
--HG--
extra : rebase_source : 30ac7fe2d93df5674dca6d0a1594e05eb7790d82
2014-04-01 21:15:38 +02:00
Peter Van der Beken
44ca7698d8 Bug 993688 - Mark Window.document StoreInSlot. r=bz.
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Boris Zbarsky
fdbb455d4f 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
9dfb2ec2c5 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
d38e26a2ce 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
7b5ecff2b8 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
731e4f5b3d 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
1b9927f537 Fix rooting hazards from 4fbe5c6db773 (Bug 990475). 2014-04-08 13:40:37 +02:00
Peter Van der Beken
a4e18b4c79 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
Peter Van der Beken
f8dd810da5 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
7aa8d63812 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
28f9c3e365 Bug 971222 - Small cleanup around prompt code. r=bzbarsky 2014-04-04 14:50:42 -07:00