[Webkit-unassigned] [Bug 49332] Do not allow access to existing HTML5 databases in private browsing mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 11:18:33 PST 2010


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


Anton D'Auria <adauria at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #73560|0                           |1
        is obsolete|                            |
  Attachment #75831|                            |review?, commit-queue?
               Flag|                            |




--- Comment #5 from Anton D'Auria <adauria at apple.com>  2010-12-07 11:18:32 PST ---
Created an attachment (id=75831)
 --> (https://bugs.webkit.org/attachment.cgi?id=75831&action=review)
[PATCH] separate read-only transaction state from private browsing no read-write state

Previously, read-only transactions and private browsing mode were represented by the same SQLStatement and DatabaseAuthorizer states. This patch removes the m_readOnly member variable from SQLStatement and DatabaseAuthorizer, and replaces it with m_permissions whose bit fields are initialized by a DatabaseAuthorizer enum Permissions (ReadWrite, ReadOnly, NoAccess). A read-only transaction sets permissions to ReadOnly, and if !m_database->scriptExecutionContext()->allowDatabaseAccess(), then permissions also set to NoAccess.

-- 
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