Bug 154633 - WKWebView: Don't expose openDatabase if WebSQL is disabled at runtime
Summary: WKWebView: Don't expose openDatabase if WebSQL is disabled at runtime
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.2
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 137760
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-23 21:13 PST by zac spitzer
Modified: 2016-02-23 22:21 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zac spitzer 2016-02-23 21:13:46 PST
WkWebView doesn't support WebSQL but it exposes window.openDatabase which breaks feature detection

Remove window.openDatabase so that feature detection is once again reliable

https://bugs.webkit.org/show_bug.cgi?id=137760
Comment 1 Brady Eidson 2016-02-23 22:20:35 PST
Retitling:
WKWebView: don't expose openDatabase if WebSQL is disabled at runtime
Comment 2 Brady Eidson 2016-02-23 22:21:35 PST
This is related to https://bugs.webkit.org/show_bug.cgi?id=137760, but does not *depend* on it.

This bug could be resolved today with any resolution of 137760.

So I'm removing the dependency.