Changes between Version 23 and Version 24 of Writing Layout Tests for DumpRenderTree
- Timestamp:
- Jun 28, 2011, 11:00:55 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Layout Tests for DumpRenderTree
v23 v24 41 41 42 42 By default, DumpRenderTree dumps each test file immediately after the document has loaded and the load event handlers have executed. If your test needs to do further processing after loading -- for example, waiting for a timer to fire -- call `layoutTestController.waitUntilDone()` to tell DumpRenderTree to delay its dump, and then call `notifyDone` when your results are ready. 43 44 === `overridePreference(key, value)` === 45 46 Changes a preference with name ''key'' (for example `"WebKitEnableCaretBrowsing"`) with ''value'' (for example `"1"`) for the duration of the test. The preference is reset when the test ends. 43 47 44 48 === `setCanOpenWindows()` ===