Changes between Version 17 and Version 18 of Writing Layout Tests for DumpRenderTree
- Timestamp:
- Mar 4, 2011, 7:09:41 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Layout Tests for DumpRenderTree
v17 v18 27 27 }}} 28 28 29 To see what sort of special js functions are exposed to js-only tests, see http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-pre.js29 To see what sort of special js functions are exposed to js-only tests, see [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-pre.js LayoutTests/fast/js/resources/js-test-pre.js] 30 30 31 31 = DumpRenderTree JavaScript Environment = … … 39 39 === `dumpAsText()` === 40 40 41 Call this method to make your test output plain text instead of a render tree. This is useful if your test prints messages rather than testing fancy layout. For an example of how to print to a console in a test, check out `LayoutTests/fast/dom/ Element/attribute-uppercase.html`.41 Call this method to make your test output plain text instead of a render tree. This is useful if your test prints messages rather than testing fancy layout. For an example of how to print to a console in a test, check out [http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/Element/attribute-uppercase.html LayoutTests/fast/dom/Element/attribute-uppercase.html]. 42 42 43 43 === `waitUntilDone()` and `notifyDone()` ===