Changes between Version 4 and Version 5 of Writing DumpAsMarkup Tests


Ignore:
Timestamp:
Jun 19, 2012 1:18:07 AM (12 years ago)
Author:
rniwa@webkit.org
Comment:

s/layoutTestController/testRunner/

Legend:

Unmodified
Added
Removed
Modified
  • Writing DumpAsMarkup Tests

    v4 v5  
    1515}}}
    1616
    17 dump-as-markup.js then outputs the DOM tree on the page load on DRT.  If your test requires the test to be continued after the page load (e.g. uses setTimeout), then call Markup.waitUntilDone() before the page loads and Markup.notifyDone() to output the results and finish the test.  Markup's waitUntilDone and notifyDone automatically calls layoutTestController's counterparts.
     17dump-as-markup.js then outputs the DOM tree on the page load on DRT.  If your test requires the test to be continued after the page load (e.g. uses setTimeout), then call Markup.waitUntilDone() before the page loads and Markup.notifyDone() to output the results and finish the test.  Markup's waitUntilDone and notifyDone automatically calls testRunner's counterparts.
    1818
    1919For example, if I have: