Re: [url-tests] Add blob URLs into urltestdata.json (#4941)

I think what we're seeing here is confusion from implementers as to what the origin of completely-synthetic blob URLs should be. I.e., if I do `new URL("blob:https://example.com:443/")`, or set `a.href = "blob:https://example.com:443/"`, what should the `.origin` property return? Similarly for if I do `blob:d3958f5c-0777-0845-9dcf-2cb28783acaf` (where that is just created out of thin air, not via URL.createObjectURL) or `blob:asdf`.

I'm not sure what the desired answer to that is according to https://github.com/whatwg/url/issues/127. I guess that is what the comments from https://github.com/whatwg/url/issues/127#issuecomment-228970175 onward say. If we really don't know the answer, I think a better approach here would be to remove the `origin` field from this PR and put a big red warning in the URL spec while we figure this out.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4941#issuecomment-281447379

Received on Tuesday, 21 February 2017 19:12:17 UTC