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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/browsers/windows/browsing-context-first-created.xhtml

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (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 <?xml version="1.0" encoding="iso-8859-1"?> 1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <title>HTML Test: Browsing context is first created</title> 4 <title>HTML Test: Browsing context is first created</title>
5 <link rel="author" title="Intel" href="http://www.intel.com/" /> 5 <link rel="author" title="Intel" href="http://www.intel.com/" />
6 <script src="../../../../../resources/testharness.js"></script> 6 <script src="../../../../../resources/testharness.js"></script>
7 <script src="../../../../../resources/testharnessreport.js"></script> 7 <script src="../../../../../resources/testharnessreport.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <div id="log"></div> 10 <div id="log"></div>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 assert_equals(doc.documentElement.childNodes[0].tagName, "HEAD", "The firs t child of HTML element should be a HEAD element."); 45 assert_equals(doc.documentElement.childNodes[0].tagName, "HEAD", "The firs t child of HTML element should be a HEAD element.");
46 assert_false(doc.documentElement.childNodes[0].hasChildNodes(), "The HEAD element should not have children."); 46 assert_false(doc.documentElement.childNodes[0].hasChildNodes(), "The HEAD element should not have children.");
47 assert_equals(doc.documentElement.childNodes[1].tagName, "BODY", "The seco nd child of HTML element should be a BODY element."); 47 assert_equals(doc.documentElement.childNodes[1].tagName, "BODY", "The seco nd child of HTML element should be a BODY element.");
48 assert_false(doc.documentElement.childNodes[1].hasChildNodes(), "The BODY element should not have children."); 48 assert_false(doc.documentElement.childNodes[1].hasChildNodes(), "The BODY element should not have children.");
49 }, "Check the document's content"); 49 }, "Check the document's content");
50 50
51 ]]> 51 ]]>
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698