Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: chrome_frame/test/data/chrome_frame_window_open.html

Issue 340029: Added unit tests for ChromeFrame IE full tab mode. These test the following c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/data/chrome_frame_window_open.html
===================================================================
--- chrome_frame/test/data/chrome_frame_window_open.html (revision 0)
+++ chrome_frame/test/data/chrome_frame_window_open.html (revision 0)
@@ -0,0 +1,33 @@
+<!-- saved from url=(0014)about:internet -->
+<!-- Note that for the above Mark of the Web to work, the comment must
+ be followed by a CR/LF ending, so please do not change the line endings. -->
+<html>
+<!-- This page is meant to load inside a host browser like IE/FF -->
+<head>
+<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
+<script type="text/javascript" src="chrome_frame_tester_helpers.js"></script>
+<script type="text/javascript">
+
+function onLoad() {
+ if (!TestIfRunningInChrome()) {
+ onFailure("ChromeFrameWindowOpen", "Window Open failed :-(",
+ "User agent = " + navigator.userAgent.toLowerCase());
+ } else {
+ setTimeout(OpenPopup, 100);
+ }
+}
+
+function OpenPopup() {
+ window.open("chrome_frame_window_open_popup.html", "_self");
+}
+</script>
+</head>
+
+<body onload="onLoad();">
+<div id="statusPanel" style="border: 1px solid red; width: 100%">
+ChromeFrame full tab mode window open test running....
+</div>
+<p>
+
+</body>
+</html>
Property changes on: chrome_frame\test\data\chrome_frame_window_open.html
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome_frame/test/data/chrome_frame_tester_helpers.js ('k') | chrome_frame/test/data/chrome_frame_window_open_popup.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698