Re: Origin computation

Thomas Broyer wrote:
> On Thu, Dec 11, 2008 at 2:50 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>> Looking at <http://dev.w3.org/html5/spec/Overview.html#origin>:
>>
>> "3. If url does not use a server-based naming authority, or if parsing url
>> failed, or if url is not an absolute URL, then return a new globally unique
>> identifier."
>>
>> I'm always becoming nervous when a spec requires a globally unique
>> identifier, but doesn't state the syntax. How are different implementations
>> supposed to mint globally unique identifiers if the syntax is totally
>> unrestricted?
> 
> My understanding is that those are "opaque identifiers" and only an
> implementation detail. The identifier needs only be unique in the
> scope where it can be compared to another origin.
> There doesn't seem to be any needed interoperability.
> ...

I see. In that case it probably shouldn't require global uniqueness, then.

BR, Julian

Received on Thursday, 11 December 2008 14:41:53 UTC