Changes between Version 29 and Version 30 of Writing Layout Tests for DumpRenderTree


Ignore:
Timestamp:
Oct 27, 2011 5:42:37 PM (12 years ago)
Author:
arv@chromium.org
Comment:

Remove part about needing #console and #description

Legend:

Unmodified
Added
Removed
Modified
  • Writing Layout Tests for DumpRenderTree

    v29 v30  
    195195When writing test cases that only test the DOM it is still preferred to use an .html file since it only requires one test file instead of two.
    196196
    197 When writing these tests it is often useful to include [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-pre.js LayoutTests/fast/js/resources/js-test-pre.js] and  [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-post.js LayoutTests/fast/js/resources/js-test-post.js]. To get these to work you need to have an element with id `description` and another element with the id `console`.
     197When writing these tests it is often useful to include [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-pre.js LayoutTests/fast/js/resources/js-test-pre.js] and  [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test-post.js LayoutTests/fast/js/resources/js-test-post.js].
    198198
    199199To 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]