Commit Graph

50594 Commits

Author SHA1 Message Date
Andrea Marchesini
2d4ce92868 Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug 2016-05-24 06:59:15 +02:00
Chris Peterson
b1e318c188 Bug 1259335 - Part 1: Log deprecation warning for navigator.battery. r=baku 2016-05-21 01:08:52 -07:00
Phil Ringnalda
5236d2e4ba Back out 561138ee5a32 (bug 1271487) for web-platform-tests failures and unexpected passes
CLOSED TREE
2016-05-23 21:09:07 -07:00
Hiroyuki Ikezoe
fc371e8226 Bug 1166500 - Part 11: Add a preference for offscreen throttling. r=dbaron
MozReview-Commit-ID: AD34RTVZcxy
2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
f2c5a700c9 Bug 1166500 - Part 10: Test throttling and unthrottling of paint-only animations on elements that are scrolled out of view. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
8a1eb78fd4 Bug 1166500 - Part 9: onFrame process should be called even if frameCount is 1. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
dafe11f343 Bug 1166500 - Part 8: Now automation tests for bug 1166500 can pass expect on Android. r=birtles 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
b2888c83cd Bug 1166500 - Part 7: Throttle paint-only animations if the presShell is not active. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
f4e8a9f94a Bug 1166500 - Part 6: Throttle paint-only animations on element which is out of view. r=dbaron 2016-05-24 12:57:43 +09:00
Hiroyuki Ikezoe
eec4931934 Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron 2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe
caa5bb7b54 Bug 1166500 - Part 2: Calculate cumulative change hint. r=dbaron
In order to raise an assertion in CanIgnoreIfNotVisible() which will be
introduced in part 3 when the cumulative hint is not properly, we should skip
the calculation when mProperties is empty.
2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe
ad26dd6ea3 Bug 1166500 - Part 1: Store change hints between from and to for each animation segment. r=dbaron
BuildSegmentsFromValueEntries now needs base nsStyleContext to calculate
the change hints.
If the change hint is not set correctly, we will check it in
CanIgnoreIfNotVisible() introduced in a subsequent patch (part 3).
2016-05-24 12:57:42 +09:00
Jean-Yves Avenard
cd102518d1 Bug 1270323: P5. Prevent potential null deref. r=cpearce
This currently can't happen as no MediaDataDecoder ever return a null sample.

MozReview-Commit-ID: BucIadubght

--HG--
extra : rebase_source : 4c6f3dc1d5581bdb9d58ba3b7cc1659c57f40d8e
2016-05-23 16:12:17 +10:00
Jean-Yves Avenard
977d53d5e1 Bug 1270323: P4. Don't drain decoder if we're already waiting for new data. r=cpearce
If we're in waiting for data mode, the decoder must have already been drained and we want the waiting promise to be resolved upon the next run of UpdateReceivedNewData.

MozReview-Commit-ID: Hf8pFFyQmjJ

--HG--
extra : rebase_source : c51ed65c7d7c4a9ee877e6f9420f6534480e7cb5
2016-05-23 16:09:12 +10:00
Jean-Yves Avenard
e1fd229178 Bug 1270323: [ffmpeg] P3. Use the dts of the last sample input, not the dts of the last decoded sample. r=cpearce
Amendment to bug 1244410. If no frames had been output yet, last dts would have been INT64_MIN.

MozReview-Commit-ID: LOdWLpyuLYm

--HG--
extra : rebase_source : f842d2214b1e82f3b069e843157b95d87e62fa01
2016-05-23 15:37:34 +10:00
Jean-Yves Avenard
1a18fcce6e Bug 1270323: P2. Don't process new incoming data while a skip to next keyframe is pending. r=cpearce
Followup from bug 1272964 P4.

MozReview-Commit-ID: 18MC3O1JZLv

--HG--
extra : rebase_source : f1f09890f8837caceb37e0e5deafea6e43fbe900
2016-05-21 23:02:43 +08:00
Jean-Yves Avenard
51b5eef658 Bug 1270323: P1. Don't reset flag indicating that new data was received. r=cpearce
A bit of a shot in the dark, but it is possible that data got received but that information got lost as reset was called.

MozReview-Commit-ID: 1KjQeCFsGPJ

--HG--
extra : rebase_source : 3a522045bde0658fdfeccbf4d0cac11b43bc35d7
2016-05-21 22:58:40 +08:00
Xidorn Quan
26c3d73bf6 Bug 1270386 - Move unprefixed fullscreen event handlers from GlobalEventHandlers to Document. r=smaug
MozReview-Commit-ID: FfQhDoD5Wf3

--HG--
extra : source : db4cd63a10f577e68b238509b7a13897ff028064
2016-05-24 13:21:22 +10:00
Jean-Yves Avenard
4bde53c7a1 Bug 1275098: Silence incorrect dumb compiler warning. r=cpearce
MozReview-Commit-ID: In7HSZM2SjX

--HG--
extra : rebase_source : 9f4358e5fad4b0233847fc96a6a8097ea101498a
2016-05-24 10:16:39 +10:00
JW Wang
13fa174ec0 Bug 1274199 - remove use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: J9BHEuF6CPJ
2016-05-19 17:04:18 +08:00
JW Wang
fbdef02717 Bug 1272565 - draw a blank image when no frames in the video track.
MozReview-Commit-ID: 1Kijn00XAnQ
2016-05-17 10:33:32 +08:00
JW Wang
d1674fc0e3 Bug 1274212 - remove use of FlushableTaskQueue. r=kaku
MozReview-Commit-ID: DmyrIhGq8yb
2016-05-19 17:24:30 +08:00
JW Wang
5a7fa14c5c Bug 1274214 - remove use of FlushableTaskQueue. r=kaku.
MozReview-Commit-ID: 5tMa5aqAgQ1
2016-05-19 17:32:22 +08:00
Hiroyuki Ikezoe
240e8e3669 Bug 1271487 - Enable PerformanceObserver API in nightly by default. r=baku
MozReview-Commit-ID: EuenLdpscHb

--HG--
extra : rebase_source : 07d84ddd066940b74fd3f1c3e13a73cc4e4b91e2
2016-05-10 13:35:35 +09:00
Byron Campen [:bwc]
495f614a9f Bug 1213773: Better handling of answer with direction of inactive in renegotiation. r=mt
MozReview-Commit-ID: Fjo2rBtIYvD

--HG--
extra : rebase_source : bc08c173713781e134de25d39e199aa405a0ca7f
2016-02-05 13:21:11 -06:00
Jean-Yves Avenard
4fed0cc0ca Bug 1274892: [MSE] Don't crash when source buffer is deleted early. r=cpearce
The condition will be perfectly handled by the MediaFormatReader anyway.

MozReview-Commit-ID: Dm6evq6T4t6

--HG--
extra : rebase_source : 6e49cfae68bfa856aad891faf3cea565b152e565
2016-05-23 14:03:43 +10:00
Shih-Chiang Chien
c6b56100ad Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
MozReview-Commit-ID: 2kHZ0XUG2ew

--HG--
rename : dom/presentation/interfaces/nsITCPPresentationServer.idl => dom/presentation/interfaces/nsIPresentationControlService.idl
rename : dom/presentation/provider/TCPPresentationServer.js => dom/presentation/provider/PresentationControlService.js
extra : rebase_source : adc621d185c91e74c1abbef8cc2d519f5bbaed3a
2016-05-20 14:53:30 +08:00
Benoit Girard
864b19a70a Bug 1272808 - Expose context creation error to telemetry. r=jgilbert
MozReview-Commit-ID: JQ4rHZf71RW

--HG--
extra : rebase_source : 7871e153914b76f7c8081b7529a2c02626bc7d2a
2016-05-20 13:14:15 -04:00
Chris Pearce
375dc51df7 Bug 1271169 - Add gtest to ensure EME device binding works. r=gerald
Call the device binding code in gtests, and have a test GMP which returns the
device ID it was passed in a message, so that we can verify that the id the GMP
was passed is the same as the id generated in the parent.

MozReview-Commit-ID: Gjqvo6dRK1D

--HG--
extra : rebase_source : bea5acc878a639fb819051e19e23533c14c19927
2016-05-10 13:40:05 +12:00
Chris Pearce
a7ee9fee8a Bug 1271169 - Move all device binding code into librlz and remove static runtime requirement. r=glandium
I want the EME device binding/nodeId code to be callable from gtests, as well
as in plugin-container. I need this because I want to add a gtest that ensures
that we don't regress the EME/GMP device binding code. I want to call the GMP
device binding code in the gtest and in the GMP process, and compare the
result.

So we need to make it possible to link the device binding code into the gtests
as well as plugin-container. So move all code that device binding calls into
librlz, to make it easier to link against all the code required.

Note: the device binding code needs to be statically linked into
plugin-container so that it's covered by the Adobe CDM's voucher tool.


MozReview-Commit-ID: AvBAe1dh49Z

--HG--
rename : ipc/app/sha256.c => dom/media/gmp/rlz/sha256.c
rename : ipc/app/sha256.h => dom/media/gmp/rlz/sha256.h
extra : rebase_source : f60f1e68649fa90cbe1f2fe09f5f69948444b1df
2016-05-20 16:11:29 +12:00
Chris Pearce
9c711e8fb4 Bug 1271169 - Move EME/GMP device binding code into GMPDeviceBinding.h/cpp. r=gerald
I want the EME device binding/nodeId code to be callable from gtests, as well
as from in plugin-container.

First step is to move the device binding code into a discrete file, so I can
also link that into gtests, and call it from there to compare the result with
what's in the GMP process.

MozReview-Commit-ID: 9xT2rp3hWW

--HG--
extra : rebase_source : 824c7a9841bce83c438decad48ce210f6c2a5571
2016-05-11 19:56:42 +12:00
Phil Ringnalda
db3e2c7d7f Back out 8 changesets (bug 931445, bug 1274104, bug 1270386) for frequent e10s APZ mochitest failures starting with test_group_mouseevents.html
CLOSED TREE

Backed out changeset 6db35dcc6885 (bug 1274104)
Backed out changeset 0c2fc088a46d (bug 1274104)
Backed out changeset 17786141f3ac (bug 1274104)
Backed out changeset f7c6b58dddc1 (bug 1274104)
Backed out changeset 67407d1829a3 (bug 1270386)
Backed out changeset 82d2c5404d84 (bug 931445)
Backed out changeset 0921152b9f08 (bug 931445)
Backed out changeset f73352ab6f99 (bug 931445)
2016-05-23 18:42:32 -07:00
Phil Ringnalda
6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Wes Kocher
8bcdb6ce30 Backed out changeset 77c60a79313d (bug 1261693) for breaking test_basic.html on at least Android CLOSED TREE 2016-05-23 12:46:34 -07:00
Wes Kocher
e089e1ab3e Backed out changeset 17e20404362d (bug 1258489) 2016-05-23 12:46:05 -07:00
Jorg K
4897ff0e7a Bug 1274837 - don't crash by accessing string beyond its length. r=masayuki 2016-05-23 06:35:00 +02:00
Andrea Marchesini
6586afe162 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-05-23 17:02:18 +02:00
Andrea Marchesini
d076c7faec Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-23 17:00:45 +02:00
Ben Kelly
8a4eee33d2 Bug 1254741 P3 Fix push test_serviceworker_lifetime.html test to expect new behavior. r=kitcambridge 2016-05-23 02:46:27 -07:00
Ben Kelly
05565765eb Bug 1254741 P2 Don't aggressively terminate service workers when last controlled window is closed. r=baku 2016-05-23 02:46:26 -07:00
Andreas Pehrson
05c6dff3b5 Bug 1208390 - Implement MediaStream.getTrackById(). r=jib, r=smaug
MozReview-Commit-ID: 5a90ZOx7eUE

--HG--
extra : rebase_source : b2fcb6aa7bc0a442cc80ecf3b9dce81415245b41
2016-05-20 13:01:30 +02:00
Andreas Pehrson
1952c7354d Bug 1208390 - Use MediaStream.getTrackById() in some existing tests. r=jib
MozReview-Commit-ID: 5Xy0Zmo2Ob2

--HG--
extra : rebase_source : 708e417c38b165b1eb4de53cef5db7539d9e8363
2016-05-20 13:33:42 +02:00
Andreas Pehrson
f923e71db9 Bug 1208390 - Add test for MediaStream.getTrackById(). r=jib
MozReview-Commit-ID: 5OMc1QYagCc

--HG--
extra : rebase_source : af84228363d5877b7b0385fb74f488a246a5a85a
2016-05-20 13:01:04 +02:00
Randell Jesup
5211329bd6 Bug 1273206: Shut down all getUserMedia VoEBase channels when not in use r=padenot
MozReview-Commit-ID: KLGKNvwJpKg
2016-05-23 10:22:47 -04:00
Gijs Kruitbosch
29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
Patrick McManus
2cd574f25f Bug 1274376 - more mozilla::net namespaces r=dragana
--HG--
extra : rebase_source : 914d48f23a4a5db052a789b9e21c1ff922533d35
2016-05-18 22:02:57 -04:00
Sebastian Hengst
e013fac160 Backed out changeset 998ed936f745 (bug 1228601) for reftest failure in 1frame_rotation_90.mp4. r=backout on a CLOSED TREE 2016-05-23 14:24:00 +02:00
Sebastian Hengst
8cd2f85f26 Backed out changeset 1ed74da8c8bb (bug 1228601) 2016-05-23 14:23:51 +02:00
Sebastian Hengst
683bf9f5fb Backed out changeset fcc6d738ce2f (bug 1228601) 2016-05-23 14:23:37 +02:00