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

486544 Коммитов

Автор SHA1 Сообщение Дата
Dan Glastonbury 323e627096 Bug 1294420 - Skip tests that use h264 on WinXP. r=gerald
Fix permafail for mda on WinXP which has no h264

MozReview-Commit-ID: 35tlO5vPTLD

--HG--
extra : rebase_source : 4d0edc219f75bd2107a3828a4df6419d7449657a
2016-08-11 21:24:12 +08:00
Ravi Shankar 2cfc61be79 Bug 1291667 - Removed unused variant 'MozNone' from StyleUserSelect enum class; r=heycam,manishearth
MozReview-Commit-ID: 53dJd2GYUdt

--HG--
extra : rebase_source : 406d58b113d3044eb9f48b02fdd0168494c22847
2016-08-10 21:43:34 +05:30
Ravi Shankar 61b118d165 Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
MozReview-Commit-ID: IcDt3XYvdlj

--HG--
extra : rebase_source : ea426ac572b6adfc09fd9440e45a0c26adde4373
2016-08-10 21:42:21 +05:30
Jean-Yves Avenard c5b030a3f3 Bug 1293927: Always use MediaSource seekable range regardless of readyState. r=jwwang
MozReview-Commit-ID: 7ae467k5PSf

--HG--
extra : rebase_source : 96e79cc0ba99272d9573a427408e820cb496c106
2016-08-10 14:14:37 +10:00
JW Wang 623b729070 Bug 1294352 - Merge MDSM::InitiateSeek() and MDSM::InitiateDecodeRecoverySeek(). r=kaku
MozReview-Commit-ID: 8wgRY9QHOYg

--HG--
extra : rebase_source : 4f55c867d67a4103fea332393cb8e8c7e9cd02b0
2016-08-11 15:37:27 +08:00
JW Wang 3f872a940e Bug 1294345 - Remove the TrackSet parameter from MediaDecoderStateMachine::InitiateDecodeRecoverySeek(). r=kaku
MozReview-Commit-ID: 7iXecyVAIXq

--HG--
extra : rebase_source : e9648409896caac46863a401984820a8ac123118
2016-08-11 15:03:15 +08:00
Jean-Yves Avenard 5dd7436747 Bug 1293613: don't assume playback won't be finished by the time the seeked event is fired. r=gerald
The data added in the sourcebuffer is very short (less than one second); it is possible that playback has completed prior the event being fired.

MozReview-Commit-ID: INHAFmEhSut

--HG--
extra : rebase_source : 864c2a9623d672859b0ab836e25403e90ee2090c
2016-08-10 22:11:43 +10:00
JW Wang dc44fe89f0 Bug 1294324 - Remove MediaDecoderStateMachine::IsPausedAndDecoderWaiting. r=bechen
MozReview-Commit-ID: CepvbVjoN1k

--HG--
extra : rebase_source : 4abe0fc35b25a865f3909fdf7d74f54736da6c97
2016-08-11 11:40:53 +08:00
JW Wang 73fd41e53b Bug 1294320 - Remove MediaDecoderStateMachine::IsVideoDecodeSuspended() r=kaku
MozReview-Commit-ID: 9iTzmMhw686

--HG--
extra : rebase_source : 4ee1bec4155367dc66a136a4f14c9c83cbdd8dd5
2016-08-11 11:32:14 +08:00
Jean-Yves Avenard 268dc7faac Bug 1293613: amend expected MSE web-platform-tests expected results. r=gerald
They should all run properly now.

MozReview-Commit-ID: YLjQ8jkNcf

--HG--
extra : rebase_source : d174f2ee27940f197225e47c359a106d78259c07
2016-08-10 15:20:25 +10:00
Jean-Yves Avenard 72149ae3fe Bug 1293613: Never attempt to read past end of manifest table. r=gerald
Should the events being waited for take a while to fire, we could have attempted to append more segments than the table contain causing an exception.

MozReview-Commit-ID: HnmLTqNQ5rb

--HG--
extra : rebase_source : f9b703a0ed1f3b950428dc55dd7943068bc6aa2d
2016-08-11 15:17:34 +10:00
Jean-Yves Avenard 9a05e8296e Bug 1293613: Don't assume that once playing event has fired, the earlier appendBuffer has completed. r=gerald
The two operations are asynchronous and independent.

MozReview-Commit-ID: D2woSoIzE6p

--HG--
extra : rebase_source : bd9bb272d1040d20edbba53d43041cf7d5eb7bbc
2016-08-10 15:10:47 +10:00
Jean-Yves Avenard fae45c16d7 Bug 1293613: Update test using new manifest details. r=gerald
Do not assume that the element is still seeking when the seeking event is actually fired (the seeking operation is asynchronous)

MozReview-Commit-ID: Ap24kUQK8R2

--HG--
extra : rebase_source : 6bf251e5156e2c306fe004c2c6d959549cddab77
2016-08-10 14:43:24 +10:00
Jean-Yves Avenard bed984a2a7 Bug 1293613: Make liveseekable test run. r=gerald
- No html document existed, preventing the test to run.
- Remove test related to the updating attribute being cleared: see https://github.com/w3c/media-source/issues/118

MozReview-Commit-ID: GxOBnr5mqyh

--HG--
extra : rebase_source : 8b5573a444b9d19e2326bc1329ab7dc7ac7934c4
2016-08-10 14:22:11 +10:00
Jean-Yves Avenard 471469e04a Bug 1293613: Don't assume that all videos start at 0. r=gerald
See issue https://github.com/w3c/web-platform-tests/issues/1939

MozReview-Commit-ID: LgDQRS8Xz3L

--HG--
extra : rebase_source : 79e0d67675b8cdcfc97bc0dc1d28a1ad97a2b85a
2016-08-10 13:22:35 +10:00
Jean-Yves Avenard f343167b69 Bug 1293613: Don't assume all segments audio and video track start at the same time point. r=gerald
Audio track and video tracks have under most cases a different start and end time. Additionally, the mp4 file is poorly muxed and contains out of order frames. As such we keep a table of time and duration for each media segments.

The test itself was right, however it had an invalid time table to start with as it incorrectly used the dts (decode timestamp) instead of the pts (presentation timestamp).

MozReview-Commit-ID: G2uwK3rroj3

--HG--
extra : rebase_source : 13e0c020ed825f4285291b81dd1fa9da6956dd4b
2016-08-10 12:12:08 +10:00
Jean-Yves Avenard e891bd23b3 Bug 1293613: An invalid or revoked MediaSource URI can't be trace to a MediaSource object. r=gerald
https://w3c.github.io/media-source/index.html#mediasource-attach: "If the resource fetch algorithm absolute URL matches the MediaSource object URL, ignore any preload attribute of the media element, skip any optional steps for when preload equals none"
A dummy URL or a revoked one no longer matches the MediaSource object URL, as such, the preload attribute isn't to be ignored.

MozReview-Commit-ID: EW5TOv9SSf

--HG--
extra : rebase_source : f3019139d5c6d198555dc623cd13d7294055e0f6
2016-08-10 12:01:13 +10:00
Jean-Yves Avenard 6c23da166b Bug 1293613: Correct mediasource-duration.html r=gerald
- The WebM file manifest correctly indicates the duration as reported in the metadata. However, the last frame has an end time 0f 6.05s which would adjust the duration. As such it is incorrect to assume that after a full appendBuffer the duration will remain the same as set in the metadata.
(source: https://w3c.github.io/media-source/index.html#sourcebuffer-coded-frame-processing "5. If the media segment contains data beyond the current duration, then run the duration change algorithm with new duration set to the maximum of the current duration and the group end timestamp")

- When setting the duration, the actual final duration may be different to what was set as it will be aligned to the highest end time
(source: https://w3c.github.io/media-source/index.html#duration-change-algorithm ("4.1 Update new duration to the highest end time reported by the buffered attribute across all SourceBuffer objects in sourceBuffers.")

MozReview-Commit-ID: EpzSaSg8pWW

--HG--
extra : rebase_source : f4b998ba2a08edabd7eb3607101747ea7fa472d3
2016-08-10 11:57:32 +10:00
Jean-Yves Avenard 0334f3b215 Bug 1293613: Update manifest with new test scripts. r=gerald
MozReview-Commit-ID: C8vMTcWiDJ5

--HG--
extra : rebase_source : 616e6670ba54ed94cd87aecc172976d9ca1e9a52
2016-08-10 11:50:42 +10:00
Jean-Yves Avenard d5536e7620 Bug 1293613: Don't assume that all videos start at 0. r=gerald
The tests incorrectly assume that all videos start at 0. However this is often not the case, in particular for the mp4 files.
The buffered range is the intersection of the audio track and the video track. As such, if the video track starts at a later time than 0, the buffered range of the source buffer can't be starting at 0.

Rather than using different videos, we properly use the correct values; this is done to ensure that buffered range are calculated correctly, regardless of the video content.

timestamps verify with mkvinfo utility for webm and ffprobe for mp4.

See issue https://github.com/w3c/web-platform-tests/issues/1939

MozReview-Commit-ID: AMKgJHEJsWr

--HG--
extra : rebase_source : 23420db6acf13e1e12928dfb2057fe9846abfe78
2016-08-09 21:40:37 +10:00
Henrik Skupin b9e6fa8f6e Bug 1258539 - [mozharness] Refactor name and arguments of download and unpack methods. r=jlund
Given that we have a universal unpack method now do not keep 'unzip' in method names.
Also adapt arguments to be better understandable.

MozReview-Commit-ID: ClDB5mSVcI2

--HG--
extra : rebase_source : a98bb26748536115d254842df8257ba050ec8eac
2016-08-04 15:07:30 +02:00
Henrik Skupin a96b6591d4 Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC

--HG--
extra : rebase_source : c8bb3447bece192d6d8cbf3f505f840ec2843112
2016-01-18 19:50:26 +01:00
Dan Glastonbury 888241afbc Bug 1284177 - P2: Video decode suspend mochitests. r=jwwang
Test:
- That video decode suspends when enabled and delay is reached.
- That video decode doesn't suspend when disabled.
- That video decode doesn't suspend when video finishes before suspend delay.

These tests need to run from content process to observe the suspend
notifications via nsIObserverService, but access to gBrowser is in
chrome process in e10s. Thus, the reason for loading
background_video_chrome.js into chrome process and invoking functions
via async messages.

MozReview-Commit-ID: 2eE97FEUMPu

--HG--
extra : rebase_source : e48cc4dab54648bf0830f59f346a09ab3fb73f6e
2016-07-04 12:35:25 +10:00
Dan Glastonbury f9a87adc92 Bug 1284177 - P1: Provide observable notification for video suspend. r=jwwang
To support mochitests, report change in video decode suspend state via
events mozentervideosuspend/mozexitvideosuspend.

MozReview-Commit-ID: EwMduLzcMVg

--HG--
extra : rebase_source : 5f1fed90964fae182f06d9fb480491728c5f1c97
2016-07-04 14:35:21 +10:00
Jean-Yves Avenard 88b7ec7f4b Bug 1293576: [MSE] P2. Fix mochitest. r=gerald
The mochitest relied that the video track was processed first. Additionally, change for the file with only a single video track as the previous video didn't have aligned segments, making the use of sequence mode useless.
We swap the segment around, which allow to more easily visually inspect the result (counter goes forward and then back)

MozReview-Commit-ID: 33PsrmRF1GL

--HG--
extra : rebase_source : e98a7714f81f5c7913091128b5ee04cf41c2d09b
2016-08-10 16:21:36 +10:00
Jean-Yves Avenard 38fa21c818 Bug 1293576: [MSE] P1. Always process the earliest frames first when in sequence mode. r=gerald
MozReview-Commit-ID: 2b3EyYCtNai

--HG--
extra : rebase_source : 41396c041ddfba75e381e656b2fa45d427e2a44f
2016-08-09 23:11:36 +10:00
Jean-Yves Avenard 58cb3ab298 Bug 1293646: [MSE] P2. Only reject a seek request with EOS if it's passed the explicit duration. r=gerald
With MSE, the actual duration is always exact as it is amended when data is added. We do not want to fire ended when we attempt to seek to unbuffered data once endOfStream has been called. Instead we will fire the waiting event.

MozReview-Commit-ID: Cl2uBLk2qRQ

--HG--
extra : rebase_source : 6763c6f5a6e15264e276e486fab4d39491ea7f1b
2016-08-10 15:30:12 +10:00
Jean-Yves Avenard aecc883033 Bug 1293646: [MSE] P1. Reject seeking attempt with EOS when the mediasource is ended. r=gerald
Otherwise, the ended event would never be fired should the decoder have reached the end of the stream prior endOfStream being called.

MozReview-Commit-ID: CbWCnzi3nxj

--HG--
extra : rebase_source : 729e25919fdb7f8a8918c4d5a9bcae17d8c8bdc5
2016-08-09 23:09:22 +10:00
JW Wang 60c4b69563 Bug 1293940 - fix uninitialized members. r=gerald
MozReview-Commit-ID: 8QRGKowJiYC

--HG--
extra : rebase_source : 0f38f004f22b1a5cf81b842c843c23fdec41e939
2016-08-10 15:04:39 +08:00
JW Wang 5b157f2095 Bug 1292453 - MDSM should enter dormant state when its reader is suspended. r=esawin
MozReview-Commit-ID: Fg7jBtGEHBy

--HG--
extra : rebase_source : 8674c24049e609ecd52f35bc225c693f62208431
2016-08-09 14:43:22 +08:00
JW Wang f18a46b384 Bug 1293572 - Flushing a decoder that is not initialized causes hang. Don't create decoders when the reader is suspened. r=jya
MozReview-Commit-ID: 7ylrYLrrwIS

--HG--
extra : rebase_source : 7421d6b0ee804f30cdfdba0ffda8d9c44d3d7ba5
2016-08-05 17:25:49 +08:00
JW Wang 296eb5268a Bug 1290318 - listen to "cacheservice:empty-cache" to clear media cache. r=mayhemer
MozReview-Commit-ID: 7t4FPCxOUYl

--HG--
extra : rebase_source : 3c10840d2559e7fb2db47cbb3c439a7a8ddc5792
2016-08-08 11:04:55 +08:00
Dan Minor 3559474034 Bug 1293422 - Add PacketizeMode0 to RtpPacketizerH264; r=jesup
We were previously using PacketizeFuA which stripped the NAL header. Since the
fragment fit in a single packet it would then be sent without any header
causing difficulties on the receiving side. This adds a PacketizeMode0 which
leaves the header intact.

MozReview-Commit-ID: 91rbveSuXtT

--HG--
extra : rebase_source : 95092f5e3cbb31f9c4697ed4fd272cd458eb4e94
2016-08-09 15:59:48 -04:00
Wes Kocher 02224536e4 Merge m-c to autoland, a=merge 2016-08-10 16:56:26 -07:00
Wes Kocher 45e888ff26 Merge fx-team to central, a=merge 2016-08-10 16:53:40 -07:00
Wes Kocher fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher 46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Georg Fritzsche f912d82001 Bug 1294018 - Part 2 - Update histogram whitelists to pass the new checks. r=chutten 2016-08-10 18:23:44 +02:00
Georg Fritzsche 28e83aca81 Bug 1294018 - Part 1 - Enforce whitelist updates on Histograms.json changes. r=chutten 2016-08-10 18:23:43 +02:00
James Long a5d5d3643d Bug 1294103 - Load source-map and pretty-print workers in new debugger r=me 2016-08-10 11:59:24 -04:00
Ehsan Akhgari d10c483558 Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00
Eddy Bruel 2bdbd75fa0 Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
Eddy Bruel 4946e9577a Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen 2016-08-10 17:35:50 +02:00
Eddy Bruel 5f2b46097a Bug 1288423 - Decouple PerformanceEntriesActor from PerformanceEntriesFront. r=fitzgen 2016-08-10 17:35:31 +02:00
Eddy Bruel 1dc21ea38a Bug 1288423 - Decouple EventsFormActor from EventsFormFront. r=fitzgen 2016-08-10 17:35:12 +02:00
Eddy Bruel 7cafaf845a Bug 1288423 - Decouple EventsFormActor from EventsFormFront. r=fitzgen 2016-08-10 17:34:34 +02:00
Carsten "Tomcat" Book 9c3cf65d09 Merge mozilla-central to fx-team 2016-08-10 16:04:01 +02:00
Carsten "Tomcat" Book 553a2da922 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
Carsten "Tomcat" Book 5a14c558ee merge fx-team to mozilla-central a=merge 2016-08-10 15:52:07 +02:00