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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html

Issue 2524013002: XSS Auditor: Block by default. (Closed)
Patch Set: Rebase+Test Created 4 years, 1 month 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/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html b/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html
deleted file mode 100644
index d8ad5c07283e52201fc14d56787db70f6c90fea1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/xssAuditor/resources/anchor-url-dom-write-location-click.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-</head>
-<body>
-<script>
-window.onload = function()
-{
- window.setTimeout(clickAnchorLink, 100);
-}
-function clickAnchorLink()
-{
- var event = document.createEvent('MouseEvent');
- event.initEvent('click', true, true);
- document.getElementById("anchorLink").dispatchEvent(event);
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-<script>document.write(unescape(window.location));</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698