Changes between Version 12 and Version 13 of Writing Layout Tests for DumpRenderTree


Ignore:
Timestamp:
Dec 2, 2009 1:59:01 AM (10 years ago)
Author:
skylined@chromium.org
Comment:

Document setCanOpenWindows (based on an example I found, not actual knowledge)

Legend:

Unmodified
Added
Removed
Modified
  • Writing Layout Tests for DumpRenderTree

    v12 v13  
    4141
    4242By 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=== `setCanOpenWindows()` ===
     45
     46If your layout test needs to open pop-up windows, call this method before it does.
    4347
    4448== `window.eventSender` ==