Commit Graph

527 Commits

Author SHA1 Message Date
Chris Pearce
7af2e3abfd Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald 2015-07-14 12:17:10 +12:00
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
Xidorn Quan
4d7e632089 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Ehsan Akhgari
37a45c793d Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Andrea Marchesini
c43ef9a8a0 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini
1e085c6569 Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01: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
Carsten "Tomcat" Book
4c3f246f15 Backed out changeset 200c185e4d71 (bug 1113086) 2015-07-11 14:13:41 +02:00
Carsten "Tomcat" Book
79edbab44c Backed out changeset e11a8496bf63 (bug 1180535) 2015-07-11 14:13:32 +02:00
Carsten "Tomcat" Book
cf487e58dc Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini
887d50d82f Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Nigel Babu
fd84e932c3 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Ehsan Akhgari
33472a67ba Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
John Schoenick
ddf9006491 Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions 2015-07-05 18:03:00 -07:00
Andrea Marchesini
19f49d8ead Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 21:08:53 -04: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
Xidorn Quan
91287a3687 Backed out 7 changesets (Bug 1113086) for build bustage 2015-07-11 10:45:21 +10:00
Xidorn Quan
7705aa3262 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Andrea Marchesini
48de37615c Bug 1113086 - AudioChannel policy in Browser API - patch 7 - Support non-app iframe, r=alwu 2015-07-10 17:40:24 +01:00
Andrea Marchesini
0294bacd27 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Wes Kocher
6b7fd8796a Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE 2015-07-10 15:36:39 -07:00
Christoph Kerschbaumer
c9ee913013 Bug 1139297 - Implement CSP upgrade-insecure-requests directive - form changes (r=baku) 2015-07-10 09:15:46 -07:00
Geoff Brown
e7ae18404c Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Ehsan Akhgari
1859e2fd6b Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.

This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Chris Pearce
9ffe106f52 Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik 2015-07-09 11:10:16 +12:00
Xidorn Quan
a1c850c5df Bug 1170369 - Enable tests of Fullscreen API and PointerLock API on Windows XP and OS X 10.6+. r=RyanVM 2015-07-09 08:00:33 +10:00
Markus Stange
3f8d7366bd Bug 599328 - Clicking a label shouldn't draw a focus ring if clicking the control wouldn't have. r=enndeakin 2015-07-08 00:46:48 -04:00
Wes Kocher
3a0254e885 Backed out changeset aa4ba2c25de7 (bug 599328) for test_bug426082.html failures on OSX 2015-07-07 16:33:30 -07:00
Xidorn Quan
2a1f79d3de Bug 1180574 - Disable fullscreen-api-race subtest 'openNewWindow, navigate' on Linux 32bit. r=philor 2015-07-08 08:49:56 +10:00
Markus Stange
b4489711cf Bug 599328 - Clicking a label shouldn't draw a focus ring if clicking the control wouldn't have. r=enndeakin 2015-06-23 08:20:04 -07:00
Michael Layzell
b0dd7b6f6f Bug 1167389 - Make FileList::mParent a smart pointer, and declare it to the cycle collector. r=ehsan 2015-07-07 06:38:00 -04:00
Dragana Damjanovic
f5e3e71a6d Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Robert O'Callahan
61c5028a30 Bug 1143575. Don't report negative frame delays. r=cpearce 2015-05-25 15:42:24 +12:00
Jeff Walden
93c5a35eb1 Bug 1165533 - Test that the DOM reflection of signed-integer properties never exposes such values as -0, only as +0. r=Ms2ger 2015-07-02 21:19:05 -07:00
Ehsan Akhgari
e9100c120f Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Xidorn Quan
4259d1d53c Bug 1179123 followup - Skip fullscreen-api-race test on OS X. 2015-07-04 18:53:34 +10:00
Xidorn Quan
10228f43d2 Bug 1179123 - Add mochitest for some race condition test for fullscreen api. rs=smaug 2015-07-04 15:12:13 +10:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Carsten "Tomcat" Book
3213f411d3 merge mozilla-inbound to mozilla-central a=merge 2015-07-03 12:06:57 +02:00
Wes Kocher
0b95e0930e Merge m-c to b2ginbound, a=merge 2015-07-02 17:30:21 -07:00
Ryan VanderMeulen
fe955ccbcb Bug 1178513 - Fix non-unified bustage. r=wchen 2015-07-02 19:39:03 -04:00
William Chen
3381cd7c51 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey 2015-06-30 11:27:57 -07:00
Daniel Holbert
407ee7a73e Bug 1166910 followup: Add missing 'override' keyword to HTMLImageElement method GetImageReferrerPolicy. rs=ehsan 2015-07-02 16:31:48 -07:00
Jonathan Watt
52b6469fba Bug 1176849 - Make the file picker fatally assert if any of the objects returned by the file picker are not nsIDOMBlob objects. r=baku 2015-06-11 10:58:19 +01:00
Hamzata Diallo
3f804c88be Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow 2015-07-02 15:19:35 -07:00
Franziskus Kiefer
7a586a418e Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz 2015-06-05 15:25:24 -07:00
Carsten "Tomcat" Book
cb8e2da810 Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00