Chromium Code Reviews| Index: chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html |
| diff --git a/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..553f241a795fea1878e881c17a143d1403882ee7 |
| --- /dev/null |
| +++ b/chrome/test/data/safe_browsing/download_protection/navigation_observer/landing.html |
| @@ -0,0 +1,19 @@ |
| +<html> |
| + <head> |
| + <script> |
|
Charlie Reis
2016/12/14 07:43:58
I meant that the <script> tag has the wrong indent
Jialiu Lin
2016/12/14 19:06:29
Yes, you're right, there is a tab in front of <scr
|
| + // Click on a link by id to start a test case. |
| + function clickLink(linkId) { |
| + var node = document.getElementById(linkId); |
| + if (node != null) { |
| + // Click and open link in the same tab. |
| + node.click(); |
| + } |
| + } |
| + </script> |
| + </head> |
| + <body> |
| + <a id="download_on_landing_page" href="../signed.exe"> |
| + Direct download from landing page |
| + </a><br> |
| + </body> |
| +</html> |