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 8d9a75d commit 984f1b2
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ addressSpace
{
case
"
loopback
local
"
:
return
Expand All @@ -37,7 +37,7 @@ return
unknown
"
"
local
private
"
"
public
Expand All @@ -46,7 +46,7 @@ public
;
case
"
local
private
"
:
return
Expand All @@ -55,7 +55,7 @@ return
unknown
"
"
loopback
local
"
"
public
Expand All @@ -73,10 +73,10 @@ return
unknown
"
"
loopback
local
"
"
local
private
"
]
;
Expand Down Expand Up @@ -676,7 +676,7 @@ prefix
'
not
a
local
private
network
request
.
Expand All @@ -690,12 +690,12 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
"
loopback
local
"
}
)
Expand All @@ -706,12 +706,12 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
"
local
private
"
}
)
Expand All @@ -722,7 +722,7 @@ makeNoBypassTests
source
:
"
loopback
local
"
target
:
Expand All @@ -738,12 +738,12 @@ makeTests
source
:
"
local
private
"
target
:
"
loopback
local
"
}
)
Expand All @@ -754,12 +754,12 @@ makeNoBypassTests
source
:
"
local
private
"
target
:
"
local
private
"
}
)
Expand All @@ -770,7 +770,7 @@ makeNoBypassTests
source
:
"
local
private
"
target
:
Expand All @@ -791,7 +791,7 @@ public
target
:
"
loopback
local
"
}
)
Expand All @@ -807,7 +807,7 @@ public
target
:
"
local
private
"
}
)
Expand Down Expand Up @@ -884,9 +884,9 @@ fetchOptions
{
targetAddressSpace
:
'
local
'
"
private
"
}
expected
:
Expand All @@ -906,12 +906,12 @@ public
to
http
-
loopback
local
:
wrong
targetAddressSpace
"
local
private
"
.
'
Expand Down Expand Up @@ -974,7 +974,7 @@ fetchOptions
targetAddressSpace
:
"
loopback
local
"
}
expected
Expand All @@ -995,7 +995,7 @@ public
to
http
-
loopback
local
:
success
.
Expand Down Expand Up @@ -1059,7 +1059,7 @@ fetchOptions
targetAddressSpace
:
"
loopback
local
"
}
expected
Expand All @@ -1080,12 +1080,12 @@ public
to
http
-
local
private
:
wrong
targetAddressSpace
"
loopback
local
"
.
'
Expand Down Expand Up @@ -1148,7 +1148,7 @@ fetchOptions
targetAddressSpace
:
"
local
private
"
}
expected
Expand All @@ -1169,7 +1169,7 @@ public
to
http
-
local
private
:
success
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ http
:
{
"
loopback
local
"
:
{
Expand All @@ -308,7 +308,7 @@ http
}
}
"
local
private
"
:
{
Expand Down Expand Up @@ -348,7 +348,7 @@ https
:
{
"
loopback
local
"
:
{
Expand All @@ -365,7 +365,7 @@ https
"
other
-
loopback
local
"
:
{
Expand All @@ -380,7 +380,7 @@ https
}
}
"
local
private
"
:
{
Expand Down Expand Up @@ -420,7 +420,7 @@ ws
:
{
"
loopback
local
"
:
{
Expand All @@ -441,7 +441,7 @@ wss
:
{
"
loopback
local
"
:
{
Expand Down Expand Up @@ -544,7 +544,7 @@ get
http
"
"
loopback
local
"
)
;
Expand All @@ -559,7 +559,7 @@ get
http
"
"
local
private
"
)
;
Expand Down Expand Up @@ -589,7 +589,7 @@ get
https
"
"
loopback
local
"
)
;
Expand All @@ -606,7 +606,7 @@ https
"
other
-
loopback
local
"
)
;
Expand All @@ -621,7 +621,7 @@ get
https
"
"
local
private
"
)
;
Expand Down Expand Up @@ -651,7 +651,7 @@ get
ws
"
"
loopback
local
"
)
;
Expand All @@ -666,7 +666,7 @@ get
wss
"
"
loopback
local
"
)
;
Expand Down

0 comments on commit 984f1b2

Please sign in to comment.