Skip to content

Commit

Permalink
Bug 1842883 [wpt PR 40968] - Revert "[Local Network Access] Rename pr…
Browse files Browse the repository at this point in the history
…ivate to local in request.cc", a=testonly

Automatic update from web-platform-tests
Revert "[Local Network Access] Rename private to local in request.cc"

This reverts commit 3037cbc62a25a6a929e6c8cbc3ea41b23df18960.

Reason for revert: The spec has been renamed back to Private Network Access WICG/private-network-access#106

Original change's description:
> [Local Network Access] Rename private to local in request.cc
>
> In WICG/private-network-access#91, we decided to
> rename (public, private, local) IP address spaces to (public, local,
> loopback). The spec has already been renamed in
> WICG/private-network-access#97.
> New spec:
> https://wicg.github.io/local-network-access/#ip-address-space-heading
>
> This CL renames the string representation in request.cc. It also updates
> a mixed content wpt because it uses targetAddressSpace defined in
> Request.
>
> There are so many places to rename, so during the process, there will
> inevitably be inconsistencies. Hopefully, we shall resolve all of them
> soon.
>
> Bug: 1418287
> Change-Id: Ib01eb5385626c410d2b5f2bba4a67b86a28380d6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4317043
> Reviewed-by: Camille Lamy <clamychromium.org>
> Commit-Queue: Jonathan Hao <phaochromium.org>
> Cr-Commit-Position: refs/heads/main{#1115707}

Bug: 1418287
Change-Id: I7c7f1abb26e31c9b5a9531000aa572d16ef0f3ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4670564
Reviewed-by: Arthur Hemery <ahemerychromium.org>
Commit-Queue: Arthur Hemery <ahemerychromium.org>
Auto-Submit: Jonathan Hao <phaochromium.org>
Quick-Run: Jonathan Hao <phaochromium.org>
Cr-Commit-Position: refs/heads/main{#1168815}

--

wpt-commits: 0b9e87dcaa97a472760b165f20679338ddcbf30b
wpt-pr: 40968

UltraBlame original commit: 3363e3ba006e3d6813284cdf2adfcade6c21df88
  • Loading branch information
marco-c committed Jul 21, 2023
1 parent 0061eb7 commit 8b488ac
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ github
.
io
/
local
private
-
network
-
Expand All @@ -64,7 +64,7 @@ subresources
/
from
more
local
private
address
spaces
avoiding
Expand Down Expand Up @@ -151,7 +151,7 @@ addressSpace
{
case
"
loopback
local
"
:
return
Expand All @@ -160,7 +160,7 @@ return
unknown
"
"
local
private
"
"
public
Expand All @@ -169,7 +169,7 @@ public
;
case
"
local
private
"
:
return
Expand All @@ -178,7 +178,7 @@ return
unknown
"
"
loopback
local
"
"
public
Expand All @@ -196,10 +196,10 @@ return
unknown
"
"
loopback
local
"
"
local
private
"
]
;
Expand Down Expand Up @@ -955,7 +955,7 @@ prefix
'
not
a
local
private
network
request
.
Expand All @@ -967,7 +967,7 @@ request
/
Source
:
loopback
local
secure
context
.
Expand All @@ -978,9 +978,9 @@ context
Fetches
to
the
loopback
and
local
and
private
address
spaces
cannot
Expand All @@ -1001,7 +1001,7 @@ otherwise
/
blocked
by
Local
Private
Network
Access
.
Expand All @@ -1011,12 +1011,12 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
"
loopback
local
"
}
)
Expand All @@ -1027,12 +1027,12 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
"
local
private
"
}
)
Expand All @@ -1043,7 +1043,7 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
Expand All @@ -1057,7 +1057,7 @@ public
/
Source
:
local
private
secure
context
.
Expand All @@ -1068,7 +1068,7 @@ context
Fetches
to
the
loopback
local
address
space
requires
Expand Down Expand Up @@ -1101,7 +1101,7 @@ header
Fetches
to
the
local
private
address
space
cannot
Expand All @@ -1120,7 +1120,7 @@ not
otherwise
blocked
by
Local
Private
Network
/
/
Expand All @@ -1132,12 +1132,12 @@ makeTests
source
:
"
local
private
"
target
:
"
loopback
local
"
}
)
Expand All @@ -1148,12 +1148,12 @@ makeNoBypassTests
source
:
"
local
private
"
target
:
"
local
private
"
}
)
Expand All @@ -1164,7 +1164,7 @@ makeNoBypassTests
source
:
"
local
private
"
target
:
Expand All @@ -1189,9 +1189,9 @@ context
Fetches
to
the
loopback
and
local
and
private
address
spaces
require
Expand Down Expand Up @@ -1228,7 +1228,7 @@ public
target
:
"
loopback
local
"
}
)
Expand All @@ -1244,7 +1244,7 @@ public
target
:
"
local
private
"
}
)
Expand Down Expand Up @@ -1275,12 +1275,12 @@ documents
fetched
from
the
loopback
local
address
space
yet
/
/
yet
carrying
the
treat
Expand All @@ -1296,9 +1296,9 @@ are
treated
as
if
they
/
/
they
had
been
fetched
Expand Down Expand Up @@ -1364,9 +1364,9 @@ fetchOptions
{
targetAddressSpace
:
'
local
'
"
private
"
}
expected
:
Expand All @@ -1386,12 +1386,12 @@ public
to
http
-
loopback
local
:
wrong
targetAddressSpace
"
local
private
"
.
'
Expand Down Expand Up @@ -1454,7 +1454,7 @@ fetchOptions
targetAddressSpace
:
"
loopback
local
"
}
expected
Expand All @@ -1475,7 +1475,7 @@ public
to
http
-
loopback
local
:
success
.
Expand Down Expand Up @@ -1539,7 +1539,7 @@ fetchOptions
targetAddressSpace
:
"
loopback
local
"
}
expected
Expand All @@ -1560,12 +1560,12 @@ public
to
http
-
local
private
:
wrong
targetAddressSpace
"
loopback
local
"
.
'
Expand Down Expand Up @@ -1628,7 +1628,7 @@ fetchOptions
targetAddressSpace
:
"
local
private
"
}
expected
Expand All @@ -1649,7 +1649,7 @@ public
to
http
-
local
private
:
success
.
Expand Down
Loading

0 comments on commit 8b488ac

Please sign in to comment.