gecko-dev/testing
Chris Pearce 2e3c4bd9af Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz
Various web authors have expressed desire to know in advance whether autoplay
will work.

They want this in order to avoid paying the price for downloading media that
won't play. Or they want to take other action such as showing a poster image
instead.

This is of particular interest to Firefox, as we're planning on showing a
prompt to ask the user whether they would like a site to play. If sites want to
determine whether they can autoplay but avoid the prompt showing, they won't be
able to just call play() in Firefox and see whether it works, as that would
likely show the prompt if the user doesn't already have a stored permission.

We've been working out a spec here:
https://github.com/whatwg/html/issues/3617#issuecomment-398613484

This implements what is the consensus to date there;
HTMLMediaElement.allowedToPlay, which returns true when a play() call would not
be blocked with NotAllowedError by autoplay blocking policies.

MozReview-Commit-ID: AkBu0G7uCJ0

--HG--
extra : rebase_source : 3f31db79aa1e570fdd9fc7062d0ddac7c96a8931
2018-07-25 14:25:17 +12:00
..
awsy Bug 1474208: Use median of all process values for AWSY base content. r=erahm 2018-07-08 11:50:46 -07:00
config Backed out 2 changesets (bug 1473648, bug 1476661) for mochitest failure on testing/mochitest/tests/python/test_basic_mochitest_plain.py 2018-08-01 16:01:05 +03:00
crashtest
firefox-ui Bug 1414776 - [fxui] Reset security.mixed_content.upgrade_display_content preference for mixed content test. r=ato 2018-07-24 16:09:34 +02:00
geckodriver Bug 1479774 - Drop mozreview references from geckodriver docs. r=me 2018-07-31 15:10:57 +01:00
gtest Bug 1468547 - Re-factor gtest mach command to not invoke make when not necessary. r=mshal 2018-07-09 14:28:59 -07:00
jsshell Bug 1465360 - add asm.js-apps shell benchmark to jsshell-bench. r=ahal 2018-06-19 08:58:20 -04:00
marionette Merge inbound to mozilla-central. a=merge 2018-08-01 00:58:55 +03:00
mochitest Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00
modules Bug 1478305 - Remove unnecessary ChromeUtils.import calls in testing/. r=mossop 2018-07-30 10:40:22 +01:00
mozbase Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00
mozharness Backed out 2 changesets (bug 1473648, bug 1476661) for mochitest failure on testing/mochitest/tests/python/test_basic_mochitest_plain.py 2018-08-01 16:01:05 +03:00
profiles Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz 2018-07-25 14:25:17 +12:00
raptor Bug 1478057 - Report the mean of all measurements per pageload, not separate values per measurement type; r=igoldan 2018-07-27 11:10:30 -04:00
runtimes Bug 1474414 - Move most of browser/extensions/activity-stream to browser/components/newtab r=Mardak 2018-07-26 20:50:49 -07:00
specialpowers Bug 1478305 - Remove unnecessary ChromeUtils.import calls in testing/. r=mossop 2018-07-30 10:40:22 +01:00
talos Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop 2018-07-26 22:09:12 -03:00
tools
tps Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE 2018-07-12 21:22:32 +03:00
web-platform Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
webdriver Bug 1471201 - Increase webdriver HTTPD Keep-Alive timeout to 90s. r=automatedtester 2018-07-05 12:50:33 +01:00
xpcshell Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00
README.txt
cppunittest.ini Bug 1468199 - remove references to b2g in test manifests r=jmaher 2018-06-12 14:57:00 +03:00
mach_commands.py Bug 1477276 - Fix regression preventing |mach help| without an objdir r=bhearsum 2018-07-20 14:58:06 +00:00
moz.build
remotecppunittests.py Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown. 2018-07-27 08:27:16 -07:00
runcppunittests.py
testsuite-targets.mk Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff