Consider using NPAPI plugins to implement eventSender, layoutTestController, etc. Tony and I were discussing this at lunch. This would actually provide a bunch of benefits: 1. Using layout tests from within Safari/Chrome/iPhone (a full running browser). 2. Runing many layout tests in non-WebKit browsers. 3. Porting to a new platform no longer requires porting DRT, just adding plugin support to WebCore. 4. Testing plugin load performance & less teardown/state reset logic needed in DRT. 5. V8 and JSC do not need separate DRT implementations.
This would be awesome..
This is a great idea! How would you support dumping the render tree? By the way, the chromium implementation of layoutTestController is built on top of NPRuntime, so it might be a useful starting point.
the NPAPI plugins would only be for exposing these controllers. dumping the render tree is already a public WebKit method anyway. :) It's support which is baked into the WebKit API (well at least the private API/SPI).
This is unlikely to happen, closing.