Граф коммитов

569 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot f7bb3fd5bd Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot 2ab300ac7b Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot 6187533e7d Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Chris Pearce e220da3249 Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin 2015-07-27 11:52:19 +12:00
Christoph Kerschbaumer 9d66aa4b3b Bug 1182540 - Use channel->ascynOpen2 in dom/html/HTMLTrackElement.cpp (r=sicking) 2015-07-25 10:29:22 -07:00
Wes Kocher 83b4188234 Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot 62ea7fce4b Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot b195db60a7 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot 7c02310414 Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book 2b73aa4f63 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot 27a91916bf Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot c1a9ba0ab9 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot bae1e652bf Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Benjamin Chen 3dc8ab47ea Bug 1183394 - Remove the assertion message when shutdown. r=jwwang 2015-07-21 18:01:00 +08:00
Franziskus Kiefer cafd09a21a Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz 2015-07-17 10:46:19 -07:00
Boris Zbarsky 68976f61f9 Bug 1184647. Cloning an image should ensure that the clone tries to load the src, if any. r=smaug 2015-07-22 13:21:25 -04:00
Andrea Marchesini 367d4612a6 Bug 1185381 - Make FileList clonable - patch 1 - move code into FileList.h/.cpp, r=smaug 2015-07-22 17:03:07 +01:00
Arnaud Bienner 5bf0f0bca6 Bug 1155154 - Part 3 - Ignore file extension filters with characters that can be interpreted by the file picker. r=smaug
--HG--
extra : rebase_source : 3dfeafb7628689931ac54f00792c683670524d1f
2015-07-17 01:20:01 +02:00
Arnaud Bienner 95d74228ec Bug 1155154 - Part 2 - Rename extension filter. r=smaug
--HG--
extra : rebase_source : df826837ee595a5dc24c052630d203cba855567d
2015-07-17 00:43:10 +02:00
Arnaud Bienner 5c2e081b9c Bug 1155154 - Part 1 - Fix the check for duplicate filters when one filter is a subtring of another one. r=smaug
--HG--
extra : rebase_source : 76af94ccf36e23ccfbd6cb561da3019248591cba
2015-07-20 23:07:59 +02:00
Andrea Marchesini 5509be2d98 Bug 1185303 - HTMLMediaElement should not be paused when visibility changed and when muted by the AudioChannel policy, r=ehsan 2015-07-22 00:04:57 +01:00
Jonathan Watt 43ab228990 Bug 1164310, part 5 - Implement new anonymous content and layout pieces for directory picking via input elements. r=tnikkel 2015-07-10 18:56:36 +01:00
Jonathan Watt b7bcad9074 Bug 1164310, part 4 - Implement the new HTMLInputElement API including the new Promise returning GetFilesAndDirectories. r=baku 2015-07-10 18:55:52 +01:00
Xidorn Quan 460ed18474 Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
--HG--
extra : source : 790e3e8a52cac1ddabebf59bc98a2da0c52ba624
2015-07-21 20:50:20 +10:00
Franziskus Kiefer b4e4b6d771 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Franziskus Kiefer e97220a88e Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Christoph Kerschbaumer d794b42650 Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - media element changes (r=sicking,tanvi) 2015-07-19 19:13:28 -07:00
Ehsan Akhgari 3d45149452 Bug 1148030 - Correctly reflect object and embed RequestContext values; r=smaug
Note that these elements cannot be intercepted for now.  See bug
1168676 for the background.
2015-07-18 16:44:28 -04:00
Wes Kocher 1c69110f51 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-17 18:08:24 -07:00
Wes Kocher c9619ef520 Merge b2ginbound to central, a=merge 2015-07-17 18:07:14 -07:00
Olli Pettay b56b103240 Bug 1183901, properly support WrapperCache on DistributedContentList, r=wchen
--HG--
extra : rebase_source : 1807da23dd4346e2b45c0ff84ee7618ad1bcca11
2015-07-18 01:15:44 +03:00
Andrea Marchesini 1c6488ef45 Bug 1177399 - Remove an unnecessary part of the AudioChannel test. r=ehsan
CLOSED TREE
2015-07-17 08:05:00 -04:00
Alastor Wu 2e0c92c43d Bug 1183301 - GetAllowedAudioChannels should not throw an exception if nsIFrameElement is not ready. r=baku 2015-07-16 10:19:55 +08:00
Kan-Ru Chen 2b5296d9cb Bug 1184821 - Use CheckAllPermissions in BrowserElement.webidl r=bz 2015-07-17 13:46:54 +08:00
Bobby Holley 04eaf4c167 Bug 1184634 - Move various includes into the mozilla namespace. r=gerald
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Kyle Huey 74f03750da Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Jean-Yves Avenard 79cb7273cb Bug 1182444: Show audio as enabled when an audio track is present in stream. r=jesup 2015-07-17 14:50:51 +10:00
Kan-Ru Chen abd5560402 Bug 1179718 - Convert BrowserElement.webidl to use CheckAllPermissions. r=bz 2015-07-17 11:06:30 +08:00
Paul Rouget dfe7fcd341 Bug 1174733 - Browser API: iframe.executeScript. r=kanru, r=bholley 2015-07-16 03:56:00 -04:00
Ehsan Akhgari 698096b26d Bug 1182976 follow-up: Address njn's drive-by comment 2015-07-16 14:56:47 -04:00
Ehsan Akhgari 86e260f37c Bug 1182976 - Part 1: Get rid of IdentifierMapEntryAddNames; r=baku 2015-07-16 14:47:54 -04:00
Andrea Marchesini 4d18f7a4df Bug 1183700 - Don't prevent playback of media elements in a muted tab on desktop, r=ehsan
--HG--
rename : toolkit/content/tests/browser/browser_mediaPlayback.js => toolkit/content/tests/browser/browser_mediaPlayback_mute.js
rename : toolkit/content/tests/browser/browser_mute.js => toolkit/content/tests/browser/browser_mute2.js
rename : toolkit/content/tests/browser/file_mediaPlayback.html => toolkit/content/tests/browser/file_mediaPlayback2.html
rename : toolkit/content/tests/browser/file_mediaPlaybackFrame.html => toolkit/content/tests/browser/file_mediaPlaybackFrame2.html
2015-07-16 19:34:30 +01:00
Chris Pearce 5a141756bd Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald 2015-07-14 12:17:10 +12:00
Birunthan Mohanathas a8939590de 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 de00198603 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.

--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Ehsan Akhgari 59e89cba9d 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 24739b108d Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini 24422a4be6 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 db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00