| 11 | |
| 12 | * Do not use fonts other than those bundled with Mac OS X. The only exception to this is the Ahem font. |
| 13 | |
| 14 | * Tests should not access the Internet. Avoid `http:` URLs in `src` and `href` attributes, in CSS properties and in XMLHttpRequest. Testing WebKit's network layer should be done using the HTTP test facility, as described below. |
| 15 | |
| 16 | * Do not make unnecessary use of `window.setTimeout` and similar functions which create a lower bound on the time it takes the test to complete. For separating events in time, you can use `layoutTestController.leapForward`. |
| 17 | |
| 18 | * Do not make unnecessary use of external resources: use inline JavaScript and `style` elements instead of `link`s to external stylesheets. You can also use `data:` URLs sometimes for things like frames' `src` attribute. The exceptions are stylesheets and JavaScript libraries that are shared by multiple tests, and cases that test the loading of external resources. |