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

Side by Side Diff: LayoutTests/media/track/opera/interfaces/VTTCue/getCueAsHTMLCrash.html

Issue 1061543006: Pull in the latest upstream testharness.js changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase/tweaks for affected tests Created 5 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <div>Test passes if it does not induce a crash.</div> 3 <div>Test passes if it does not induce a crash.</div>
4 <script src=../../../../../resources/testharness.js></script> 4 <script src=../../../../../resources/testharness.js></script>
5 <script src=../../../../../resources/testharnessreport.js></script>
5 <script> 6 <script>
6 if (window.testRunner) 7 if (window.testRunner)
7 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
8 9
9 test(function(){ 10 test(function(){
10 var c1 = new VTTCue(0, 1, '<c>x\0'); 11 var c1 = new VTTCue(0, 1, '<c>x\0');
11 window.frag = c1.getCueAsHTML(); 12 window.frag = c1.getCueAsHTML();
12 }, document.title+', creating the cue'); 13 }, document.title+', creating the cue');
13 14
14 test(function(){ 15 test(function(){
15 assert_false(frag.childNodes[0].hasChildNodes(), 'hasChildNodes()'); 16 assert_false(frag.childNodes[0].hasChildNodes(), 'hasChildNodes()');
16 }, document.title+', >'); 17 }, document.title+', >');
17 18
18 test(function(){}, document.title+', '); 19 test(function(){}, document.title+', ');
19 test(function(){}, document.title+', x\\0'); 20 test(function(){}, document.title+', x\\0');
20 </script> 21 </script>
21 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698