| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <meta http-equiv="x-ua-compatible" content="chrome=1" /> | |
| 4 <title>ChromeFrame fulltab mode anchor url navigate test</title> | |
| 5 <script type="text/javascript" | |
| 6 src="chrome_frame_tester_helpers.js"></script> | |
| 7 | |
| 8 <script type="text/javascript"> | |
| 9 function ValidateUserAgent() { | |
| 10 if (!isRunningInChrome()) { | |
| 11 onFailure("FullTab_AnchorURLNavigateTest", 1, | |
| 12 "Not running in Chrome."); | |
| 13 return; | |
| 14 } | |
| 15 ValidateWindowLocation(); | |
| 16 } | |
| 17 | |
| 18 function ValidateWindowLocation() { | |
| 19 if (/#chrome_frame/.test(window.location)) { | |
| 20 onSuccess("FullTab_AnchorURLNavigateTest", 1); | |
| 21 } else { | |
| 22 onFailed("FullTab_AnchorURLNavigateTest", 1, | |
| 23 "Failed to find anchor in URL"); | |
| 24 } | |
| 25 } | |
| 26 </script> | |
| 27 </head> | |
| 28 | |
| 29 <body onLoad="setTimeout(ValidateUserAgent, 100);"> | |
| 30 ChromeFrame full tab mode anchor URL validation test. | |
| 31 Validates that URLs with anchor are received correctly in Chrome. | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |