forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For whatwg/html#5359.
- Loading branch information
Andreu Botella
authored
Mar 19, 2020
1 parent
fc79309
commit 7d9b5a5
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- starts with a UTF-8 BOM --> | ||
<!doctype html> | ||
<meta charset="windows-1252"> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<title>BOM handling</title> | ||
<div id=log></div> | ||
<script> | ||
|
||
test( | ||
() => { | ||
assert_equals(document.characterSet.toLowerCase(), "utf-8"); | ||
}, | ||
"document.characterSet should match the BOM" | ||
); | ||
|
||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Content-Type: text/html; charset=windows-1252 |