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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html

Issue 2496133002: DOM: Remove standard-violating optimizations in appendChild, insertBefore, and replaceChild. (Closed)
Patch Set: . 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../inspector-test.js"></script> 3 <script src="../inspector-test.js"></script>
4 <script src="../resources-test.js"></script> 4 <script src="../resources-test.js"></script>
5 <script src="resource-tree-test.js"></script> 5 <script src="resource-tree-test.js"></script>
6 6
7 <link rel="stylesheet" href="resources/styles-initial.css"> 7 <link rel="stylesheet" href="resources/styles-initial.css">
8 8
9 <script> 9 <script>
10 function navigateIframe() 10 function navigateIframe()
11 { 11 {
12 var iframe = document.getElementById("iframe"); 12 var iframe = document.getElementById("iframe");
13 iframe.setAttribute("src", "resources/resource-tree-frame-navigate-iframe-af ter.html"); 13 iframe.setAttribute("src", "resources/resource-tree-frame-navigate-iframe-af ter.html");
14 document.body.appendChild(iframe);
15 } 14 }
16 15
17 function test() 16 function test()
18 { 17 {
19 InspectorTest.addResult("Before navigation"); 18 InspectorTest.addResult("Before navigation");
20 InspectorTest.addResult("===================================="); 19 InspectorTest.addResult("====================================");
21 InspectorTest.dumpResourceTreeEverything(); 20 InspectorTest.dumpResourceTreeEverything();
22 InspectorTest.addConsoleSniffer(step2); 21 InspectorTest.addConsoleSniffer(step2);
23 InspectorTest.evaluateInPage("navigateIframe()"); 22 InspectorTest.evaluateInPage("navigateIframe()");
24 23
(...skipping 13 matching lines...) Expand all
38 37
39 <body> 38 <body>
40 <p> 39 <p>
41 Tests resource tree model on iframe navigation, compares resource tree against g olden. Every line is important. 40 Tests resource tree model on iframe navigation, compares resource tree against g olden. Every line is important.
42 </p> 41 </p>
43 42
44 <iframe id="iframe" src="resources/resource-tree-frame-navigate-iframe-before.ht ml" onload="runTest()"> 43 <iframe id="iframe" src="resources/resource-tree-frame-navigate-iframe-before.ht ml" onload="runTest()">
45 44
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698