[Webkit-unassigned] [Bug 153934] New: Add a WebKit SPI for creating an automation session and advertise the active session via RemoteInspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 5 17:32:20 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153934

            Bug ID: 153934
           Summary: Add a WebKit SPI for creating an automation session
                    and advertise the active session via RemoteInspector
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: andersca at apple.com, joepeck at webkit.org,
                    mitz at webkit.org, thorton at apple.com, timothy at apple.com

An automation session is the main place where WebKit-side support for browser automation should be implemented. A session encapsulates the state (default timeouts, page identifier mappings), objects (active automation WebPages) and logic (how to open a window, run JS, send user input, etc) used to implement automation commands. A process pool can only have one session at a time. The session is created on demand and only if the _WKAutomationDelegate implementation allows it.

I'm currently focusing on *remote* automation, over the RemoteInspector/webinspectord relay system. This is needed in WK2 since its clients cannot directly talk to RemoteInspector in JavaScriptCore.framework.

The session has a delegate so that WK2 clients can perform actions that are outside the scope of WK2, such as creating new tabs, enumerating windows, or sending native user inputs.

Patch forthcoming.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160206/5519c6a5/attachment.html>


More information about the webkit-unassigned mailing list