Bug 26121 - Consider using NPAPI plugins to implement eventSender, layoutTestController, etc.
Summary: Consider using NPAPI plugins to implement eventSender, layoutTestController, ...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 13:48 PDT by Eric Seidel (no email)
Modified: 2013-09-01 10:39 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2009-06-01 13:48:37 PDT
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.
Comment 1 John Abd-El-Malek 2009-06-10 14:41:25 PDT
This would be awesome..
Comment 2 Darin Fisher (:fishd, Google) 2009-06-16 16:33:54 PDT
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.
Comment 3 Eric Seidel (no email) 2009-06-17 00:15:48 PDT
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).
Comment 4 Anders Carlsson 2013-09-01 10:39:54 PDT
This is unlikely to happen, closing.