Index: content/browser/browser_side_navigation_browsertest.cc |
diff --git a/content/browser/browser_side_navigation_browsertest.cc b/content/browser/browser_side_navigation_browsertest.cc |
index 05e0195f342be47e406ad838d45f63ca447a41a8..6cb86968c0d78ae0d6fc1be433ef473cc6b16041 100644 |
--- a/content/browser/browser_side_navigation_browsertest.cc |
+++ b/content/browser/browser_side_navigation_browsertest.cc |
@@ -282,10 +282,6 @@ |
content::WindowedNotificationObserver close_observer( |
content::NOTIFICATION_WEB_CONTENTS_DESTROYED, |
content::Source<content::WebContents>(shell()->web_contents())); |
- GURL url( |
- "data:text/html,<html><script>window.onbeforeunload=function(e)" |
- "{}</script></html>"); |
- NavigateToURL(shell(), url); |
shell()->LoadURL(GURL("chrome://resources/css/tabs.css")); |
shell()->web_contents()->DispatchBeforeUnload(); |
close_observer.Wait(); |