Changeset 194136 in webkit


Ignore:
Timestamp:
Dec 16, 2015 1:16:29 AM (8 years ago)
Author:
youenn.fablet@crf.canon.fr
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:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r194135 r194136  
     12015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
     2
     3        Align WebKit testharness.js with WPT testharness.js
     4        https://bugs.webkit.org/show_bug.cgi?id=152297
     5
     6        Reviewed by Darin Adler.
     7
     8        Cosmetic changes (output:true is overriden by WK testharnessreport.js)
     9        To remove the warning "WPT tests are not using the same testharness.js file as other WebKit Layout tests."
     10
     11        * media/track/getCueAsHTMLCrash.html: Adding testharnessreport.js and removing call to dumpAsText.
     12        * media/track/getCueAsHTMLCrash-expected.txt: Rebasing as tests are now outputting results.
     13        * resources/testharness.js:
     14
    1152015-12-16  Yusuke Suzuki  <utatane.tea@gmail.com>
    216
  • trunk/LayoutTests/media/track/getCueAsHTMLCrash-expected.txt

    r151471 r194136  
    11Test passes if it does not induce a crash.
     2
     3PASS , creating the cue
     4FAIL , > assert_false: hasChildNodes() expected false got true
     5PASS , 
     6PASS , x\0
     7
  • trunk/LayoutTests/media/track/getCueAsHTMLCrash.html

    r151471 r194136  
    33<div>Test passes if it does not induce a crash.</div>
    44<script src="../../resources/testharness.js"></script>
     5<script src="../../resources/testharnessreport.js"></script>
    56<script>
    6 if (window.testRunner)
    7     testRunner.dumpAsText();
    8 
    97test(function() {
    108    var cue = new TextTrackCue(0, 1, '<c>x\0');
  • trunk/LayoutTests/resources/testharness.js

    r192461 r194136  
    1616{
    1717    var debug = false;
    18 
    1918    // default timeout is 10 seconds, test can override if needed
    2019    var settings = {
    21         output:false,
     20        output:true,
    2221        harness_timeout:{
    2322            "normal":10000,
Note: See TracChangeset for help on using the changeset viewer.