summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/data/chrome_frame_tester_helpers.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/test/data/chrome_frame_tester_helpers.js b/chrome_frame/test/data/chrome_frame_tester_helpers.js
index e7f2a83..159b00b 100644
--- a/chrome_frame/test/data/chrome_frame_tester_helpers.js
+++ b/chrome_frame/test/data/chrome_frame_tester_helpers.js
@@ -145,6 +145,9 @@ function reloadUsingCFProtocol() {
}
function isRunningInChrome() {
+ var is_chrome_frame = /chromeframe/.test(navigator.userAgent.toLowerCase());
+ if (is_chrome_frame)
+ return 0;
var is_chrome = /chrome/.test(navigator.userAgent.toLowerCase());
return is_chrome;
}