<?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>26152</bug_id>
          
          <creation_ts>2014-06-20 10:40:01 +0000</creation_ts>
          <short_desc>Would it not be better to define origin as identifier, tuple, or, alias? That alias is actually a link to another origin is not super clear this way.</short_desc>
          <delta_ts>2014-09-18 20:39:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#origin-0</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>26221</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>w3c</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108107</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-06-20 10:40:01 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html
Multipage: http://www.whatwg.org/C#origin-0
Complete: http://www.whatwg.org/c#origin-0
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Would it not be better to define origin as identifier, tuple, or, alias? That
alias is actually a link to another origin is not super clear this way.

Posted from: 77.57.114.66 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108108</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-20 10:42:47 +0000</bug_when>
    <thetext>Also what do you think about putting the main origin definition in Fetch, as well as serializing it, and how to obtain it for URLs (including blob URLs)? I already obsolete parts of the original RFC as the Origin header needed new ABNF, might as well complete it and make HTML a little leaner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108140</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-06-20 21:15:14 +0000</bug_when>
    <thetext>&quot;Origin&quot; should be defined wherever document.domain is defined, IMHO, because so much of the complexity around origins comes from that. document.domain should be defined wherever we define the Window/Location cross-origin stuff. That should be defined wherever we define browsing contexts; those should probably be defined where we define the navigate algorithm; that should probably be in the same spec as &quot;The End&quot; of parsing, and _that_ should be in the same spec as the HTML parser.

How do you feel about owning the HTML parser? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108213</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-23 11:10:30 +0000</bug_when>
    <thetext>That seems clear. Any reason we need the &quot;Web Origin Concept&quot; specification then? Is that mostly to get an origin out of a URL? It seems the URL Standard ought to cover that.

Could you fix comment 0 then? Defining &quot;alias&quot; as a possible value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108245</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-06-23 20:36:31 +0000</bug_when>
    <thetext>Yeah, that&apos;s not a bad idea. I&apos;ll look into it.

I&apos;m not sure about the Web Origin Concept spec. I seem to recall we had a good reason to do it at the time, but it seems to have somewhat become moot. cc abarth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108423</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-27 13:18:28 +0000</bug_when>
    <thetext>URL now defines origin for URLs: http://url.spec.whatwg.org/#origin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111765</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-18 20:37:54 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8787.
Check-in comment: Move the reference for URL origin from Web Origin to URL.
https://html5.org/tools/web-apps-tracker?from=8786&amp;to=8787</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111766</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-18 20:39:22 +0000</bug_when>
    <thetext>Comment 5 confused me. It was probably meant for bug 26221. I&apos;ll mark that as a dupe of this bug. The patch above also fixes the alias thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111768</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-18 20:39:24 +0000</bug_when>
    <thetext>*** Bug 26221 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>