Commit Graph

8 Commits

Author SHA1 Message Date
alwu
b26e3f253f Bug 1483703 - part3 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D3672

--HG--
extra : moz-landing-system : lando
2018-08-22 22:52:04 +00:00
Dale Harvey
c9e5e7c554 Bug 1470082 - Change autoplay checkbox to combobox. r=cpearce,flod,johannh
MozReview-Commit-ID: E71TxvgfJlJ

--HG--
extra : rebase_source : 30ca63df77e48a44de4d3e90182440c3937ed32f
2018-06-29 14:14:33 +01:00
Chris Pearce
e08b3c171c Bug 1464922 - Don't allow media without audio tracks to autoplay. r=bryce
I don't think we should allow media without audio tracks to autoplay because:
* It means play() before loaded metadata behaves differently than play()
called after loaded metadata.
* With the current impl we dispatch the "play" event and then the "pause"
event when we decide we should block, which may confuse some sites' controls.
* Delaying running the play() algorithm until we've loaded metadata would add
significant complexity, and may break sites.
* Chrome doesn't have this provision, meaning the complexity required to
support it will not result in much benefit to us.

MozReview-Commit-ID: FSVlDJAOisw

--HG--
extra : rebase_source : 93b1bcf8d8edbd6ca10ad918b40a87cd3cfbbf0b
2018-05-28 22:09:14 +12:00
Alastor Wu
e4e20429c8 Bug 1415478 - part3 : add tests. r=jwwang
MozReview-Commit-ID: ALFQcKRKk7c

--HG--
extra : rebase_source : f3336de39be80552b422566feb8eac527ec9a912
2017-11-30 10:50:23 +08:00
Sebastian Hengst
706ac3aea0 Backed out 3 changesets (bug 1415478) for frequently asserting in own test test_autoplay_policy.html at MediaDecoderStateMachine.cpp:989. r=backout
Backed out changeset 6ba103fe1caf (bug 1415478)
Backed out changeset df6721a3584f (bug 1415478)
Backed out changeset 8a802839959b (bug 1415478)

--HG--
extra : rebase_source : be4296b1b36005195897de5544941b58895de661
2017-11-27 19:57:34 +02:00
Alastor Wu
8cbc022a9e Bug 1415478 - part3 : add tests. r=jwwang
MozReview-Commit-ID: ALFQcKRKk7c

--HG--
extra : rebase_source : 090bbe126cfec1fa59cf3b17023e686813de3de9
2017-11-27 19:20:27 +08:00
dluca
85d0512151 Backed out 3 changesets (bug 1415478) for frequently asserting at dom/media/MediaDecoderStateMachine.cpp:1009 on a CLOSED TREE
Backed out changeset 447d895b350d (bug 1415478)
Backed out changeset d855c032c823 (bug 1415478)
Backed out changeset 6739012c4bdf (bug 1415478)
2017-11-24 18:50:53 +02:00
Alastor Wu
79ad800f6f Bug 1415478 - part3 : add tests. r=jwwang
MozReview-Commit-ID: ALFQcKRKk7c

--HG--
extra : rebase_source : 4d9aebf3ed627fbb42ec20b32bc608f0360a7182
2017-11-24 16:42:47 +08:00