Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach.html | 
| diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach.html b/third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..e5f7c75cce009a40af613662ad34d645323b5c69 | 
| --- /dev/null | 
| +++ b/third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach.html | 
| @@ -0,0 +1,27 @@ | 
| +<body> | 
| +We pass if we don't crash. | 
| +<script> | 
| +if (window.testRunner) | 
| + testRunner.dumpAsText(); | 
| + | 
| +var child = document.body.appendChild(document.createElement('iframe')); | 
| +child.contentDocument.open(); | 
| +var grandchild = child.contentDocument.appendChild(document.createElement('iframe')); | 
| + | 
| +child.contentWindow.onload = function() { | 
| 
 
Nate Chapin
2016/05/25 23:03:08
This test fails without the FrameLoader.cpp change
 
 | 
| + var a = grandchild.contentDocument.createElement('a'); | 
| + a.href = 'data:text/xml,'; | 
| + a.click(); | 
| +} | 
| + | 
| +var a = grandchild.contentDocument.createElement('a'); | 
| +a.href = 'data:text/xml,'; | 
| +a.click(); | 
| + | 
| +child.contentDocument.close(); | 
| + | 
| +a = grandchild.contentDocument.createElement('a'); | 
| +a.href = 'data:text/html,'; | 
| +a.click(); | 
| +</script> | 
| +</body> |