<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17645</bug_id>
          
          <creation_ts>2012-06-29 01:57:11 +0000</creation_ts>
          <short_desc>Define more precisely what the &quot;origin&quot; of the IDBEnvironment is</short_desc>
          <delta_ts>2013-02-01 23:14:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonas Sicking (Not reading bugmail)">jonas</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>annevk</cc>
    
    <cc>eliotgra</cc>
    
    <cc>israelh</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69524</commentid>
    <comment_count>0</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-06-29 01:57:11 +0000</bug_when>
    <thetext>Specifically, we should make it clear that document.domain doesn&apos;t affect indexedDB at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71333</commentid>
    <comment_count>1</comment_count>
    <who name="Israel Hilerio [MSFT]">israelh</who>
    <bug_when>2012-07-23 21:55:52 +0000</bug_when>
    <thetext>In IE we use the FQDN, protocol, and a GUID to define the db origin.  This doesn&apos;t include the port number. That means that for http://www.microsoft.com, we’ll use the complete string to define our origin and add a special GUID to it.  From that perspective, modifying the values for document.origin will have no impact on our operations.  However, I can see how other implementers could&apos;ve done this differently without affecting the end result.

Are you looking for a note like:

&quot;The origin of the IDBEnvironment is calculated in part by using the Fully Qualified Domain Name.  However, changes to the document.domain attribute won&apos;t have any impact this computation.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82409</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2013-01-31 17:38:07 +0000</bug_when>
    <thetext>Commit #375

Section 3.1.1 now contains:

A database&apos;s origin is the same as the origin of the document or worker. Each origin has an associated set of databases. 

and the following note:

Note   The database origin is not affected by changes to document.domain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82427</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-01-31 19:54:44 +0000</bug_when>
    <thetext>Note that origin does include the port, so IE&apos;s implementation has a bug if comment 1 is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82489</commentid>
    <comment_count>4</comment_count>
    <who name="Israel Hilerio [MSFT]">israelh</who>
    <bug_when>2013-02-01 23:14:42 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Note that origin does include the port, so IE&apos;s implementation has a bug if
&gt; comment 1 is correct.

That is correct.  I didn&apos;t mean to imply it didn&apos;t on my response.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>