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

Unified Diff: third_party/webdriver/test_data/click_jacker.html

Issue 424363004: Update third_party/webdriver/pylib to r18456 and delete test_data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "python" -> "pylib" Created 6 years, 5 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: third_party/webdriver/test_data/click_jacker.html
diff --git a/third_party/webdriver/test_data/click_jacker.html b/third_party/webdriver/test_data/click_jacker.html
deleted file mode 100644
index 602976684293ff4a52083c43440c3ce22429baac..0000000000000000000000000000000000000000
--- a/third_party/webdriver/test_data/click_jacker.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>click-jacking</title>
- <script>
- var clickJacker;
-
- function setOpacity(opacity) {
- if (window.navigator.userAgent.indexOf('MSIE') != -1) {
- clickJacker.style.filter = 'alpha(opacity=' + (opacity * 100) + ')';
- } else {
- clickJacker.style.opacity = opacity;
- }
- }
-
- function init() {
- clickJacker = document.getElementById('clickJacker');
- setOpacity(0);
- }
- </script>
-</head>
-<body onload="init()">
-<div>
- <div id="clickJacker"
- onclick="setOpacity(1);"
- style="position:absolute;float:left;
- width:200px;height:100px; padding:10px;
- background-color:darkred;
- border:1px solid darkred;">Click jacked!</div>
- <div style="width:200px; height:100px;
- border:1px solid black; padding:10px">Click Me</div>
- <script>
- clickJacker = document.getElementById('clickJacker');
- </script>
-</div>
-</body>
-</html>
« no previous file with comments | « third_party/webdriver/test_data/click_frames.html ('k') | third_party/webdriver/test_data/click_out_of_bounds.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698