Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: tools/perf/page_sets/tough_video_cases/audio_playback.html

Issue 2822433004: Remove audio_loop cases from tough_video_cases pagesets. (Closed)
Patch Set: Also remove html page and media file sha1s Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 function addAudio(id, file) {
6 var audio = document.createElement('audio');
7 audio.src = file;
8 audio.loop = true;
9 audio.id = id;
10 document.body.appendChild(audio);
11 }
12
13 function getIDFromURL() {
14 var query = window.location.search;
15 return query.substring(query.lastIndexOf("id=") + 3);
16 }
17
18 addAudio('background_audio', 'pink_noise_20s.wav');
19 // Main audio file is identified by an ID passed in the page-set.
20 addAudio(getIDFromURL(), 'pink_noise_140ms.wav');
21 </script>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « tools/perf/page_sets/tough_video_cases.py ('k') | tools/perf/page_sets/tough_video_cases/pink_noise_140ms.wav.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698