Commit Graph

156 Commits

Author SHA1 Message Date
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
Matthew Gregan
ced956736c Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Andrea Marchesini
7c2d706f91 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
301dd385b6 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
19518c8a2c Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Boris Zbarsky
7400b09228 Bug 952596 followup to fix dumb typo and reopen CLOSED TREE. 2014-02-28 09:09:11 -05:00
Boris Zbarsky
c9c7c6fdcc Bug 952596. HasActiveDocument should just clearly assert that it's only called on inner windows. r=smaug 2014-02-28 08:57:14 -05:00
Oleg Romashin
66a2336ff0 Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Ms2ger
651d4d9a09 Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Ms2ger
183598fd46 Bug 866689 - Add more inner / outer window assertions; r=mrbkap 2013-11-28 15:07:55 +01:00
Boris Zbarsky
cf06e27fb2 Bug 943418. Check for active documents, not current inners, in History APIs. r=bholley 2013-11-27 11:16:07 -05:00
Olli Pettay
8811aec37f Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Peter Van der Beken
a698fa6357 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
6cddc919e9 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
75f4a4444c 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
Robert O'Callahan
198bf75d39 Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz 2013-09-04 23:37:46 +12:00
Phil Ringnalda
b679ae2f4c Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
2f979dbeb4 Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz
--HG--
extra : rebase_source : 17eabb4f819748ab9ec0ef38681c28df7b0a1861
2013-09-04 23:37:46 +12:00
Masayuki Nakano
0b6d808310 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Karl Tomlinson
45ad762f15 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
Nicholas Nethercote
d74157039d Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Bobby Holley
d51c959abd Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap 2013-08-12 12:54:51 -07:00
Trevor Saunders
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
David Zbarsky
b9c20a7821 Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Drew Willcoxon
086255d6ab Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan 2013-07-03 17:44:32 -07:00
Boris Zbarsky
7c5e61e873 Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Bobby Holley
e212c13aff Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-17 10:43:19 -07:00
Ed Morley
b61d46f51a Backed out changeset 0ad1a92ca568 (bug 860941) 2013-05-17 09:08:44 +01:00
Bobby Holley
01f304382c Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-16 23:33:14 -07:00
Boris Zbarsky
a2a1edabb4 Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug 2013-05-01 23:44:11 -04:00
Ryan VanderMeulen
dc44c7f499 Bug 861605 - Rev uuids. r=Ms2ger 2013-04-29 09:33:06 -04:00
David Zbarsky
77b8a905ca Bug 861729 - Remove nsPIDOMWindow::mDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
David Zbarsky
e7c500d80d Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Olli Pettay
054845d27c Bug 858014, make sure nsPIDOMWindow can be used in external apps, like TB/SM, r=neil
--HG--
extra : rebase_source : 5c3bfc5bb175efba465be834974d26df34207568
2013-04-07 15:19:56 +03:00
David Zbarsky
c2cf14c695 Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger 2013-04-05 20:44:15 -04:00
Eitan Isaacson
2ed120291b Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Terrence Cole
46f8e831e6 Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Masatoshi Kimura
a09ad8aee2 Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz 2012-12-26 20:00:05 +09:00
Boris Zbarsky
e845de4094 Bug 824517. Quickstub window.performance. r=peterv 2012-12-25 14:00:15 -08:00
Ehsan Akhgari
165f9042db Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky 2012-11-23 18:33:41 -05:00
Daniel Holbert
d7b2de9476 Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage 2012-11-26 20:34:10 -08:00
Ehsan Akhgari
64400b3001 Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky 2012-11-23 18:33:41 -05:00
Robert O'Callahan
cecf3ae790 Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Mounir Lamouri
ee75905110 Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug 2012-11-07 18:10:40 +00:00
Mounir Lamouri
990268d0ba Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking 2012-09-30 14:47:48 +01:00
Steven Lee
16761404d2 Bug 714358: Time manager implementation. r=jlebar 2012-09-11 02:05:00 -04:00