Commit Graph

603 Commits

Author SHA1 Message Date
Francois Marier
6349d3c212 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor
f5961e4a6b Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Jeff Walden
8ef6024e61 Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug 2015-05-01 19:12:52 -07:00
Ehsan Akhgari
380cdc7d57 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ryan VanderMeulen
64888c286f Merge b2g-inbound to m-c. a=merge 2015-08-06 15:37:49 -04:00
Ehsan Akhgari
4b39b32cd8 Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot 2015-08-06 10:26:27 -04:00
Ehsan Akhgari
3699ea040a Bug 1190040 - Part 1: Do not dispatch media-playback notifications for media elements that do not have an audio track; r=cpearce 2015-08-06 10:25:38 -04:00
Daosheng Mu
7d1c608052 Bug 1178725 - Fix create videoFrameContainer crash on B2G desktop. r=roc 2015-08-05 20:02:00 +02:00
Ehsan Akhgari
3ff03c96fd Backout bug 1190040 for test failures 2015-08-05 01:12:05 -04:00
Ehsan Akhgari
d784878849 Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce 2015-08-04 20:07:41 -04:00
Ehsan Akhgari
09c21cd547 Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku 2015-08-04 19:38:51 -04:00
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
JW Wang
2d545a0f85 Bug 1189204 - activate autoplay when playing a media source. r=jya. 2015-08-04 11:17:03 +08:00
Robert O'Callahan
3e3003e4ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
99701808fc Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Robert O'Callahan
53c0044a87 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Tanvi Vyas
41d6812f53 Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert 2015-08-03 15:25:24 -07:00
Jan-Ivar Bruaroey
174c57723b Bug 1175523 - Add HTMLMediaElement.srcObject alias to .mozSrcObject. r=roc, r=smaug 2015-07-14 00:04:14 -04:00
Arnaud Bienner
f15d620dea Bug 1186603 - Add a "Contains" method for string classes and use it in HTMLInputElement. r=nfroyd 2015-07-30 19:45:25 +02:00
Brian R. Bondy
b292a92d0f Bug 1188487 - Add API to BrowserElement to mute and set volume. r=fabrice
It's already possible to get mute/volume at the audio channel level, but
this adds it at the iframe level so that audio channels can be created
and destroyed and the setting will be preserved.
2015-07-31 13:21:18 -04:00
Boris Zbarsky
9161435478 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Kartikaya Gupta
f064a257d4 Bug 1187056 - Dispatch the meta tag mutation events sooner so that any meta-viewport changes can be processed before scripts continue running. r=smaug 2015-07-31 13:08:40 -04:00
Hiroyuki Ikezoe
4fb46efd11 Bug 1189162 - Clamp gamepad.timestamp and VideoPlaybackQuality.creationTime. r=bz 2015-07-30 01:41:00 -04:00
Kaku Kuo
4fb2a7b1dd Bug 1044102 - Part 2 - Support ImageBitmap as CanvasImageSource. r=smaug 2015-07-30 20:49:00 +02:00
Kaku Kuo
1abe74c3a6 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Boris Zbarsky
dd8679be25 Bug 1183491. Null-check the document we get from our contentWindow in the contentDocument getter, because apparently it can end up null. r=bkelly 2015-07-30 13:55:16 -04:00
Xidorn Quan
f7e57c611c Bug 1181446 - Retry requesting fullscreen one more time if it fails initially on fullscreen-api-race test. r=smaug 2015-07-29 08:59:59 +10:00
Ehsan Akhgari
2a7310d68e Bug 1188095 - Don't pause media elements on 'graphene'; r=baku
Note that MOZ_GRAPHENE currently only exists on the larch project branch,
but this is so simple that it seems worth taking.
2015-07-28 08:53:23 -04:00
Randall Barker
758c1a3bc3 Bug 1178858 - Video would not playback after seek seekbar first if media.autoplay.enabled = false. r=cpearce
When autoplay is disabled, the media element was not detecting user
initiated seeking so when a script attempted to play after seeking,
playing would be blocked.
2015-07-24 15:56:00 +02:00
Birunthan Mohanathas
75cd166c3c Bug 1186806 - Part 4: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLPropertiesCollection. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
d574cb4f59 Bug 1186806 - Part 3: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLMediaElement. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
0f8ce8f33f Bug 1186806 - Part 2: Use NS_IMPL_CYCLE_COLLECTION_TRAVERSE instead of manual traversal in HTMLFormElement. r=khuey 2015-07-27 18:45:12 -07:00
Birunthan Mohanathas
f5137e6f8f Bug 1186806 - Part 1: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLFormControlsCollection. r=khuey 2015-07-27 18:45:12 -07:00
Jeff Gilbert
b3183a903d Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Paul Adenot
b1747bd00f Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot
0df9b01bea 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
5cb34edeff 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
f54718ac59 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
a19920a796 Bug 1182540 - Use channel->ascynOpen2 in dom/html/HTMLTrackElement.cpp (r=sicking) 2015-07-25 10:29:22 -07:00
Wes Kocher
b3c5403835 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
1aa09e9a29 Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot
6d0e72bc8d 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
d3a9816e6b 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
4db694f526 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
31d7786b05 Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot
338bff3bf1 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
cf8afdeabc 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
1575414846 Bug 1183394 - Remove the assertion message when shutdown. r=jwwang 2015-07-21 18:01:00 +08:00
Franziskus Kiefer
5d52dcdace Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz 2015-07-17 10:46:19 -07:00
Boris Zbarsky
f6c9647300 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