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

Side by Side Diff: LayoutTests/fast/regions/webkit-named-flow-collection-crash.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #content { -webkit-flow-into: flow; } 5 #content { -webkit-flow-into: flow; }
6 #container { -webkit-flow-from: flow; width: 100px; height: 100px;} 6 #container { -webkit-flow-from: flow; width: 100px; height: 100px;}
7 </style> 7 </style>
8 </head> 8 </head>
9 <script src="../../fast/js/resources/js-test-pre.js"></script> 9 <script src="../../fast/js/resources/js-test-pre.js"></script>
10 <body> 10 <body>
11 <div id="content"></div> 11 <div id="content"></div>
12 <div id="container"></div> 12 <div id="container"></div>
13 <script> 13 <script>
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.dumpAsText(); 15 testRunner.dumpAsText();
16 var namedFlowCollection = document.webkitGetNamedFlows(); 16 var namedFlowCollection = document.webkitGetNamedFlows();
17 document.body.removeChild(document.getElementById("content")); 17 document.body.removeChild(document.getElementById("content"));
18 document.body.removeChild(document.getElementById("container")); 18 document.body.removeChild(document.getElementById("container"));
19 19
20 // Force a re-layout event, which forces the deletion of the underlying NamedFlow. 20 // Force a re-layout event, which forces the deletion of the underlying NamedFlow.
21 document.body.offsetTop; 21 document.body.offsetTop;
22 22
23 var namedFlow = namedFlowCollection.flow; 23 var namedFlow = namedFlowCollection.flow;
24 if (namedFlow.name == "flow") 24 if (namedFlow.name == "flow")
25 document.body.innerText = "PASS"; 25 document.body.innerText = "PASS";
26 else 26 else
27 document.body.innerText = "FAIL"; 27 document.body.innerText = "FAIL";
28 </script> 28 </script>
29 <script src="../../fast/js/resources/js-test-post.js"></script>
30 </body> 29 </body>
31 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698