Changes between Version 4 and Version 5 of Writing DumpAsMarkup Tests
- Timestamp:
- Jun 19, 2012, 1:18:07 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing DumpAsMarkup Tests
v4 v5 15 15 }}} 16 16 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.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 testRunner's counterparts. 18 18 19 19 For example, if I have: