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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-constructor.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 <!doctype html> 1 <!doctype html>
2 <meta charset=windows-1252> 2 <meta charset=windows-1252>
3 <!-- Using windows-1252 to ensure that new Document() doesn't inherit utf-8 3 <!-- Using windows-1252 to ensure that new Document() doesn't inherit utf-8
4 from the parent document. --> 4 from the parent document. -->
5 <title>Document constructor</title> 5 <title>Document constructor</title>
6 <link rel=help href="https://dom.spec.whatwg.org/#dom-document"> 6 <link rel=help href="https://dom.spec.whatwg.org/#dom-document">
7 <script src="../../../../resources/testharness.js"></script> 7 <script src="../../../../resources/testharness.js"></script>
8 <script src="../../../../resources/testharnessreport.js"></script> 8 <script src="../../../../resources/testharnessreport.js"></script>
9 <div id="log"></div> 9 <div id="log"></div>
10 <script> 10 <script>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 }, "new Document(): characterSet aliases") 44 }, "new Document(): characterSet aliases")
45 45
46 test(function() { 46 test(function() {
47 var doc = new Document(); 47 var doc = new Document();
48 var a = doc.createElement("a"); 48 var a = doc.createElement("a");
49 // In UTF-8: 0xC3 0xA4 49 // In UTF-8: 0xC3 0xA4
50 a.href = "http://example.org/?\u00E4"; 50 a.href = "http://example.org/?\u00E4";
51 assert_equals(a.href, "http://example.org/?%C3%A4"); 51 assert_equals(a.href, "http://example.org/?%C3%A4");
52 }, "new Document(): URL parsing") 52 }, "new Document(): URL parsing")
53 </script> 53 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698