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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-pointer-control.html

Issue 2020943002: update-w3c-deps: Do not modify testharness tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
1 <!doctype html> 1 <!doctype html>
2 <title>pointer updates (control test)</title> 2 <title>pointer updates (control test)</title>
3 <script src="/resources/testharness.js"></script> 3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div> 5 <div id=log></div>
6 <script> 6 <script>
7 var a = 0; 7 var a = 0;
8 var b = 0; 8 var b = 0;
9 var c = 0; 9 var c = 0;
10 </script> 10 </script>
11 <video 11 <video
12 ><source onerror=a++ 12 ><source onerror=a++
13 ><source onerror=b++ src='resources/delayed-broken-video.py' 13 ><source onerror=b++ src='resources/delayed-broken-video.py'
14 ><source onerror=c++ 14 ><source onerror=c++
15 ></video> 15 ></video
16 >
16 <script> 17 <script>
17 async_test(function(t) { 18 async_test(function(t) {
18 window.onload = t.step_func(function() { 19 window.onload = t.step_func(function() {
19 assert_equals(a, 1, 'error events on a'); 20 assert_equals(a, 1, 'error events on a');
20 assert_equals(b, 1, 'error events on b'); 21 assert_equals(b, 1, 'error events on b');
21 assert_equals(c, 1, 'error events on c'); 22 assert_equals(c, 1, 'error events on c');
22 t.done(); 23 t.done();
23 }); 24 });
24 }); 25 });
25 </script> 26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698