Commit Graph

195 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
db97457570 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
4d84eb2be5 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Andrea Marchesini
567d09c01f Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
a5cfa673a9 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
0294bacd27 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Xidorn Quan
16b5f7fb40 Bug 1181413 - Use enum to distinguish fullscreen request for Fullscreen Mode and Fullscreen API. r=smaug 2015-07-09 08:00:33 +10:00
Michael Layzell
63bc763299 Bug 1168161 - Mark nsPIDOMWindow::mDocShell as MOZ_NON_OWNING_REF. r=ehsan 2015-05-25 10:57:00 +02:00
Xidorn Quan
960d5fd06f Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:

1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.

2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
2015-06-10 23:13:12 +12:00
Xidorn Quan
8c5947b028 Bug 1105939 part 5 - Rename parameter aRequireTrust of SetFullScreenInternal to aFullscreenMode for increased clarity. r=smaug 2015-06-04 13:49:34 +12:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
26e004fd3c Bug 1156632 - Remove unused forward class declarations - patch 1 - dom/base, r=ehsan 2015-04-22 08:29:15 +02:00
Kartikaya Gupta
3fb084fb78 Bug 1146843 - Revert part of cset 33c30e283fa8 because the code is used in Fennec. r=snorp 2015-04-02 20:45:50 -04:00
Jose Antonio Olivera Ortega
e15639e6b4 Bug 1003991 - Disable https:// only load for ServiceWorkers when Developer Tools are open. r=nsm, r=miker 2015-03-24 14:15:00 -04:00
Kartikaya Gupta
43eb6f1601 Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm 2015-03-19 06:37:39 -04:00
Mantaroh Yoshinaga
7f95dd7dcd Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. r=kats 2015-03-12 12:14:55 -04:00
Kartikaya Gupta
589190b6de Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Bill McCloskey
a145e1526d Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug) 2015-03-05 22:03:23 -08:00
Ehsan Akhgari
d5f9555c02 Bug 1122987 - Mark nsPIDOMWindow::mInnerWindow as non-owning; r=smaug
The inner window holds an owning reference to its outer window,
and the outer window holds a non-owning reference back to its
inner window.  The non-owning reference is managed by
nsGlobalWindow.
2015-01-17 21:19:17 -05:00
David Anderson
b4d046c803 Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn) 2014-12-09 02:38:23 -08:00
Vladimir Vukicevic
448de69ce1 Bug 1036606 - Extend mozRequestFullScreen to accept an options dict with a vrDisplay member; r=bz 2014-07-09 12:30:22 -07:00
Bobby Holley
41099b29ec Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug
The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
2014-08-19 12:02:05 -07:00
Wes Kocher
40694b14ee Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Ehsan Akhgari
f569a68313 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
David Parks
139c04629a Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Mike Conley
10b8220690 Backed out changeset 249413f56629 (bug 1009628) for causing permanent orange. 2014-08-05 14:53:58 -04:00
David Parks
7501b52952 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Kyle Huey
53d5a79f2a Bug 1032340: Make Has/SetMutationListeners available on the inner window only. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
1bb6f93545 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Ms2ger
308709ac81 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
3f8a6ba8f2 Bug 968804 - Part r: Point out the outer window assertion in SetArguments in the documentation; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
d9c9faeb80 Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
33070f69dd Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
3022277bd2 Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
ece116be16 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
b301b33000 Bug 968804 - Part j: Add inner window assertions to CreatePerformanceObjectIfNeeded; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
72ff78c0ca Bug 968804 - Part i: Add inner window assertions to AudioContext methods; r=khuey 2014-06-29 17:31:11 +02:00
Phoebe Chang
daa2923284 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Robert O'Callahan
2c1ab3f641 Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Ms2ger
c75872b99e Bug 968804 - Part d: Add outer window assertions to SetInitialPrincipalToSubject; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
4e96f7ad74 Bug 968804 - Part c: Add outer window assertions to WouldReuseInnerWindow; r=peterv 2014-05-20 21:50:58 +02:00
Ms2ger
bef4398890 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
8897789e29 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Andrea Marchesini
7a5f892fe5 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
0f932ab486 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
b40fc5d8f1 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Boris Zbarsky
05033709ef Bug 952596 followup to fix dumb typo and reopen CLOSED TREE. 2014-02-28 09:09:11 -05:00
Boris Zbarsky
995aed7645 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
b3563459ee Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Ms2ger
f86b1e51ad Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00