- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 31 Jan 2017 00:27:44 -0800
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/FileAPI/pull/61/review/19261524@github.com>
annevk commented on this pull request. > -3. Let |O| be the Blob URL's [=url/origin=]. - If the <a>Unicode Serialization of an Origin algorithm</a> on |O| returns null, - user agents may substitute an implementation defined value for the return value of the <a>Unicode Serialization of an Origin algorithm</a>. - Append the result of the <a>Unicode Serialization of an Origin algorithm</a> for |O| [[!RFC6454]] to |result|. -4. Append the "/" character (U+0024 SOLIDUS) to |result|. -5. Generate a UUID [[RFC4122]] as a Unicode string and append it to |result|. -6. Return |result|. +1. Append the ":" (U+003A COLON) character to |result|. +1. Let |settings| be the [=incumbent settings object=] +1. Let |origin| be |settings|'s [=environment settings object/origin=]. +1. Let |serialized| be the <a lt="ASCII serialization of an origin">ASCII serialization</a> of |origin|. +1. If |serialized| is "null", set it to an implementation-defined value. +1. Append |serialized| to |result|. +1. Append the "/" character (U+0024 SOLIDUS) to |result|. +1. Generate a UUID [[RFC4122]] as a Unicode string and append it to |result|. +1. Return |result|. Do you have tests for this algorithm somewhere? I'm curious what implementations actually do. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/pull/61#pullrequestreview-19261524
Received on Tuesday, 31 January 2017 08:28:19 UTC