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

53243 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc a1cbf6ab70 Backed out changeset 7545a33148f1 (bug 1287397) for Valgrind failures 2016-08-08 19:34:41 -07:00
Anthony Jones 4e052f4a73 Bug 1287397 - Fix wave chunk size overflow; r=cpearce
MozReview-Commit-ID: Dg1OT13urxe

--HG--
extra : rebase_source : 60f57edf43f7fb7c83b6db25dffb240993ec5523
2016-08-09 13:34:58 +12:00
Bryce Van Dyk 77cdb2b31b Bug 1211959 - Tests check if video has started using played range. r=automatedtester
Previously the tests would check if playback had started by looking at the first
recorded time, and then looking at the current time. If there were a lag it was
possible for the first recorded time to be at the end of the video (i.e.
playback already finished), in which case the video playing would not register.
This patch instead uses the played ranges from the video element. Now so long as
there is a non-empty played range we trust playback started.

MozReview-Commit-ID: 5C39A42KRdj

--HG--
extra : rebase_source : e4e8a35df3bac4c9e7765272acb6300b44b45d4e
2016-08-05 12:38:54 +12:00
Sebastian Hengst d307cb8dab Backed out changeset 4361c6f3b915 (bug 1289968) for failing encrypted-media-generate-request-disallowed-input.html. r=backout 2016-08-08 15:28:12 +02:00
Henrik Skupin 97aa5e356f Bug 1292465 - Bump firefox-puppeteer to 51.0.0. r=automatedtester
MozReview-Commit-ID: 1xEqCi0LQVQ

--HG--
extra : rebase_source : b26be31fabd4d699fc95f8d3e938bf92699a40a7
2016-08-05 11:41:48 +02:00
Bryce Van Dyk 3055f0dfe7 Bug 1293149 - Mediasource URL check should check for 'blob' instead of 'mediasource'. r=automatedtester
This behaviour changed as part of Bug 1279493, and the tests should be updated
to reflect this.

MozReview-Commit-ID: oITf0hVjKk

--HG--
extra : rebase_source : 26f54e0ac49a2f27f364c75a63851df5a85ce18f
2016-08-08 15:25:06 +12:00
cku 6aaf11c433 Bug 1288812 - Part 2. Correct test cases. r=heycam
MozReview-Commit-ID: 3Bdv2Lmg9kQ

--HG--
extra : rebase_source : 41bc2ee77a6768dcb358aa6b820336a0436c53de
2016-08-06 06:07:50 +08:00
Chris Pearce a41f94398b Bug 1289968 - Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=gerald
I also added more testing around ClearKey's base64 decoding, since that affected
how keyIds were handled.

MozReview-Commit-ID: 2UH1JNT4NC3

--HG--
extra : rebase_source : 8e2c861e6b030d7e4a1378d3fafed7630324d940
2016-08-01 16:28:10 +12:00
Jean-Yves Avenard 57bcb09a90 Bug 1128069: [MSE] P6. Call NotifyDataArrived from MediaDecoder. r=gerald
Calling NotifyDataArrived from each sourcebuffer will cause multiple unnecessary NotifyDataArrived to the MediaFormatReader when it could only be done once. Additionally, it ensures that the media duration is updated prior to the reader actioning on the notification.

Extra: mEnded is only ever accessed on the main thread, there's no need to make it atomic.

MozReview-Commit-ID: IKq7IRBbWic

--HG--
extra : rebase_source : 6cf18b1f71f5ee6c8e82c73bdd2857e783f343b8
2016-08-08 13:56:38 +10:00
Jean-Yves Avenard 41f815e7fa Bug 1128069: [MSE] P5. Adjust currentTime to end position in MediaDecoder. r=jwwang
The duration in the MediaDecoder is the canonical. It has as such a more up to date value than the mirror.
Under some circumstances, the MDSM may have reached the end of media playback before the duration mirror had time to update. So perform the currentTime adjustment in the MediaDecoder instead.

MozReview-Commit-ID: 1RFr4mT5LpA

--HG--
extra : rebase_source : 3151d86561b53d5d1922c7c16f042792bfd47283
2016-08-08 13:49:51 +10:00
Jean-Yves Avenard 5b0b40ef42 Bug 1128069: [MSE] P4. Do not adjust duration to what data we may have been seen in the past. r=jwwang
With MediaSource, the duration is always known and exact. It is entirely possible that we have played data at some point, then removed that data and adjusted the duration.

MozReview-Commit-ID: HZe2yXtQfIL

--HG--
extra : rebase_source : be1b57575c28142d6b3091b23894a7e4e1c9b405
2016-08-05 16:03:01 +10:00
JW Wang 2d84b3c90e Bug 1291633 - Don't call MediaDecoder::SeekingStarted when visibility is Suppressed. r=kaku
MozReview-Commit-ID: 15YOmFCoXGp

--HG--
extra : rebase_source : b5269f7a4883ff08dbfdb797df9eb78334315108
2016-08-03 17:18:54 +08:00
Karl Tomlinson 1a85ce6cf7 bug 1288702 suppress all GTK3 deprecated warnings r=glandium
Functions deprecated in GTK3 are often used for compatibility with GTK2
builds.

MozReview-Commit-ID: F220phw3wVO

--HG--
extra : rebase_source : 128e885652b184c5a7916378d9cebb067ab97eb0
2016-07-27 13:17:00 +12:00
JW Wang 6d1ce3ea1a Bug 1292449. Part 3 - Assert IsShutdown() is false in MediaDecoder::Shutdown(). Shutdown() should be only called once. r=kaku
MozReview-Commit-ID: 6iFKkTTb7qD

--HG--
extra : rebase_source : 773cdf796a11a0ca7b6577c348ec411c422a0342
2016-08-01 16:11:20 +08:00
JW Wang 862e36e74c Bug 1292449. Part 2 - Assert IsShutdown() is false in NotifyBytesDownloaded(). r=jya
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null.
2. Called from MediaDecoder::ResourceCallback::NotifyBytesDownloaded() which is disconnected in Shutdown().

MozReview-Commit-ID: 103pxZP02Bb

--HG--
extra : rebase_source : 72e8a9c29d5ca6a4932de3a119497b05bfadbe68
2016-08-01 16:01:16 +08:00
JW Wang 63442be770 Bug 1292449. Part 1 - Assert IsShutdown() is false in NotifyDataArrived(). r=jya
1. Called from SourceBuffer::AppendDataCompletedWithSuccess() where mMediaSource->GetDecoder() is not null so this must happen before Shutdown().
2. Called from SourceBuffer::Ended() where mMediaSource->GetDecoder() is not null.
3. Called from MediaDecoder::ResourceCallback::TimerCallback() which is canceled in Disconnect().

MozReview-Commit-ID: 5dqVuOcrABy

--HG--
extra : rebase_source : a134f552c4fae2317cbf93dc1e861199d4c91346
2016-08-01 15:58:10 +08:00
JW Wang aace2f0c8d Bug 1290809 - Remove MediaDecoder::IsEndedOrShutdown(). r=gerald
MozReview-Commit-ID: 4XUcJyQlmfk

--HG--
extra : rebase_source : fc2a044ca2776744ef0fff32300faf647666e73c
2016-08-01 15:22:32 +08:00
JW Wang 8ce157e06f Bug 1290364 - clear mOwner in Shutdown(). r=cpearce
MozReview-Commit-ID: 2CsYKcSrEOJ

--HG--
extra : rebase_source : 3fd60ea1dbbf57c168fa8cebb9bb5594ee8c19fb
2016-07-29 14:44:22 +08:00
Mantaroh Yoshinaga ae2e808431 Bug 911987 part 4 - Add onwebkitanimation** and onwebkittransitionend event handlers. r=smaug
Add the onwebkit prefixed event handler attributes of CSS-Animation
and CSS-Transition.

We need to support both content attributes and IDL attributes like
onanimation** attributes.

We should support attribute of lower-case and mixed-case. But currently
Gecko defined as mixed-case only. [1][2]

[1] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsContentUtils.cpp#747
[2] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/events/EventNameList.h#977

So we can't find the related Atom when we set content attributes as lower-case. [3]

[3] https://dxr.mozilla.org/mozilla-central/rev/6608e5864780589b25d5421c3d3673ab30c4c318/dom/base/nsGlobalWindow.h#818

In this patch, I add two Atoms in order to support mixed and lower case.

MozReview-Commit-ID: 8nOfVGQ8h7R

--HG--
extra : rebase_source : fe954eb5c79d305660bdc3ef95b14e55cdb34534
2016-08-05 14:12:38 +09:00
Mantaroh Yoshinaga bd81fb18be Bug 911987 part 1 - Add onanimation** and ontransitionend event handlers. r=masayuki,smaug
This event handler is defined CSS-Animation and CSS-Transition.
https://drafts.csswg.org/css-animations-1/#event-animationevent
https://github.com/w3c/csswg-drafts/pull/344

MozReview-Commit-ID: ARgsibd7wST

--HG--
extra : rebase_source : 7b4f366a8661508185d60ead9ce68fb234959577
2016-08-05 08:12:14 +09:00
Chris Pearce b4c569d8b8 Bug 1293101 - Refactor CDMCaps.cpp to treat keys marked as output-restricted as usable in all cases. r=gerald
This is a follow up from bug 1289623, as I missed a few cases in that bug.

MozReview-Commit-ID: DM7FtVSZUo3

--HG--
extra : rebase_source : 4fd7ae93b1418ded54f0c21a50a654fc962d4892
2016-08-08 10:41:38 +12:00
Bryce Van Dyk fe6ac1173a Bug 1292396 - Replace Marionette context string literals with symbolic variables. r=automatedtester
MozReview-Commit-ID: 9tRUYmVsaXO

--HG--
extra : rebase_source : 2776e4984543f9f6fec69d1b33c36bd8de073013
2016-08-03 14:21:27 +12:00
Bryce Van Dyk fde8c66d92 Bug 1292394 - Update external media test dependencies. r=automatedtester
Bump deps. Previous deps resulting in failures with current builds.

MozReview-Commit-ID: BUEfDmmE00E

--HG--
extra : rebase_source : a5437a86a875531945c558fab9427c6c31059289
2016-08-01 13:43:29 +12:00
Wes Kocher 005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
Phil Ringnalda d88f9174f3 Merge m-i to m-c, a=merge 2016-08-06 23:34:37 -07:00
Phil Ringnalda c4f467ea52 Back out 6 changesets (bug 1290116) for a 70% chance of WinXP debug timing out in test_subscription_change.html
Backed out changeset aa715b19902b (bug 1290116)
Backed out changeset c9922c014310 (bug 1290116)
Backed out changeset 44b50089c079 (bug 1290116)
Backed out changeset ca998a8cbe48 (bug 1290116)
Backed out changeset 74ceee4dc2f4 (bug 1290116)
Backed out changeset 90006dffbe5b (bug 1290116)
2016-08-06 18:58:23 -07:00
Wes Kocher 0201cd41e9 Merge m-c to fx-team, a=merge 2016-08-05 14:06:23 -07:00
Wes Kocher e62bb051c9 Merge inbound to central, a=merge 2016-08-05 14:01:56 -07:00
Carsten "Tomcat" Book a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Carsten "Tomcat" Book 99002c6dcd merge fx-team to mozilla-central a=merge 2016-08-05 12:00:16 +02:00
Carsten "Tomcat" Book 931e6d0f57 Backed out changeset c0b0e54e156e (bug 1290634) for webgl regressions 2016-08-05 11:00:13 +02:00
Carsten "Tomcat" Book f40d4e1782 Backed out changeset 4b7cd5b39cca (bug 1290634) 2016-08-05 11:00:00 +02:00
Randell Jesup fd8a8c3c74 Bug 1290075: Always Init() the VoiceEngine when enumerating audio inputs r=jib 2016-08-04 21:24:05 -04:00
Andrew McCreight c054f8ec15 Bug 1292289, part 3 - Remove dependency of Console on xpcprivate.h. r=mrbkap
This file only uses functions on nsIXPConnect, so it can get it from
nsContentUtils and stop including xpcprivate.h, which eliminates
another file from being rebuilt when xpcprivate.h gets touched.

MozReview-Commit-ID: AT5Khu0vkyf

--HG--
extra : rebase_source : fa40afb7df9afe1dede714c111947e4e85aee34e
2016-08-04 11:35:13 -07:00
Jean-Yves Avenard 91fecd5799 Bug 1292157: Ignore preload value when dealing with MediaSource originated URI. r=jwwang
MozReview-Commit-ID: CN9w9XJj2YR

--HG--
extra : rebase_source : 60c809ab8d65f9abfe75ec524a1ae2ecbd6b7f00
2016-08-05 11:15:50 +10:00
Carsten "Tomcat" Book 0cd188453a Merge mozilla-central to autoland 2016-08-05 12:15:20 +02:00
Wes Kocher 1d69e33b22 Merge m-c to autoland, a=merge 2016-08-05 14:06:46 -07:00
Aaron Klotz 2bbffe8138 Bug 1273635: Enable alertable waits in content process main thread; r=jimm
MozReview-Commit-ID: 2qGdGj41M0n

--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
Carsten "Tomcat" Book 1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Jim Chen 4b8a8da17c Bug 1289208 - Add native methods to AndroidGamepadManager; r=snorp
Add native method calls to AndroidGamepadManager to replace the gamepad
events in GeckoEvent. Implement those calls in AndroidGamepad.cpp. The
jni/Refs.h change is necessary to fix a compile error when using
jni::BooleanArray.
2016-08-04 09:16:05 -04:00
Jim Chen e5eac1e286 Bug 1289208 - Move gamepad methods out of GeckoAppShell; r=snorp
Move gamepad methods called by native code out of GeckoAppShell and into
AndroidGamepadManager.
2016-08-04 09:16:05 -04:00
Boris Zbarsky d7821950f4 Bug 1278583 part 5. Switch DOM code from using hasInstance class hooks to using Symbol.hasInstance. r=peterv 2016-08-03 18:32:07 -07:00
Boris Zbarsky ba5962ed70 Bug 1278583 part 4. Rip out the now-unused construct hook holder bits in bindings. r=peterv 2016-08-03 18:32:06 -07:00
Boris Zbarsky ab204ba73e Bug 1278583 part 3. Make static stuff (static attributes, methods, constants) actually work on globals. r=peterv 2016-08-03 18:32:06 -07:00
Bobby Holley 83d2ff11d1 Bug 1291891 - Switch to NS_WARNING for unimplemented <style scoped>. r=emilio 2016-08-03 18:30:57 -07:00
Wes Kocher d8f6cabd88 Backed out 4 changesets (bug 1290116) for w-e10s(5) failures on linux 64 opt
Backed out changeset 3e95eb4821b8 (bug 1290116)
Backed out changeset d6a336a1fa97 (bug 1290116)
Backed out changeset c50283f07370 (bug 1290116)
Backed out changeset db014dc92795 (bug 1290116)
2016-08-03 17:17:49 -07:00
Wes Kocher ae855cdb28 Merge m-c to inbound, a=merge 2016-08-03 16:47:07 -07:00
Wes Kocher 9605851be0 Backed out 7 changesets (bug 1231764) for apparently causing linux debug wpt bustage
Backed out changeset 4b71272c92cf (bug 1231764)
Backed out changeset 234d8a930afa (bug 1231764)
Backed out changeset f9b204c2f5a7 (bug 1231764)
Backed out changeset f933119e57e4 (bug 1231764)
Backed out changeset e3af0b1d3473 (bug 1231764)
Backed out changeset 643b03aae1dd (bug 1231764)
Backed out changeset a945dbf63410 (bug 1231764)

--HG--
extra : rebase_source : e71360fa4b5e3e74859c82e74e183e13e6211c4c
2016-08-03 16:27:06 -07:00