 Chromium Code Reviews
 Chromium Code Reviews Issue 1156663003:
  Adjust FrameFetchContext clearing logic when clearing HTMLImportsController  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 1156663003:
  Adjust FrameFetchContext clearing logic when clearing HTMLImportsController  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/js-test.js"></script> | |
| 
Mike West
2015/05/22 16:53:29
Tiny, tiny nit: Use testharness.js next time. Then
 | |
| 3 <script> | |
| 4 description("Navigating to a javascript: URL from a document having html imports should not crash."); | |
| 5 self.jsTestIsAsync = true; | |
| 6 if (window.testRunner) { | |
| 7 testRunner.dumpAsText(); | |
| 8 testRunner.waitUntilDone(); | |
| 9 } | |
| 10 | |
| 11 var iframeLoadCount = 0; | |
| 12 function runTest() { | |
| 13 // Both the initial load and completion of the javascript: navigation will t rigger a 'load'. | |
| 14 if (++iframeLoadCount == 2) { | |
| 15 testPassed("no crash."); | |
| 16 setTimeout(finishJSTest, 0); | |
| 17 } | |
| 18 } | |
| 19 </script> | |
| 20 <iframe onload="runTest();" src="resources/javascript-detached-frame-iframe.html "></iframe> | |
| OLD | NEW |