[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git] / content / test / data / remove_frame_on_unload.html
blob118b447cdaf428d06bae12e3412587d81d844b9d
1 <html>
2 <head>
3 <title>Remove Frame on Unload</title>
4 <script>
5 function openWindow() {
6 var w = window.open("title1.html");
7 return true;
10 window.addEventListener('unload', function() {
11 var f = document.getElementById("f");
12 document.body.removeChild(f);
13 }, false);
14 </script>
15 </head>
16 <body>
17 <button onclick="openWindow()">Open Window</button>
18 <p>Navigate to another page to cause frame to be removed.</p>
19 <iframe id="f" src="about:blank"></iframe>
20 </body>
21 </html>