Title: [194136] trunk/LayoutTests
Revision
194136
Author
[email protected]
Date
2015-12-16 01:16:29 -0800 (Wed, 16 Dec 2015)

Log Message

Align WebKit testharness.js with WPT testharness.js
https://bugs.webkit.org/show_bug.cgi?id=152297

Reviewed by Darin Adler.

Cosmetic changes (output:true is overriden by WK testharnessreport.js)
To remove the warning "WPT tests are not using the same testharness.js file as other WebKit Layout tests."

* media/track/getCueAsHTMLCrash.html: Adding testharnessreport.js and removing call to dumpAsText.
* media/track/getCueAsHTMLCrash-expected.txt: Rebasing as tests are now outputting results.
* resources/testharness.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (194135 => 194136)


--- trunk/LayoutTests/ChangeLog	2015-12-16 09:10:09 UTC (rev 194135)
+++ trunk/LayoutTests/ChangeLog	2015-12-16 09:16:29 UTC (rev 194136)
@@ -1,3 +1,17 @@
+2015-12-16  Youenn Fablet  <[email protected]>
+
+        Align WebKit testharness.js with WPT testharness.js
+        https://bugs.webkit.org/show_bug.cgi?id=152297
+
+        Reviewed by Darin Adler.
+
+        Cosmetic changes (output:true is overriden by WK testharnessreport.js)
+        To remove the warning "WPT tests are not using the same testharness.js file as other WebKit Layout tests."
+
+        * media/track/getCueAsHTMLCrash.html: Adding testharnessreport.js and removing call to dumpAsText.
+        * media/track/getCueAsHTMLCrash-expected.txt: Rebasing as tests are now outputting results.
+        * resources/testharness.js:
+
 2015-12-16  Yusuke Suzuki  <[email protected]>
 
         [ES6] Handle new_generator_func / new_generator_func_exp in DFG / FTL

Modified: trunk/LayoutTests/media/track/getCueAsHTMLCrash-expected.txt (194135 => 194136)


--- trunk/LayoutTests/media/track/getCueAsHTMLCrash-expected.txt	2015-12-16 09:10:09 UTC (rev 194135)
+++ trunk/LayoutTests/media/track/getCueAsHTMLCrash-expected.txt	2015-12-16 09:16:29 UTC (rev 194136)
@@ -1 +1,7 @@
 Test passes if it does not induce a crash.
+
+PASS , creating the cue 
+FAIL , > assert_false: hasChildNodes() expected false got true
+PASS ,  
+PASS , x\0 
+

Modified: trunk/LayoutTests/media/track/getCueAsHTMLCrash.html (194135 => 194136)


--- trunk/LayoutTests/media/track/getCueAsHTMLCrash.html	2015-12-16 09:10:09 UTC (rev 194135)
+++ trunk/LayoutTests/media/track/getCueAsHTMLCrash.html	2015-12-16 09:16:29 UTC (rev 194136)
@@ -2,10 +2,8 @@
 <html>
 <div>Test passes if it does not induce a crash.</div>
 <script src=""
+<script src=""
 <script>
-if (window.testRunner)
-    testRunner.dumpAsText();
-
 test(function() {
     var cue = new TextTrackCue(0, 1, '<c>x\0');
     window.fragment = cue.getCueAsHTML();

Modified: trunk/LayoutTests/resources/testharness.js (194135 => 194136)


--- trunk/LayoutTests/resources/testharness.js	2015-12-16 09:10:09 UTC (rev 194135)
+++ trunk/LayoutTests/resources/testharness.js	2015-12-16 09:16:29 UTC (rev 194136)
@@ -15,10 +15,9 @@
 (function ()
 {
     var debug = false;
-
     // default timeout is 10 seconds, test can override if needed
     var settings = {
-        output:false,
+        output:true,
         harness_timeout:{
             "normal":10000,
             "long":60000
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to