Update content tests for Document#characterSet

This commit is contained in:
ProgramFOX 2014-12-05 21:51:59 +01:00
parent e2e5536315
commit 2bd1269b02
3 changed files with 5 additions and 5 deletions

View file

@ -6,13 +6,13 @@
<script>
// test1: characterSet
{
is(document.characterSet, "utf-8", "test1-0, characterSet");
is(document.characterSet, "UTF-8", "test1-0, characterSet");
var xmldoc = new Document;
is(xmldoc.characterSet, "utf-8", "test2-1, characterSet");
is(xmldoc.characterSet, "UTF-8", "test2-1, characterSet");
var htmldoc = document.implementation.createHTMLDocument("title");
is(htmldoc.characterSet, "utf-8", "test2-2, characterSet");
is(htmldoc.characterSet, "UTF-8", "test2-2, characterSet");
}
</script>
</head>

View file

@ -6,7 +6,7 @@
// test1: default characterSet
{
// FIXME: https://github.com/mozilla-servo/libhubbub/issues/5
is(document.characterSet, "utf-8", "test1-0, default characterSet");
is(document.characterSet, "UTF-8", "test1-0, default characterSet");
}
</script>
</head>

View file

@ -6,7 +6,7 @@
<script>
// test1: unknown charset
{
is(document.characterSet, "utf-8", "test1-0, unknown charset");
is(document.characterSet, "UTF-8", "test1-0, unknown charset");
}
</script>
</head>