| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <meta http-equiv="x-ua-compatible" content="chrome=1" /> | |
| 4 <title>ChromeFrame fulltab mode unload event final page</title> | 3 <title>ChromeFrame fulltab mode unload event final page</title> |
| 5 <script type="text/javascript" | 4 <script type="text/javascript" |
| 6 src="chrome_frame_tester_helpers.js"></script> | 5 src="chrome_frame_tester_helpers.js"></script> |
| 7 <script language=javascript> | 6 <script language=javascript> |
| 8 function onLoad() { | 7 function onLoad() { |
| 9 if (isRunningInChrome()) { | 8 if (isRunningInChrome()) { |
| 10 if (window.localStorage.unload_success == 1) { | 9 if (window.localStorage.unload_success == 1) { |
| 11 window.externalHost.postMessage("Unload success"); | 10 window.externalHost.postMessage("Unload success"); |
| 12 } | 11 } |
| 13 } | 12 } |
| 14 } | 13 } |
| 15 </script> | 14 </script> |
| 16 </head> | 15 </head> |
| 17 <body onload="setTimeout('onLoad()', 50);"> | 16 <body onload="setTimeout('onLoad()', 50);"> |
| 18 ChromeFrame full tab mode unload event final page. | 17 ChromeFrame full tab mode unload event final page. |
| 19 Validates that page unload events are received in ChromeFrame. | 18 Validates that page unload events are received in ChromeFrame. |
| 20 </body> | 19 </body> |
| 21 </html> | 20 </html> |
| OLD | NEW |