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

Unified Diff: chrome/test/functional/ispy/server/views/debug_view.html

Issue 222873002: Remove pyauto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 9 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/test/functional/ispy/server/views/debug_view.html
===================================================================
--- chrome/test/functional/ispy/server/views/debug_view.html (revision 261231)
+++ chrome/test/functional/ispy/server/views/debug_view.html (working copy)
@@ -1,47 +0,0 @@
-<html>
- <head>
- <title>Debug {{ expectation }}</title>
- <script language="javascript">
- var current = 0;
- var toggle_interval = null;
-
- var toggle = function() {
- current = (current + 1) % 2;
- var image = document.getElementById("screenshot");
- image.src = (current ? "{{ actual }}" : "{{ expected }}");
- var title = document.getElementById("text");
- title.textContent = (current ? "Actual" : "Expected");
- }
-
- var setup = function() {
- toggle();
- toggle_interval = window.setInterval(toggle, 1000);
- }
-
- var manualToggle = function() {
- if (toggle_interval != null)
- window.clearInterval(toggle_interval);
- toggle();
- }
-
- var confirmSubmit = function() {
- return confirm("The area in this diff will be ignored in all future comparisions. Are you sure?");
- }
- </script>
- </head>
- <body onload="setup();">
- <div>
- <a href="javascript:void(0)" onclick="manualToggle();">Toggle</a>
- &nbsp;&#8594;&nbsp;
- <span id="text"></span>
- </div>
- <br>
- <form action="/update_mask" method="post" onsubmit="return confirmSubmit();">
- <input type="hidden" name="test_run" value="{{ test_run }}"/>
- <input type="hidden" name="expectation" value="{{ expectation }}"/>
- <input type="submit" value="Ignore similar diffs in the future"/>
- </form>
- <br>
- <img id="screenshot" src=""/>
- </body>
-</html>
« no previous file with comments | « chrome/test/functional/ispy/server/update_mask_handler.py ('k') | chrome/test/functional/ispy/server/views/list_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698