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

725 Коммитов

Автор SHA1 Сообщение Дата
Iris Hsiao 541787d3f9 Backed out changeset 763cc804a25d (bug 1361944) for causing crashtest perma failure on Android 2017-05-05 15:12:51 +08:00
JW Wang 0b67e0ea16 Bug 1361944. P1 - add a crash test. r=cpearce
The crash happens when:
1. there are multiple <source> children.
2. decode error happens on the 1st child.

MozReview-Commit-ID: 60UXaQ475Nh

--HG--
extra : rebase_source : b7e61ae909cfa10fb2db3c41b278449de41b9450
2017-05-04 14:23:23 +08:00
Paul Adenot 16a32f974b Bug 1361475 - Remove proprietary constructor on AudioContext. r=baku
This was used only for B2G, was proprietary, and is causing issues, because
`AudioContext` can now have a parameter that is a property bag, per spec
(although we haven't implemented it at the moment).

MozReview-Commit-ID: 6LOlNp0cbfV

--HG--
extra : rebase_source : 48aa342213dba201c1062a08c7453acd16b8baea
2017-05-04 13:43:14 +02:00
Bob Clary 6d0f228a31 Bug 1358876 - Autophone - disable additional perma orange tests on Android 5.1, r=jmaher 2017-05-03 04:13:03 -07:00
Kaku Kuo d8f3ff3172 Bug 1358057 P2 - add a mochitest; r=jwwang
MozReview-Commit-ID: 4xa1GojEnX0

--HG--
extra : rebase_source : b7585b7cf0ffd0dafede1823f138ac53fa160885
2017-04-25 16:03:47 +08:00
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
JW Wang 1915d358a7 Bug 1359725 - add timeout to LoadInitData() in eme.js. r=gerald
So we can cancel the bad test as soon as possible and give a better description about the error.

MozReview-Commit-ID: ExKIK2HqJkN

--HG--
extra : rebase_source : 26391dfea33ab792cc5f0dc58fa42e6309e0c699
extra : source : 138125800895658a6feb88e3f90487d62b955f6a
2017-04-26 16:22:08 +08:00
JW Wang 0af5a6c95e Bug 1358399. P7 - remove unused code. r=gerald
1. The 'onlyLoadFirstFragments' flag is not used anymore.
2. The 'noEndOfStream' flag is never set to true.
3. EMEPromiseAll has no callers.

MozReview-Commit-ID: BH3r5AvMOSN

--HG--
extra : rebase_source : dbe002d18d448d63e5b9e869f194cfbb54a498f8
extra : intermediate-source : d6a8bf58e8e29e726986d0c8e6159231dfe8aac4
extra : source : 5a899425c326ff63365a99e314a728e6a0125a7f
2017-04-22 08:22:11 +08:00
JW Wang c71c3df555 Bug 1358399. P6 - rewrite SetupEME() using the new helper functions and fix its callers. r=gerald
MozReview-Commit-ID: KUXhvPIuXry

--HG--
extra : rebase_source : b067b139dd536fb84bd6b89705efae920fa5b44b
extra : intermediate-source : a36fea44e27326b83af292f23bed7ba48c3d3ab9
extra : source : 3ec2d58a8a10d1eb0f32f16bcb7835762519b4c9
2017-04-21 18:06:31 +08:00
JW Wang 116b20a522 Bug 1358399. P5 - rewrite test_eme_stream_capture_blocked_case1.html using the new helper functions. r=gerald
Note we don't need to pass the 'onlyLoadFirstFragments' flag
since we ensure the test won't finish until LoadTest() is resolved.

MozReview-Commit-ID: 2cFDGhqWkrP

--HG--
extra : rebase_source : 6c647f2238e9a73297c8ec449a965129e9ad47db
extra : intermediate-source : 8562a1de41a9ce008f862611a31c4f1f014e891d
extra : source : 1aaad490dc44b9a33c92e724dedf4d4ca600febb
2017-04-21 17:37:30 +08:00
JW Wang 3aba8d4512 Bug 1358399. P4 - rewrite test_eme_playback.html using the new helper functions. r=gerald
MozReview-Commit-ID: HUQcM7If6IQ

--HG--
extra : rebase_source : 733c419fde0ee8fef58b4d044565ffa0aed6ca8f
extra : intermediate-source : d5bcaa3617b41d6946737556828fc91fd4150b4f
extra : source : 1cd3ca11c04a9d17fb2146ce3a31771da508a499
2017-04-21 17:10:32 +08:00
JW Wang d73ad878ae Bug 1358399. P3 - rewrite test_eme_waitingforkey.html using the new helper functions. r=gerald
MozReview-Commit-ID: 5os3dUhTN5v

--HG--
extra : rebase_source : c9feb41635e669e185068db46025cc3afa89ec93
extra : intermediate-source : 44d35cde9e82fa8c9abe431a6a0ec23ab448655f
extra : source : 1727f52de8446d6cfb2185c8c929a2efcd8e9451
2017-04-21 17:10:13 +08:00
JW Wang 4054b9864b Bug 1358399. P2 - split SetupEME() into small functions which will be useful in next patches. r=gerald
MozReview-Commit-ID: 7IZUYZaSlIr

--HG--
extra : rebase_source : 57a4556b4ce0bb6e5f2fd04b812de4613bd4c31a
extra : intermediate-source : 5a336b709abeeaace6167b52d7d8c67c0c27218b
extra : source : f4e04d207b81793218d231cbec4aa8d4a0101318
2017-04-21 17:05:18 +08:00
JW Wang c351b765ff Bug 1358399. P1 - move "elem.crossOrigin = test.crossOrigin || false" from SetupEME() to LoadTest() to improve cohesion. r=gerald
The attributes are used by MaybeCrossOriginURI() which is called by LoadTest() indirectly.

MozReview-Commit-ID: LH2STpONuCE

--HG--
extra : rebase_source : 5762de80943d30064df0d4a69ebe7d36a12f308b
extra : intermediate-source : 73e455a974c9bc3609b72d3ffbbcbc6f1077f62b
extra : source : 7802185d9bcaec4f7377de94e4876d995a8ab019
2017-04-21 14:29:25 +08:00
Alastor Wu da6126aa49 Bug 1339449 - Re-enable video-replay-after-audio-end.html crashtest. r=jya
MozReview-Commit-ID: Eknt8O0HEfv

--HG--
extra : rebase_source : 83894debf8784cd0db5048d67320c29497324704
2017-04-25 12:38:47 +08:00
Bob Clary e0fcc0bc36 Bug 1358876 - Autophone - disable perma orange tests on Android 5.1, r=jmaher. 2017-04-24 08:02:59 -07:00
Sebastian Hengst 38b7615ab3 Backed out changeset df17c800d8f2 (bug 1358876) for crash test bustage. r=backout
"AndroidVersion is not defined"
2017-04-24 17:35:37 +02:00
Bob Clary 33ee94b632 Bug 1358876 - Autophone - disable perma orange tests on Android 5.1, r=jmaher. 2017-04-24 08:02:59 -07:00
JW Wang bbfc0ddbdc Bug 1358401. P4 - reject the promise with an error string in UpdateSessionFunc(). r=gerald
MozReview-Commit-ID: 2bFb9NBQPxk

--HG--
extra : rebase_source : 63954ce39889fcd9b5eba6a36907c6e88493b870
2017-04-21 15:35:41 +08:00
JW Wang 6ba104e8e5 Bug 1358401. P3 - reject the promise in LoadTest() when AppendTrack() fails. r=gerald
MozReview-Commit-ID: 2TijR5hwyLH

--HG--
extra : rebase_source : 1e162f7544a32d9543c45330d4b48884d96b37c7
extra : intermediate-source : 570e3e387db034bd9bbb782590112ce975338bf0
extra : source : 7fb31935f05579bb3b29640845284c1b32cc7e51
2017-04-19 15:30:32 +08:00
JW Wang 5e8497b518 Bug 1358401. P2 - use the 'once' handler to remove the |firstOpen| check. r=gerald
MozReview-Commit-ID: Ezp0dM1VXco

--HG--
extra : rebase_source : c2057a95ee851f6f6ea56799c5cda4d4f13c48b0
extra : intermediate-source : 1292faea67b556651ee2c4c43ec30eed61f8078f
extra : source : 9d0e54ec0097de7f394095fb61401cfc5ce543b8
2017-04-19 15:19:33 +08:00
JW Wang fb2674118c Bug 1358401. P1 - reject the promise when failing to fetch the buffer. r=gerald
MozReview-Commit-ID: 2ANLUx8JuFe

--HG--
extra : rebase_source : 4b003cc9149ef51987d8f4561acf709e67047ac9
extra : intermediate-source : 0b2640fad8cd7f86f636d0d75699faf381959a12
extra : source : 1dfca1cd8866065ed403d54c01234bd162addec0
2017-04-19 15:16:47 +08:00
Paul Adenot 157420fa1d Bug 1357640 - Fix API usage of pushPrefEnv in test_mediarecorder_record_changing_video_resolution.html. r=achronop
MozReview-Commit-ID: BHU6za3spqJ

--HG--
extra : rebase_source : 3e19295195823056d5e93e187442b7507551ea87
2017-04-19 17:46:04 +02:00
JW Wang ba9f942373 Bug 1340037 - per comment 11, we need to wait for all initData are processed before finishing the test to avoid "Result logged after SimpleTest.finish()". r=gerald
Note this patch doesn't fix the crash in comment 10 which seems to be related to ChromiumCDMParent.

MozReview-Commit-ID: CcCPYJCZ39X

--HG--
extra : rebase_source : 79c73602fcfd4651b7af0085e539853eb5e4a7da
2017-04-19 10:52:23 +08:00
Kaku Kuo 970ad6b36c Bug 1344357 P4 - add a mochitest; r=jwwang
MozReview-Commit-ID: FsqN9S8vdcV

--HG--
extra : rebase_source : b2837752f20e90cd84d6b71f0793e833f5ae8140
2017-04-17 19:25:53 +08:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Dan Banner cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Alex Chronopoulos bffcec9307 Bug 1354506: Disable 3 media recorder test on android. r=padenot
MozReview-Commit-ID: 9Jjii3i5a2a

--HG--
extra : rebase_source : 949954295fef156a19a680e532068c28f488fd88
2017-04-10 12:18:33 +03:00
Alex Chronopoulos 8e25f6f497 Bug 1232043 - Update/create mochitests for recorder resolution change. r=pehrsons
MozReview-Commit-ID: IinhX2xFI42
2017-04-07 13:14:19 +03:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Kaku Kuo 7ab8b4bb1f Bug 1349097 P4 - add a mochitest; r=jwwang
MozReview-Commit-ID: A71wl09i0eq

--HG--
extra : rebase_source : 2ddd0504a94c7bbca2c6a127c23a6764b885ef21
extra : source : 1b8111b8d82a7745c4aaf5dd82512ffecea52cb7
2017-03-24 17:09:41 +08:00
Karl Tomlinson cb207295b9 crashtest for bug 1274083 r=jesup
This needed some fine tuning to produce the crash, and so is a very specific
test.  It is still of value because this specific situation is not otherwise
tested, and it provides input to fuzzers for potential similar situations.

--HG--
extra : rebase_source : d87ec7d1e483a0a3045f07d7686b2be1b80a2e7f
2017-04-04 16:18:19 +12:00
Wes Kocher da57a3e4df Merge m-c to inbound, a=merge
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Kartikaya Gupta 47c42c47ea Bug 1322816 - Re-enable some skipped reftests now that WebRender handles them. r=rhunt
MozReview-Commit-ID: 1egwR8QAZ2O
2017-03-22 13:56:33 -04:00
Kaku Kuo 0f173417cb Bug 1349459 part 2 - test element as tainted when CreateImageBitmap() is used; r=jwwang
MozReview-Commit-ID: 6zjugUsA4fZ

--HG--
extra : rebase_source : ee9b3cbcb5fed0641b6d7ec230e1d9a17d3098d4
2017-03-22 15:32:03 +08:00
Kaku Kuo 871c76462e Bug 1349456 part 3 - test element become tainted while captured via MozCaptureStream(); r=jwwang
MozReview-Commit-ID: 4nJHwZjZ2zG

--HG--
extra : rebase_source : 4e43cea30088b3e1f4858ace2a1bbe7f85c540fe
2017-03-22 15:03:19 +08:00
JW Wang da0e25d248 Bug 1348634. P1 - add more debugging logs. r=kaku
MozReview-Commit-ID: FB7XKRLNeVw

--HG--
extra : rebase_source : 0cf4ae1ffacc3e774bf552f65b7ea607afc28b17
2017-03-21 14:39:48 +08:00
Bob Clary 62d135a45f Bug 1347954 - Disable dom/media/test/test_video_to_canvas.html, r=gbrown. 2017-03-20 09:26:18 -07:00
Kaku Kuo d297b25659 Bug 1346116 part 3 - a test case for not suspend not-in-tree videos; r=jwwang
MozReview-Commit-ID: JooStwaUGcx

--HG--
extra : rebase_source : b3fd43e3f76f047d6af3a1c9ff43386bb2603e78
extra : source : f2eb126ed9eb32b509544469d3a4cdfde1449203
2017-03-12 14:03:04 +08:00
Kaku Kuo 6fd31124b4 Bug 1346120 part 6 - Test drawImage gets a non-single-color image from suspended video; r=jwwang
Once part 4 is applied, a suspend video element won't be rendered anymore, so that the video element keeps the last decoded-frame.
By this way, drawing a suspended video element to a canvas should get something that is not single-color.

MozReview-Commit-ID: J6dsZIvtO

--HG--
extra : rebase_source : 247db68d5fb0f6b24b07c197411e5d423ff02705
extra : intermediate-source : 145a223ab9777edc2bc9f2868eef2cbcd8725171
extra : source : 7e55644b5ba79c7a13211c23cedc5dc77a1e55ff
2017-03-09 17:37:32 +08:00
Kaku Kuo 7dff9a64fb Bug 1345403 part 5 - Test video suspend canceling; r=jwwang
MozReview-Commit-ID: 99IDqpwuRIf

--HG--
extra : rebase_source : 468cb4563d6ed1b5fdb976ecfb68cf9b14b90389
extra : intermediate-source : 67db97814e8acbc68e4dc708d175a3c1013c9257
extra : source : 5f834fb13ceea6b13136c1fbd60d266eee95f3ad
2017-03-08 21:18:13 +08:00
Kaku Kuo 2f5609af1a Bug 1345403 part 3 - Test element becomes tainted by DrawImage; r=jwwang,smaug
MozReview-Commit-ID: 9Txz4FbFtPe

--HG--
extra : rebase_source : eab599fdcbafa2fef60cc9951863727d8cc9c265
extra : intermediate-source : edc821a13b41fdfdae851e5fe2a8784795f248d9
extra : source : f540afdef527d1beb10a29c235f2e3b5637fc814
2017-03-08 20:22:05 +08:00
Iris Hsiao 7f4987cc26 Backed out 6 changesets (bug 1346120) for autophone Mdm tests failure in test_background_video_drawimage_with_suspended_video.html
Backed out changeset a30c73fc8d69 (bug 1346120)
Backed out changeset f16556658fd9 (bug 1346120)
Backed out changeset 98d212462786 (bug 1346120)
Backed out changeset ba579adbed21 (bug 1346120)
Backed out changeset c0758b9bf7b5 (bug 1346120)
Backed out changeset 94a483ef784e (bug 1346120)
2017-03-13 16:53:14 +08:00
Iris Hsiao bdff9504ef Backed out 5 changesets (bug 1345403) for permanent failure in autophone Mdm tests
Backed out changeset f6415ae0ba89 (bug 1345403)
Backed out changeset ac12e246a808 (bug 1345403)
Backed out changeset a3e4ce12194f (bug 1345403)
Backed out changeset ba072186c917 (bug 1345403)
Backed out changeset 7a7d6e9b8329 (bug 1345403)
2017-03-13 15:28:14 +08:00
Kaku Kuo ffe7d25e12 Bug 1346120 part 6 - Test drawImage gets a non-single-color image from suspended video; r=jwwang
Once part 4 is applied, a suspend video element won't be rendered anymore, so that the video element keeps the last decoded-frame.
By this way, drawing a suspended video element to a canvas should get something that is not single-color.

MozReview-Commit-ID: J6dsZIvtO

--HG--
extra : rebase_source : 16207bb1925fc8317ba35d4adbe86c7fba6ee9b2
extra : source : 7e55644b5ba79c7a13211c23cedc5dc77a1e55ff
2017-03-09 17:37:32 +08:00
Kaku Kuo 1b7bf855b4 Bug 1345403 part 5 - Test video suspend canceling; r=jwwang
MozReview-Commit-ID: 99IDqpwuRIf

--HG--
extra : rebase_source : 1e1f945043ff4617a7c2db82e1f8dcf9e2277f6b
extra : source : 5f834fb13ceea6b13136c1fbd60d266eee95f3ad
2017-03-08 21:18:13 +08:00
Kaku Kuo 0759051af2 Bug 1345403 part 3 - Test element becomes tainted by DrawImage; r=jwwang,smaug
MozReview-Commit-ID: 9Txz4FbFtPe

--HG--
extra : rebase_source : 904462698bdcdd89dad05ab1631910ea3b9bf5d2
extra : source : f540afdef527d1beb10a29c235f2e3b5637fc814
2017-03-08 20:22:05 +08:00