Chromium Code Reviews| Index: chrome/test/data/safe_browsing/download_protection/navigation_observer/iframe_retargeting.html |
| diff --git a/chrome/test/data/safe_browsing/download_protection/navigation_observer/iframe_retargeting.html b/chrome/test/data/safe_browsing/download_protection/navigation_observer/iframe_retargeting.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4021c88e9bc968416cfbe3762bdd128a9a96851f |
| --- /dev/null |
| +++ b/chrome/test/data/safe_browsing/download_protection/navigation_observer/iframe_retargeting.html |
| @@ -0,0 +1,15 @@ |
| +<html> |
| + <head> |
| + <script> |
| + function openInNewTab() { |
| + var tab = window.open('navigation_observer_tests.html'); |
|
Charlie Reis
2016/11/03 22:58:45
What was the reason for changing this test?
Jialiu Lin
2016/11/04 05:38:01
Changed it back after using StartWatchingNewWebCon
|
| + tab.opener = null; |
| + } |
| + </script> |
| + </head> |
| + <body> |
| + <a id="iframe_new_tab_navigation" href="#" onclick="openInNewTab(); return false;"> |
| + Open target url in new tab frome an iframe |
| + </a><br> |
| + </body> |
| +</html> |