Skip to content

Remove origin tests for file: URLs. - #2584

Merged
zcorpan merged 1 commit into
masterfrom
file-origin
Feb 17, 2016
Merged

zcorpan merged 1 commit into
masterfrom
file-origin

Conversation

@SimonSapin

Copy link
Copy Markdown
Contributor

The spec leaves it undefined:

https://url.spec.whatwg.org/#origin

"file"
Unfortunate as it is, this is left as an exercise to the reader. When in doubt, return a new globally unique identifier.

Alternatively, the tests could check for null.

Edit: "null", the serialization of a globally unique identifier origin.

@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/6190

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@wpt-pr-bot

Copy link
Copy Markdown
Collaborator

Reviewers for this pull request are: @frewsxcv, @mikewest, @rubys, @sideshowbarker, @smola, @tomalec, @xiaojunwu, and @zcorpan.

SimonSapin added a commit to servo/rust-url that referenced this pull request Feb 16, 2016
@zcorpan

zcorpan commented Feb 17, 2016

Copy link
Copy Markdown
Member

@annevk @domenic

@annevk

annevk commented Feb 17, 2016

Copy link
Copy Markdown
Member

"file://" is not an origin to begin with, so this seems okay to me.

The spec leaves it undefined:

https://url.spec.whatwg.org/#origin
> "file"
> Unfortunate as it is, this is left as an exercise to the reader.
> When in doubt, return a new globally unique identifier.
@zcorpan
zcorpan merged commit 0d9deb2 into master Feb 17, 2016
@zcorpan
zcorpan deleted the file-origin branch February 17, 2016 10:44
SimonSapin added a commit to servo/rust-url that referenced this pull request Feb 26, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Mar 2, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Mar 3, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Apr 3, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Apr 12, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Apr 13, 2016
SimonSapin added a commit to servo/rust-url that referenced this pull request Apr 17, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 22, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 22, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 22, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 23, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 23, 2016
SimonSapin added a commit to servo/servo that referenced this pull request Apr 23, 2016
Ms2ger pushed a commit that referenced this pull request Apr 26, 2016
ivanzr pushed a commit to ivanzr/web-platform-tests that referenced this pull request Jun 29, 2016
aphrody-dev pushed a commit to aphrody-labs/browser that referenced this pull request Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants