<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS 10 breaks Construct 2-made UIWebView Cordova apps"
   href="https://bugs.webkit.org/show_bug.cgi?id=162385#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iOS 10 breaks Construct 2-made UIWebView Cordova apps"
   href="https://bugs.webkit.org/show_bug.cgi?id=162385">bug 162385</a>
              from <span class="vcard"><a class="email" href="mailto:beidson&#64;apple.com" title="Brady Eidson &lt;beidson&#64;apple.com&gt;"> <span class="fn">Brady Eidson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=162385#c0">comment #0</a>)
<span class="quote">&gt; iOS 10's UIWebView adds the global &quot;indexedDB&quot; property. In iOS 9, the
&gt; presence of this was the de-facto way to detect WKWebView since it was
&gt; missing in UIWebView </span >

It's unfortunate that using web feature detection was ever used to determine anything about the native environment.

This was never an appropriate strategy.

<span class="quote">&gt; - remove indexedDB from UIWebView so the de-facto detection that has been
&gt; used for iOS 9 continues to work (should fix existing apps without any
&gt; republishing)</span >

Adding UIWebView support for IndexedDB in iOS10 was a feature-level effort that was requested by *many* parties, and there's been much rejoicing that we've added it.

I don't think removing it is in the cards.</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>