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

Unified Diff: chrome_frame/test/data/CFInstall_place.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_overlay.html ('k') | chrome_frame/test/data/CFInstance_basic_frame.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/CFInstall_place.html
diff --git a/chrome_frame/test/data/CFInstall_place.html b/chrome_frame/test/data/CFInstall_place.html
deleted file mode 100644
index a8e543bbe7c0ebfd295ddffdabfe7d14a8933d6b..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/CFInstall_place.html
+++ /dev/null
@@ -1,74 +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>
-
- <div id="parent">
- <div id="prev">before</div><div id="toBeReplaced">
- fallback content goes here
- </div><div id="after">after</div>
- </div>
- <script type="text/javascript">
- var testName = 'CFInstallPlace';
- (function(){
- try{
- // Testing over-rides for GCF detection code.
- CFInstall._force = true;
- CFInstall._forceValue = false;
-
- CFInstall.check({
- node: 'toBeReplaced',
- id: 'prompt',
- cssText: 'width: 400px; height: 300px;',
- mode: 'inline'
- });
-
- var p = byId('prompt');
-
- if (!p) {
- onFailure(testName, 1, 'prompt not created with correct ID');
- return;
- }
-
- var fc = document.body.firstChild;
-
- if (fc.nodeType == 1 && fc.tagName == 'IFRAME') {
- onFailure(testName, 1, 'prompt placed incorrectly');
- return;
- }
-
- if (p.tagName != 'IFRAME') {
- onFailure(testName, 1, 'prompt has wrong tag type');
- return;
- }
-
- // Ensure that it got dropped into the right bit of the DOM
- if (byId('prev').nextSibling != p) {
- onFailure(testName, 1, 'prompt placed incorrectly');
- return;
- }
-
- // Make sure that the geometry took.
- if (p.style.width != '400px') {
- onFailure(testName, 1, 'prompt sized incorrectly');
- return;
- }
-
- onSuccess(testName, 1);
-
- } catch (e) {
- onFailure(testName, 1,
- 'CFInstall placement failed with error: '+e);
- }
- })();
- </script>
- <p>Tests CFInstall prompt placement</p>
- </body>
-</html>
« no previous file with comments | « chrome_frame/test/data/CFInstall_overlay.html ('k') | chrome_frame/test/data/CFInstance_basic_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698