[Webkit-unassigned] [Bug 33916] New: openDatabase should throw exception if database access is disallowed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 20 12:33:01 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33916

           Summary: openDatabase should throw exception if database access
                    is disallowed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P4
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ericu at chromium.org
                CC: dimich at chromium.org, dumi at chromium.org


>From the spec [http://dev.w3.org/html5/webdatabase/ section 4.1.1]: "The user
agent may raise a SECURITY_ERR exception instead of returning a Database object
if the request violates a policy decision (e.g. if the user agent is configured
to not allow the page to open databases)."  We're just returning null, which
isn't an option offered by the specification.

The current behavior is enforced by
LayoutTests/fast/frames/sandboxed-iframe-storage.html.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list