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

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

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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
« no previous file with comments | « chrome_frame/test/data/CFInstall_dismiss.html ('k') | chrome_frame/test/data/CFInstall_place.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/CFInstall_overlay.html
diff --git a/chrome_frame/test/data/CFInstall_overlay.html b/chrome_frame/test/data/CFInstall_overlay.html
deleted file mode 100644
index 22147efd26a43e04ff3bb29b6c652633724daa14..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/CFInstall_overlay.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<html>
- <head>
- <script type="text/javascript"
- src="chrome_frame_tester_helpers.js"></script>
- <script type="text/javascript"
- src="CFInstall.js"></script>
- </head>
- <body>
- <div id="statusPanel" style="border: 1px solid red; width: 100%">
- Test running....
- </div>
-
- <script type="text/javascript">
- var testName = 'CFInstallOverlay';
- (function(){
- try{
- // Testing over-rides for GCF detection code.
- CFInstall._force = true;
- CFInstall._forceValue = false;
-
- // Clobber prompt suppression cookie if set.
- document.cookie = 'disableGCFCheck=0;path=/';
-
- CFInstall.check({
- id: 'prompt',
- mode: 'overlay'
- });
-
- var p = byId('prompt');
-
- if (!p) {
- onFailure(testName, 1, 'prompt not created with correct ID');
- return;
- }
-
- // Make sure the prompt is parented in the display table.
- if (p.parentNode != byId('chromeFrameIframeHolder')) {
- onFailure(testName, 1, 'prompt not parented correctly');
- return;
- }
-
- var fc = document.body.firstChild;
-
- if (fc.nodeType != 1 || !fc.firstChild &&
- fc.firstChild != byId('chromeFrameOverlayUnderlay')) {
- onFailure(testName, 1, 'underlay placed incorrectly');
- return;
- }
-
- if (fc.nodeType != 1 || !fc.firstChild &&
- fc.nextSibling != byId('chromeFrameOverlayContent')) {
- onFailure(testName, 1, 'prompt placed incorrectly');
- return;
- }
-
- onSuccess(testName, 1);
-
- } catch (e) {
- onFailure(testName, 1,
- 'CFInstall overlay prompt failed with error: '+e);
- }
- })();
- </script>
- <p>Tests CFInstall overlay prompt</p>
- </body>
-</html>
-
« no previous file with comments | « chrome_frame/test/data/CFInstall_dismiss.html ('k') | chrome_frame/test/data/CFInstall_place.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698