diff options
author | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 17:24:29 +0000 |
---|---|---|
committer | amit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 17:24:29 +0000 |
commit | 552fb601aa696cc69de9fbf69f17438ac1f6f3a9 (patch) | |
tree | 1b800a99dff7facce52bb5423a056a6e1ff4356a /chrome_frame/test/data | |
parent | 9a30588cd1081b702ade98be4eb4a7c1344bb43e (diff) | |
download | chromium_src-552fb601aa696cc69de9fbf69f17438ac1f6f3a9.zip chromium_src-552fb601aa696cc69de9fbf69f17438ac1f6f3a9.tar.gz chromium_src-552fb601aa696cc69de9fbf69f17438ac1f6f3a9.tar.bz2 |
Remove cf: protocol
Well, almost. cf: is now changed to gcf: protocol. gcf: protocol
now is supported only for the following cases:
1. gcf:attach_external_tabXXX urls. These are URLs used internally
by Chrome Frame to implement window.open
2. gcf:about:xxx
3. gcf:view-source:xxx
4 For any other URLs ONLY if it is enabled by setting a registry
value 'EnableGCFProtocol' to 1 in HKCU\Software\Google\ChromeFrame
BUG=22721,23006,23175,29350
TEST=changed existing cf: tests to new gcf: tests, added a new test for cf:view-source
Review URL: http://codereview.chromium.org/562008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/data')
-rw-r--r-- | chrome_frame/test/data/cf_protocol.html | 2 | ||||
-rw-r--r-- | chrome_frame/test/data/chrome_frame_tester_helpers.js | 2 | ||||
-rw-r--r-- | chrome_frame/test/data/navigate_out.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome_frame/test/data/cf_protocol.html b/chrome_frame/test/data/cf_protocol.html index 0036555..bee4055 100644 --- a/chrome_frame/test/data/cf_protocol.html +++ b/chrome_frame/test/data/cf_protocol.html @@ -15,6 +15,6 @@ </head>
<body onLoad="setTimeout(test, 100);">
<h2>Prepare to be redirected!</h2>
- <p>Redirects the same page to its 'cf:' version</p>
+ <p>Redirects the same page to its 'gcf:' version</p>
</body>
</html>
diff --git a/chrome_frame/test/data/chrome_frame_tester_helpers.js b/chrome_frame/test/data/chrome_frame_tester_helpers.js index f3ccd58..a6cc9c2 100644 --- a/chrome_frame/test/data/chrome_frame_tester_helpers.js +++ b/chrome_frame/test/data/chrome_frame_tester_helpers.js @@ -139,7 +139,7 @@ function isRunningInMSIE() { } function reloadUsingCFProtocol() { - var redirect_location = "cf:"; + var redirect_location = "gcf:"; redirect_location += window.location; window.location = redirect_location; } diff --git a/chrome_frame/test/data/navigate_out.html b/chrome_frame/test/data/navigate_out.html index 7b910b4..5f447c9 100644 --- a/chrome_frame/test/data/navigate_out.html +++ b/chrome_frame/test/data/navigate_out.html @@ -15,6 +15,6 @@ </head>
<body onLoad="setTimeout(test, 100);">
<h2>Prepare to be redirected!</h2>
- <p>Redirects the same page to its 'cf:' version and </p>
+ <p>Redirects the same page to its 'gcf:' version and </p>
</body>
</html>
|