<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add coordinate space to event streams and streamline tests"
   href="https://bugs.webkit.org/show_bug.cgi?id=165119#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add coordinate space to event streams and streamline tests"
   href="https://bugs.webkit.org/show_bug.cgi?id=165119">bug 165119</a>
              from <span class="vcard"><a class="email" href="mailto:thorton&#64;apple.com" title="Tim Horton &lt;thorton&#64;apple.com&gt;"> <span class="fn">Tim Horton</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=295543&amp;action=diff" name="attach_295543" title="Patch">attachment 295543</a> <a href="attachment.cgi?id=295543&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">&gt; Tools/ChangeLog:9
&gt; +        Update example script to more accurately show all the avaialble options.</span >

s/avaialble/available/

<span class="quote">&gt; Tools/WebKitTestRunner/ios/HIDEventGenerator.h:54
&gt; +// Values for</span >

?

<span class="quote">&gt; Tools/WebKitTestRunner/ios/HIDEventGenerator.mm:63
&gt; +NSString* const HIDEventCoordinateSpaceTypeContent = &#64;&quot;content&quot;;</span >

technically there are a LOT of stars on the wrong side. but let's not fix in this patch.

<span class="quote">&gt; Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:211
&gt; +            auto location = globalToContentCoordinates(TestController::singleton().mainWebView()-&gt;platformView(), (long)[touch[HIDEventXKey] doubleValue], (long)[touch[HIDEventYKey] doubleValue]);</span >

Dot notation if you can.

<span class="quote">&gt; Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:212
&gt; +            touch[HIDEventXKey] = [NSNumber numberWithFloat:location.x];</span >

= &#64;(location.x) maybe?

<span class="quote">&gt; Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:226
&gt; +        if ([event[HIDEventCoordinateSpaceKey] isEqualToString:HIDEventCoordinateSpaceTypeContent]) {</span >

early continue instead of a big indented block?</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>