Move disabled content tests under wpt.

This commit is contained in:
Ms2ger 2015-04-16 11:09:55 +02:00
parent f7bfea5879
commit 4cc4e210b4
7 changed files with 38 additions and 30 deletions

View file

@ -1,15 +0,0 @@
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<html>
<head>
<script src="harness.js"></script>
<script>
// test1: long charset
{
is(document.characterSet, "windows-1252", "test1-0, long charset");
}
finish();
</script>
</head>
</html>

View file

@ -1,15 +0,0 @@
<!DOCTYPE html>
<meta charset="iso-8859-1">
<html>
<head>
<script src="harness.js"></script>
<script>
// test1: short charset
{
is(document.characterSet, "windows-1252", "test1-0, short charset");
}
finish();
</script>
</head>
</html>

View file

@ -111,6 +111,18 @@
"url": "/_mozilla/mozilla/document_characterSet_invalid.html"
}
],
"mozilla/document_characterSet_long.html": [
{
"path": "mozilla/document_characterSet_long.html",
"url": "/_mozilla/mozilla/document_characterSet_long.html"
}
],
"mozilla/document_characterSet_short.html": [
{
"path": "mozilla/document_characterSet_short.html",
"url": "/_mozilla/mozilla/document_characterSet_short.html"
}
],
"mozilla/document_compatMode_loose.html": [
{
"path": "mozilla/document_compatMode_loose.html",

View file

@ -0,0 +1,4 @@
[document_characterSet_long.html]
type: testharness
[Untitled]
expected: FAIL

View file

@ -0,0 +1,4 @@
[document_characterSet_short.html]
type: testharness
[Untitled]
expected: FAIL

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_equals(document.characterSet, "windows-1252");
});
</script>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="iso-8859-1">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_equals(document.characterSet, "windows-1252");
});
</script>