gecko-dev/testing
alwu df7a85cbd8 Bug 1550633 - part5 : modify and enable test 'track-mode-not-changed-by-new-track.html'. r=jya
In `honor user preferences for automatic text track selection` [1], we would set `did-perform-automatic-track-selection` flag to true [2], and then we won't execute automatic track selection anymore [3].

It means that we would only do automatic track selection one time, and then user has to enable newly added track explicitly by changing its mode.

In this test, we have done the automatic track selection when we added the `metadata` track to media element's text track list, so we won't run it again, even if the newly added track has `default` attribute.

Therefore, we have to enable the `caption` track explicitly. In addition, add the missing `event` parameter for the function `trackAdded()`.


[1] https://html.spec.whatwg.org/multipage/media.html#honor-user-preferences-for-automatic-text-track-selection
[2] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection-2
[3] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:did-perform-automatic-track-selection

Differential Revision: https://phabricator.services.mozilla.com/D31375

--HG--
extra : moz-landing-system : lando
2019-05-20 09:33:13 +00:00
..
awsy Bug 1532491 - Part 2: Add a tp6 version of AWSY. r=bc,rwood 2019-04-01 19:21:54 +00:00
config Bug 1551262 - Remove mach support for jimdb; r=snorp 2019-05-13 20:52:29 +00:00
crashtest
extensions
firefox-ui Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs 2019-04-08 09:15:16 +00:00
geckodriver Merge inbound to mozilla-central. a=merge 2019-04-12 18:48:02 +03:00
gtest Bug 1550161 - Avoid attribute error in android gtest; r=bc 2019-05-10 01:19:43 +00:00
jsshell
marionette Bug 1542244: Disable Privacy and tracking protection features during testing. r=webdriver-reviewers,ato,whimboo 2019-05-20 21:49:19 +00:00
mochitest Bug 1551334 - Migrate OSX hidden window from XUL to XHTML r=Gijs 2019-05-22 18:00:13 +00:00
modules Bug 1541025 - testing/ automated ESLint no-throw-literal fixes. r=jmaher 2019-04-02 13:44:16 +00:00
mozbase Bug 1066323 - [mozlog] Mozlog shouldn't propagate unremarkable defaults to the raw log r=jgraham 2019-05-21 16:45:59 +00:00
mozharness Bug 1553339 - Abandon "2" in name of sccache toolchain artifacts. r=nalexander 2019-05-22 21:06:16 +00:00
profiles Bug 1550075 - Add android user profile to raptor, enable smart disk cache sizing r=rwood 2019-05-22 13:23:05 +00:00
raptor Bug 1553623: Fix typos in Raptor's cmdline.py; r=perftest-reviewers,sparky 2019-05-22 21:12:28 +00:00
runtimes Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike 2019-04-23 17:36:40 +00:00
specialpowers Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod 2019-05-03 17:13:17 +00:00
talos Bug 1551106 part 1. Stop using [array] in StartProfiler. r=gerald 2019-05-21 14:42:57 +00:00
tools
tps
web-platform Bug 1550633 - part5 : modify and enable test 'track-mode-not-changed-by-new-track.html'. r=jya 2019-05-20 09:33:13 +00:00
webdriver
xpcshell Bug 1533051 - Package greprefs.js and geckoview-prefs.js at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium 2019-05-22 18:27:11 +00:00
README.txt
addtest.py Bug 1547996 - Fix mochitest-browser-chrome with mach addtest;r=ahal 2019-04-30 15:20:51 +00:00
cppunittest.ini
mach_commands.py Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted 2019-05-03 13:00:46 -06:00
moz.build
parse_build_tests_ccov.py
remotecppunittests.py
runcppunittests.py Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted 2019-05-03 13:00:46 -06:00
testsuite-targets.mk Bug 1553481 - Filter out pdbs from CPP_UNIT_TEST_BINS so we don't try to strip them r=firefox-build-system-reviewers,dmajor 2019-05-22 15:08:07 +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