Bug 1550633 - part17 : modify test 'browser_cache.js'. r=timhuang

As now we won't automatically load disabled text track, we have to mark track as `default` in order to trigger loading.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
alwu 2019-05-23 17:58:40 +00:00
Родитель 8657110169
Коммит 0888e9c1ac
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -184,6 +184,7 @@ async function doTest(aBrowser) {
audioSource.setAttribute("type", "audio/ogg");
audioTrack.setAttribute("src", trackURL);
audioTrack.setAttribute("kind", "subtitles");
audioTrack.setAttribute("default", true);
audio.appendChild(audioSource);
audio.appendChild(audioTrack);