<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add WebAutomationSessionProxy for WebProcess side automation tasks"
   href="https://bugs.webkit.org/show_bug.cgi?id=155221#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add WebAutomationSessionProxy for WebProcess side automation tasks"
   href="https://bugs.webkit.org/show_bug.cgi?id=155221">bug 155221</a>
              from <span class="vcard"><a class="email" href="mailto:timothy&#64;apple.com" title="Timothy Hatcher &lt;timothy&#64;apple.com&gt;"> <span class="fn">Timothy Hatcher</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=273402&amp;action=diff" name="attach_273402" title="WIP Sketch">attachment 273402</a> <a href="attachment.cgi?id=273402&amp;action=edit" title="WIP Sketch">[details]</a></span>
WIP Sketch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=273402&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=273402&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/UIProcess/Automation/WebAutomationSession.h:53
&gt; +class WebAutomationSession final : public API::ObjectImpl&lt;API::Object::Type::AutomationSession&gt;, public IPC::MessageReceiver</span >

This needs to register as a message receiver with the process pool when WebAutomationSession::setProcessPool is called.

processPool-&gt;addMessageReceiver(Messages::WebAutomationSession::messageReceiverName(), *this);

And unregister is the destructor.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>