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

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

Issue 343086: Don't switch to CF's active document for frames or iframes.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/full_tab_sub_frame1.html
===================================================================
--- chrome_frame/test/data/full_tab_sub_frame1.html (revision 0)
+++ chrome_frame/test/data/full_tab_sub_frame1.html (revision 0)
@@ -0,0 +1,26 @@
+<html>
+ <head>
+ <meta http-equiv="x-ua-compatible" content="chrome=1" />
+ <!-- the http-equiv tag should be ignored since we're in a sub frame -->
+ <title>ChromeFrame Sub Frame test</title>
+ <script type="text/javascript"
+ src="chrome_frame_tester_helpers.js"></script>
+
+ <script type="text/javascript">
+ function OnLoad() {
+ if (isRunningInChrome()) {
+ onFailure("sub_frame", 1, 'Failed');
+ } else {
+ onSuccess("sub_frame", 1);
+ }
+ }
+ </script>
+ </head>
+
+ <body onLoad="OnLoad();">
+ ChromeFrame full tab mode sub frame test. Verifies that frame pages are
+ not opened in CF even though they have the meta tag.<br>
+ This frame has the x-ua-compatible http-equiv tag, but should not be
+ loaded in CF since it's inside a frame.
+ </body>
+</html>
Property changes on: chrome_frame\test\data\full_tab_sub_frame1.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/full_tab_sub_frame2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698