<?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>28675</bug_id>
          
          <creation_ts>2015-05-22 12:37:47 +0000</creation_ts>
          <short_desc>What is a globally unique identifier?</short_desc>
          <delta_ts>2016-03-24 10:14:06 +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>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Sapin">simon.sapin</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>crimsteam</cc>
    
    <cc>mike</cc>
    
    <cc>simon.sapin</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120415</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Sapin">simon.sapin</who>
    <bug_when>2015-05-22 12:37:47 +0000</bug_when>
    <thetext>The term &quot;globally unique identifier&quot; is used in HTML and URL:

https://html.spec.whatwg.org/multipage/browsers.html#origin
https://url.spec.whatwg.org/#origin

but is not defined. The submitted of a patch implementing this in Servo assumed it is a UUID, a randomly-generated string like &quot;de305d54-75b4-431b-adb2-eb6b9e546014&quot;, but that seems wrong to me.

HTML also defines:

&gt; Opaque identifiers
&gt; Internal values, with no serialisation, for which the only meaningful operation is testing for equality.

Are globally unique identifiers the same as opaque identifiers? Either way, I’d like the spec to clarify this.

Bug 26722 seems relevant, but I don’t understand its resolution.

See also:
https://github.com/whatwg/url/issues/21
https://github.com/servo/rust-url/pull/111</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125535</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-16 14:43:50 +0000</bug_when>
    <thetext>An opaque identifier is just some kind of identifier. It&apos;s not exposed to JavaScript, so what exactly it is doesn&apos;t really matter.

Same for globally unique identifier. What matters is that it&apos;s an identifier that&apos;s globally unique, but since it&apos;s not exposed its format does not matter. It&apos;s only used for comparison purposes here and there.

I can&apos;t really figure out a way how to explain that succinctly. Ideas?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125611</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-24 10:14:06 +0000</bug_when>
    <thetext>I think the latest wording in https://github.com/whatwg/html/pull/925 makes this sufficiently clear. I&apos;ll update URL once that PR lands.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>