- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Wed, 20 Jun 2012 09:37:14 +0200
- To: Kyle Huey <me@kylehuey.com>
- Cc: Web Applications Working Group WG <public-webapps@w3.org>
On Wed, Jun 20, 2012 at 6:06 AM, Kyle Huey <me@kylehuey.com> wrote: > By my reading, the spec does not clearly specify what the 'origin' should > be. IDBFactory.open/deleteDatabase say "Let origin be the origin of the > IDBEnvironment used to access this IDBFactory." The IDL states "Window > implements IDBEnvironment;" The HTML5 spec, as far as I can tell, does not > define the concept of an origin for a window, but only for a document. Window/Document do effectively have a 1-1 relationship (unless you navigate) but making it more explicit would not hurt probably. > There is another related question here: how should IndexedDB behave in the > presence of modifications to document.domain? Since it is talking about the origin and not the effective script origin (and it shouldn't, as Adam indicates) it has no effect. -- Anne — Opera Software http://annevankesteren.nl/ http://www.opera.com/
Received on Wednesday, 20 June 2012 07:37:47 UTC