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

Unified Diff: chrome_frame/test/data/context_menu.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
Index: chrome_frame/test/data/context_menu.html
diff --git a/chrome_frame/test/data/context_menu.html b/chrome_frame/test/data/context_menu.html
deleted file mode 100644
index b586b7875454bd61f3045d4a5a09cccb2e03c175..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/context_menu.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
- <head>
- <title>context menu</title>
- <meta http-equiv="x-ua-compatible" content="chrome=1" />
- <script type="text/javascript" src="chrome_frame_tester_helpers.js">
- </script>
- <script>
- // Default text value used to test cut/copy/paste etc.
- var INIT_VAL = "SomeInitializedTextValue";
-
- // Verify the expected result based on action and post message to host.
- function verifyTextFieldContents(event) {
- var textField = document.getElementById("textField");
- var selectedValue = textField.value.substring(textField.selectionStart,
- textField.selectionEnd);
-
- if (selectedValue == INIT_VAL) {
- window.externalHost.postMessage("OK");
- } else {
- window.externalHost.postMessage("Fail");
- }
- }
-
- // Do some initialization work like setting text field value,
- // and selecting the value by default before the test starts.
- function init() {
- var action = getURLParameter("action");
-
- document.getElementById("textField").value = INIT_VAL;
- document.getElementById("textField").focus();
- if (action != "selectall") {
- document.getElementById("textField").select();
- }
-
- window.externalHost.onmessage = verifyTextFieldContents;
- }
- </script>
- </head>
-
- <body leftmargin="0" topmargin="0" onload="init()">
- <input type="text" name="textField" id="textField" size="25" value=""></td>
- </body>
-</html>
« no previous file with comments | « chrome_frame/test/data/chrome_frame_window_open_popup.html ('k') | chrome_frame/test/data/download_file.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698