Skip to content

Commit 8c4a82a

Browse files
committed
Bug 1457139 [wpt PR 10657] - Align Request.destination to spec, a=testonly
Automatic update from web-platform-testsAlign Request.destination to spec Currently `Request.destination` is set to "unknown" prefetch, but that was recently changed: Issue: whatwg/fetch#658 PR: whatwg/fetch#659 This CL aligns the destination values to the spec change. Bug: 832105 Change-Id: Ib9f21dcc6cf0ace27b7a810d3670cddc45b3b74f Reviewed-on: https://chromium-review.googlesource.com/1029858 Commit-Queue: Yoav Weiss <yoavyoav.ws> Reviewed-by: Charlie Harrison <csharrisonchromium.org> Reviewed-by: Yutaka Hirano <yhiranochromium.org> Cr-Commit-Position: refs/heads/master{#554341} -- wpt-commits: 3c940291e9e8c30e8c7c401426160e3531639403 wpt-pr: 10657 UltraBlame original commit: b60142c1cc9a01efbb27b591c1828015ffa0a6cb
1 parent 15c8a6a commit 8c4a82a

File tree

2 files changed

+130
-1
lines changed

2 files changed

+130
-1
lines changed

testing/web-platform/meta/MANIFEST.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3713759,7 +3713759,7 @@ html
37137593713759
:
37137603713760
[
37137613713761
"
3713762-
5b7276e8a10bf91ee7d2a92917176b8e62c3255d
3713762+
29e22bbe11b501fa354e90dde671f5f500fcaab3
37137633713763
"
37137643713764
"
37137653713765
testharness

testing/web-platform/tests/fetch/api/request/destination/fetch-destination.https.html

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3991,6 +3991,135 @@
39913991
'
39923992
)
39933993
;
3994+
/
3995+
/
3996+
HTMLLinkElement
3997+
with
3998+
rel
3999+
=
4000+
prefetch
4001+
-
4002+
empty
4003+
string
4004+
destination
4005+
promise_test
4006+
(
4007+
async
4008+
t
4009+
=
4010+
>
4011+
{
4012+
await
4013+
new
4014+
Promise
4015+
(
4016+
(
4017+
resolve
4018+
reject
4019+
)
4020+
=
4021+
>
4022+
{
4023+
let
4024+
node
4025+
=
4026+
frame
4027+
.
4028+
contentWindow
4029+
.
4030+
document
4031+
.
4032+
createElement
4033+
(
4034+
"
4035+
link
4036+
"
4037+
)
4038+
;
4039+
node
4040+
.
4041+
rel
4042+
=
4043+
"
4044+
prefetch
4045+
"
4046+
;
4047+
node
4048+
.
4049+
onload
4050+
=
4051+
resolve
4052+
;
4053+
node
4054+
.
4055+
onerror
4056+
=
4057+
reject
4058+
;
4059+
node
4060+
.
4061+
href
4062+
=
4063+
"
4064+
dummy
4065+
?
4066+
dest
4067+
=
4068+
"
4069+
;
4070+
frame
4071+
.
4072+
contentWindow
4073+
.
4074+
document
4075+
.
4076+
body
4077+
.
4078+
appendChild
4079+
(
4080+
node
4081+
)
4082+
;
4083+
}
4084+
)
4085+
.
4086+
catch
4087+
(
4088+
(
4089+
)
4090+
=
4091+
>
4092+
{
4093+
assert_unreached
4094+
(
4095+
"
4096+
Fetch
4097+
errored
4098+
.
4099+
"
4100+
)
4101+
;
4102+
}
4103+
)
4104+
;
4105+
}
4106+
'
4107+
HTMLLinkElement
4108+
with
4109+
rel
4110+
=
4111+
prefetch
4112+
fetches
4113+
with
4114+
an
4115+
empty
4116+
string
4117+
Request
4118+
.
4119+
destination
4120+
'
4121+
)
4122+
;
39944123
<
39954124
/
39964125
script

0 commit comments

Comments
 (0)