[html5] r1541 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue May 6 19:57:39 PDT 2008


Author: ianh
Date: 2008-05-06 19:57:39 -0700 (Tue, 06 May 2008)
New Revision: 1541

Modified:
   index
   source
Log:
[] (0) Allow UAs to raise a security exception for openDatabase() if the domain isn't allowed to have a database.

Modified: index
===================================================================
--- index	2008-05-07 02:25:23 UTC (rev 1540)
+++ index	2008-05-07 02:57:39 UTC (rev 1541)
@@ -33269,6 +33269,10 @@
    database already exists but has a different version, then the method must
    raise an <code>INVALID_STATE_ERR</code> exception.
 
+  <p>The user agent may also raise a <a href="#security10">security
+   exception</a> in case the request violates a policy decision (e.g. if the
+   user agent is configured to not allow the page to open databases).
+
   <p>Otherwise, if the database provided is the empty string, or if the
    database doesn't yet exist, or if the database exists and the version
    provided to the <code title=dom-opendatabase><a

Modified: source
===================================================================
--- source	2008-05-07 02:25:23 UTC (rev 1540)
+++ source	2008-05-07 02:57:39 UTC (rev 1541)
@@ -31091,6 +31091,10 @@
   database already exists but has a different version, then the method
   must raise an <code>INVALID_STATE_ERR</code> exception.</p>
 
+  <p>The user agent may also raise a <span>security exception</span>
+  in case the request violates a policy decision (e.g. if the user
+  agent is configured to not allow the page to open databases).</p>
+
   <p>Otherwise, if the database provided is the empty string, or if
   the database doesn't yet exist, or if the database exists and the
   version provided to the <code




More information about the Commit-Watchers mailing list