<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Image paste is not working"
   href="https://bugs.webkit.org/show_bug.cgi?id=170449#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Image paste is not working"
   href="https://bugs.webkit.org/show_bug.cgi?id=170449">bug 170449</a>
              from <span class="vcard"><a class="email" href="mailto:cdumez&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <span class="fn">Chris Dumez</span></a>
</span></b>
        <pre>Actually, tineye.com does not work in WebKit, even if I switch to using Data URLs. The reason is that the page's JavaScript relies on DataTransfer.items being implemented and it is not in WebKit.

JS:
_onPaste: function(b) {
            var c = b.originalEvent &amp;&amp; b.originalEvent.clipboardData &amp;&amp; b.originalEvent.clipboardData.items,
                d = {
                    files: []
                };
            c &amp;&amp; c.length &amp;&amp; (a.each(c, function(a, b) {
                var c = b.getAsFile &amp;&amp; b.getAsFile();
                c &amp;&amp; d.files.push(c)
            }), this._trigger(&quot;paste&quot;, a.Event(&quot;paste&quot;, {
                delegatedEvent: b
            }), d) !== !1 &amp;&amp; this._onAdd(b, d))
        },


b.originalEvent.clipboardData.items is undefined in WebKit. So the tineye.com issue has nothing to do with the approach we chose in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Use Blob URL instead of webkit-fake-url when pasting an image"
   href="show_bug.cgi?id=49141">Bug 49141</a>.</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>