215 | | When writing these tests it is often useful to include either [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], OR, [http://trac.webkit.org/browser/trunk/LayoutTests/resources/testharness.js LayoutTests/resources/testharness.js] and [http://trac.webkit.org/browser/trunk/LayoutTests/resources/testharnessreport.js LayoutTests/resources/testharnessreport.js]. testharness.js / testharnessreport.js are preferable as they allow portability between the WebKit and W3C test repositories. More information is available [wiki:"Writing testharness Tests" here] |
216 | | |
217 | | 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] |
| 215 | When writing these tests it is often useful to include either [http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/resources/js-test.js LayoutTests/fast/js/resources/js-test.js], OR [http://trac.webkit.org/browser/trunk/LayoutTests/resources/testharness.js LayoutTests/resources/testharness.js] and [http://trac.webkit.org/browser/trunk/LayoutTests/resources/testharnessreport.js LayoutTests/resources/testharnessreport.js]. testharness.js / testharnessreport.js are preferable as they allow portability between the WebKit and W3C test repositories. More information is available [wiki:"Writing testharness Tests" here] |
| 216 | |
| 217 | 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.js LayoutTests/fast/js/resources/js-test.js] |