Changes between Version 15 and Version 16 of Writing Layout Tests for DumpRenderTree


Ignore:
Timestamp:
Jun 28, 2010 9:58:49 AM (10 years ago)
Author:
tonyg@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Layout Tests for DumpRenderTree

    v15 v16  
    1919
    2020= Writing JavaScript-based DOM-only Test Cases =
    21 Test cases which only test the DOM can be written as .js files instead of .html files
    22  * Write a .js file and place it in a script-tests/ subdirectory
    23  * Add a TEMPLATE.html file to the same script-tests/ subdirectory, fixing the paths to point to fast/js/resources/js-test*
    24  * run make-script-test-wrappers. An example:
     21Test cases which only test the DOM can be written as .js files instead of .html files.
     22 * Write a .js file and place it in a `script-tests/` subdirectory.
     23 * Add a `TEMPLATE.html` file to the same `script-tests/` subdirectory, fixing the paths to point to `fast/js/resources/js-test*`.
     24 * Run `make-script-test-wrappers`. An example:
    2525{{{
    2626$ make-script-test-wrappers LayoutTests/fast/dom/script-tests/my-new-test.js
    2727}}}
    2828
    29 To see what sort of special js functions are exposed to js-only tests, see fast/js/resources/js-test-pre.js
     29To 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
    3030
    3131= DumpRenderTree JavaScript Environment =