Permalink
Browse files

Editorial: fix port value in the origin's example

The URLs port in the tuple origin must be null, because port is not
specified in the input:
`blob:https://whatwg.org/d0360e2f-caee-469f-9a2f-87d5b0456f6f`

According to specification, if port is not specified or is default for
scheme, then URLs port is set to null:
https://url.spec.whatwg.org/#concept-url-port
https://url.spec.whatwg.org/#ref-for-default-port%E2%91%A0
  • Loading branch information...
rmisev authored and annevk committed Jan 9, 2018
1 parent 0d15b3f commit 25c44ab255dcb50808cc586f37e4dd6fa9f5bd83
Showing with 1 addition and 1 deletion.
  1. +1 −1 url.bs
View
2 url.bs
@@ -2306,7 +2306,7 @@ background information. [[!HTML]]
<p class="example no-backref" id=example-43b5cea5>The <a for=url>origin</a> of
<code>blob:https://whatwg.org/d0360e2f-caee-469f-9a2f-87d5b0456f6f</code> is the tuple
(<code>https</code>, <code>whatwg.org</code>, <code>443</code>, null).
(<code>https</code>, <code>whatwg.org</code>, null, null).
<dt>"<code>ftp</code>"
<dt>"<code>gopher</code>"

0 comments on commit 25c44ab

Please sign in to comment.