Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/script-charset-03.html

Issue 2666113002: Skip some tests that depend on a file with a non-utf8 encoding. (Closed)
Patch Set: Remove files that are now skipped Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <meta charset="utf-8">
4 <title>Script changing @charset</title>
5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#scriptingLanguage s">
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8 <div id="log"></div>
9 <script>
10 async_test(function() {
11 var s = document.createElement("script");
12 s.src = "external-script-windows1250.js";
13 s.charset = "windows-1250";
14 document.body.appendChild(s);
15 s.charset = "utf-8";
16 window.onload = this.step_func_done(function() {
17 assert_equals(window.getSomeString(), "\u015b\u0107\u0105\u017c\u017a");
18 });
19 })
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698