Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / resources / gmail-assert-on-load-frame.html
blobc204fa7e13d2d4ea3ae960b951ec58bd8df155c0
1 <script>
2 function destroyIt() {
3 frameElement.parentNode.removeChild(frameElement);
5 </script>
6 <script>
7 // Force a sleep for 1 second, to make sure the rest of the parsing is done
8 // via a timer.
9 var start = new Date()
10 var startMS = start.getTime()
11 while (true) {
12 var now = new Date()
13 if (now.getTime() - startMS > 1000) {
14 break;
17 </script>
19 <body onload="destroyIt()">
20 </body>