Skip to content

Commit

Permalink
Bug 1503216 [wpt PR 13779] - XMLHttpRequest: manipulate Content-Type …
Browse files Browse the repository at this point in the history
…less, a=testonly

Automatic update from web-platform-testsXMLHttpRequest: manipulate Content-Type less

For whatwg/xhr#224 and in particular whatwg/mimesniff#84.

This supersedes and closes #13544.

--

wpt-commits: 99f4fdcd906411c036e96c055e28b3e6ca84a1cc
wpt-pr: 13779

UltraBlame original commit: f5b3c921363e751e6ad363970bd7727701d59525
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent 80ec5a1 commit f38d783
Showing 1 changed file with 85 additions and 179 deletions.
264 changes: 85 additions & 179 deletions testing/web-platform/tests/xhr/send-content-type-charset.htm
Original file line number Diff line number Diff line change
Expand Up @@ -63,168 +63,6 @@
script
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
xhr
.
spec
.
whatwg
.
org
/
#
the
-
send
(
)
-
method
"
data
-
tested
-
assertations
=
"
following
:
:
ol
[
1
]
/
li
[
4
]
/
p
/
code
[
contains
(
text
(
)
'
Content
-
Type
'
)
]
/
.
.
following
:
:
ol
[
1
]
/
li
[
4
]
/
p
/
code
[
contains
(
text
(
)
'
Content
-
Type
'
)
]
/
.
.
/
following
-
sibling
:
:
p
"
/
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
xhr
.
spec
.
whatwg
.
org
/
#
dom
-
XMLHttpRequest
-
send
-
a
-
string
"
data
-
tested
-
assertations
=
"
following
:
:
p
[
2
]
"
/
>
<
/
head
>
Expand Down Expand Up @@ -472,18 +310,29 @@
;
charset
=
UTF
utf
-
8
"
"
Correct
text
/
plain
MIME
with
If
charset
=
param
is
UTF
-
8
(
case
-
insensitive
)
it
should
not
be
changed
"
)
request
Expand Down Expand Up @@ -661,20 +510,34 @@
;
charset
=
UTF
utf
-
8
;
charset
=
waddup
"
"
If
charset
given
but
wrong
fix
=
param
is
UTF
-
8
(
case
-
insensitive
)
it
should
not
be
changed
(
known
MIME
bogus
charset
)
Expand Down Expand Up @@ -763,6 +626,11 @@
"
"
Multiple
non
-
UTF
-
8
charset
parameters
deduplicate
Expand Down Expand Up @@ -816,14 +684,22 @@
;
charset
=
UTF
utf
-
8
"
"
charset
with
space
that
is
UTF
-
8
does
not
change
"
)
request
Expand All @@ -850,15 +726,27 @@
;
charset
=
UTF
\
"
utf
-
8
\
"
"
"
charset
in
double
quotes
that
is
UTF
-
8
does
not
change
"
)
request
Expand Down Expand Up @@ -928,9 +816,19 @@
;
charset
=
UTF
\
"
u
\
\
t
\
\
f
-
8
\
"
"
"
charset
Expand All @@ -939,6 +837,14 @@
quotes
with
backslashes
that
is
UTF
-
8
does
not
change
"
)
request
Expand Down

0 comments on commit f38d783

Please sign in to comment.