[Webkit-unassigned] [Bug 140443] New: openDatabase intermittently triggers SecurityError: DOM Exception 18 in Chrome on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 14 08:54:29 PST 2015


            Bug ID: 140443
           Summary: openDatabase intermittently triggers SecurityError:
                    DOM Exception 18 in Chrome on iOS
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: iOS 8.1
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jkndrkn at gmail.com

Greetings, I have an application that depends on WebSQL on Chrome iOS.

The openDatabase method intermittently throws SecurityError: DOM Exception 18.

I am using Chrome version 39.0.2171.50 and iOS 8.1 running on an iPhone 5s. My team has also seen this error appear on iPhone 5 and the PouchDB team has seen it appear in their automated tests for iPhone [1].

Here is a test case that exposes the bug:


Here is the specific code segments from the above test case that trigger the bug:

   var db = openDatabase('mydatabase', 1, 'mydatabase', 50000000);
   var db = openDatabase('mydatabase', '1', 'mydatabase', 50000000);

The bug is _intermittent_, so it doesn't always appear. Sometimes it appears right away, sometimes it takes refreshing the page, clearing all browser data, and force-quitting and restarting the browser in some combination. I am not sure what specific situations result in triggering this bug. I do know that refreshing the page does not make the exception go away once it has been expressed. However, force-quitting the browser *does* make the exception go away.

[1]: https://travis-ci.org/pouchdb/pouchdb/jobs/46726739#L1173

Thank you for your help with this issue.

John David

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150114/c3747350/attachment-0002.html>

More information about the webkit-unassigned mailing list