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

Unified Diff: chrome/test/data/safe_browsing/download_protection/navigation_observer/landing_referrer.html

Issue 2538483002: Add management related code to SafeBrowsingNavigationObserverManager (Closed)
Patch Set: rebase-update Created 4 years 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/data/safe_browsing/download_protection/navigation_observer/landing_referrer.html
diff --git a/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing_referrer.html b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing_referrer.html
new file mode 100644
index 0000000000000000000000000000000000000000..4b46647bc7f3b572305a27528a69598acc1c854b
--- /dev/null
+++ b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing_referrer.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ <script>
Charlie Reis 2016/12/09 22:00:26 Same.
Jialiu Lin 2016/12/12 23:43:38 Done.
+ // Click on a link by id to start a test case.
+ function clickLink(linkId) {
+ var node = document.getElementById(linkId);
+ // Click and open link in the same tab.
+ node.click();
+ }
+ </script>
+ </head>
+ <body>
+ <a id="link_to_landing" href="landing.html">
+ Link to landing
+ </a><br>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698