| Index: third_party/WebKit/LayoutTests/fast/encoding/char-encoding.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/encoding/char-encoding.html b/third_party/WebKit/LayoutTests/fast/encoding/char-encoding.html
|
| index 31632cef6c1f6e74f2f140087d090f6303ce2ac4..34b48ffd683427ef8702ead8b53718146c3be01a 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/encoding/char-encoding.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/encoding/char-encoding.html
|
| @@ -1,24 +1,13 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| +<!DOCTYPE html>
|
| +<title>Character Encoding</title>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| <script src="resources/char-encoding-utils.js"></script>
|
| -</head>
|
| <body>
|
| -<form id="form" method="GET" target="subframe"><input type="text" id="text" name="text"></form>
|
| -<iframe id="subframe" name="subframe"></iframe>
|
| <script>
|
|
|
| -
|
| -var charsets = new Array;
|
| -var unicodes = new Array;
|
| -var expectedResults = new Array;
|
| -
|
| -var results = new Object;
|
| -
|
| -var i = 0;
|
| -
|
| -
|
| testEncode("UTF-8", "U+00A0", "%C2%A0");
|
| +testEncode('UTF-8', 'U+221A', '%E2%88%9A');
|
|
|
| // Unpaired UTF-16 surrogates
|
| testEncode("UTF-8", "0xD800", "%EF%BF%BD"); // U+FFFD (REPLACEMENT CHARACTER)
|
| @@ -69,13 +58,5 @@ testEncode("iso-2022-cn", "U+00A0", "%C2%A0");
|
| testEncode("iso-2022-cn-ext", "U+00A0", "%C2%A0");
|
| testEncode("iso-2022-kr", "U+00A0", "%C2%A0");
|
|
|
| -// Turning on this test causes a download to occur. FIXME: A bug?
|
| -// testEncode('UTF-8', 'U+221A', '%E2%88%9A');
|
| -
|
| -if (window.testRunner)
|
| - testRunner.waitUntilDone();
|
| -runTest();
|
| -
|
| </script>
|
| </body>
|
| -</html>
|
|
|