diff --git a/index.src.html b/index.src.html index a2721dc..158ed99 100644 --- a/index.src.html +++ b/index.src.html @@ -339,6 +339,11 @@
+ enum IPAddressSpace { "public","private", "local" }; ++ Every IP address belongs to an IP address space, which can be one of three different values: @@ -963,10 +968,6 @@
- enum IPAddressSpace { "public","private", "local" }; -- Append an optional [=map/entry=] to {{RequestInfo}}, whose [=map/key=] is targetAddressSpace, and [=map/value=] is a {{IPAddressSpace}}. @@ -975,17 +976,25 @@
+ partial interface Request { + readonly attribute IPAddressSpace targetAddressSpace; + }; ++ - The
new
Request(input, |init|)
is
appended with the following step right before setting [=this=]'s [=request=]
to |request|:
- 1. If |init|["{{RequestInit/targetAddressSpace}}"] [=map/exists=], and
- |request|'s [=request/client=] is a [=secure context=], then switch on
- |init|["{{RequestInit/targetAddressSpace}}"]:
+ 1. If |init|["{{RequestInit/targetAddressSpace}}"] [=map/exists=], then
+ switch on |init|["{{RequestInit/targetAddressSpace}}"]: