Use a wave file instead of ogg files for audio and video controls direction tests in order to minimize the possibility of random test timeouts. (Bug 528001)

--HG--
extra : rebase_source : 4214124a911bec6eb96fdac64db7a14f08c5350d
This commit is contained in:
Ehsan Akhgari 2009-11-20 12:11:09 -05:00
Родитель c9ff2ce78e
Коммит 18403f40e1
16 изменённых файлов: 13 добавлений и 14 удалений

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

@ -127,8 +127,7 @@ _TEST_FILES = test_bug360220.xul \
videocontrols_direction-2e.html \
videocontrols_direction_test.js \
use_large_cache.js \
audio.oga \
black.ogv \
audio.wav \
video.ogg \
videomask.css \
$(NULL)

Двоичные данные
toolkit/content/tests/widgets/audio.oga

Двоичный файл не отображается.

Двоичные данные
toolkit/content/tests/widgets/audio.wav Normal file

Двоичный файл не отображается.

Двоичные данные
toolkit/content/tests/widgets/black.ogv

Двоичный файл не отображается.

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<video controls autobuffer id="av" source="black.ogv"></video>
<video controls autobuffer id="av" source="audio.wav"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body>
<video controls autobuffer id="av" source="black.ogv"></video>
<video controls autobuffer id="av" source="audio.wav"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body>
<video controls autobuffer id="av" source="black.ogv"></video>
<video controls autobuffer id="av" source="audio.wav"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="direction: rtl">
<video controls autobuffer id="av" source="black.ogv"></video>
<video controls autobuffer id="av" source="audio.wav"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<video controls autobuffer id="av" source="black.ogv" dir="rtl"></video>
<video controls autobuffer id="av" source="audio.wav" dir="rtl"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<video controls autobuffer id="av" source="black.ogv" style="direction: rtl;"></video>
<video controls autobuffer id="av" source="audio.wav" style="direction: rtl;"></video>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<audio controls autobuffer id="av" source="audio.oga"></audio>
<audio controls autobuffer id="av" source="audio.wav"></audio>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body>
<audio controls autobuffer id="av" source="audio.oga"></audio>
<audio controls autobuffer id="av" source="audio.wav"></audio>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body>
<audio controls autobuffer id="av" source="audio.oga"></audio>
<audio controls autobuffer id="av" source="audio.wav"></audio>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="direction: rtl">
<audio controls autobuffer id="av" source="audio.oga"></audio>
<audio controls autobuffer id="av" source="audio.wav"></audio>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<audio controls autobuffer id="av" source="audio.oga" dir="rtl"></audio>
<audio controls autobuffer id="av" source="audio.wav" dir="rtl"></audio>
<div id="mask"></div>
</body>
</html>

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

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="videomask.css">
</head>
<body style="text-align: right;">
<audio controls autobuffer id="av" source="audio.oga" style="direction: rtl;"></audio>
<audio controls autobuffer id="av" source="audio.wav" style="direction: rtl;"></audio>
<div id="mask"></div>
</body>
</html>