mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
Update web-platform-tests to revision 4052654d786236b493d2df3cb80b9d3d1d0a8354
This commit is contained in:
parent
eab848df3e
commit
3b6ddd885a
116 changed files with 4255 additions and 821 deletions
12
tests/wpt/web-platform-tests/encoding/sniffing.html
Normal file
12
tests/wpt/web-platform-tests/encoding/sniffing.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<title>No (UTF-8) sniffing allowed</title>
|
||||
<div id=log></div>
|
||||
<div id=content> Hello World! </div>
|
||||
<script>
|
||||
test(() => {
|
||||
assert_equals(document.getElementById("content").textContent, "\u00C2\u20AC\u00C2\u20AC Hello World! \u00C2\u20AC\u00C2\u20AC");
|
||||
assert_equals(document.characterSet, "windows-1252");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue