Title: [187623] trunk/Tools
Revision
187623
Author
ander...@apple.com
Date
2015-07-30 16:47:57 -0700 (Thu, 30 Jul 2015)

Log Message

Undo stray commit.

* MiniBrowser/mac/WK1BrowserWindowController.m:
(-[WK1BrowserWindowController awakeFromNib]):
(-[WK1BrowserWindowController webView:createWebViewWithRequest:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (187622 => 187623)


--- trunk/Tools/ChangeLog	2015-07-30 23:46:11 UTC (rev 187622)
+++ trunk/Tools/ChangeLog	2015-07-30 23:47:57 UTC (rev 187623)
@@ -1,3 +1,11 @@
+2015-07-30  Anders Carlsson  <ander...@apple.com>
+
+        Undo stray commit.
+
+        * MiniBrowser/mac/WK1BrowserWindowController.m:
+        (-[WK1BrowserWindowController awakeFromNib]):
+        (-[WK1BrowserWindowController webView:createWebViewWithRequest:]):
+
 2015-07-29  Dean Jackson  <d...@apple.com>
 
         Don't use (Details) when exposing SPI

Modified: trunk/Tools/MiniBrowser/mac/WK1BrowserWindowController.m (187622 => 187623)


--- trunk/Tools/MiniBrowser/mac/WK1BrowserWindowController.m	2015-07-30 23:46:11 UTC (rev 187622)
+++ trunk/Tools/MiniBrowser/mac/WK1BrowserWindowController.m	2015-07-30 23:47:57 UTC (rev 187623)
@@ -52,7 +52,6 @@
     [[WebPreferences standardPreferences] setDeveloperExtrasEnabled:YES];
     [[WebPreferences standardPreferences] setImageControlsEnabled:YES];
     [[WebPreferences standardPreferences] setServiceControlsEnabled:YES];
-    [[WebPreferences standardPreferences] setJavaScriptCanOpenWindowsAutomatically:YES];
 
     [_webView _listenForLayoutMilestones:WebDidFirstLayout | WebDidFirstVisuallyNonEmptyLayout | WebDidHitRelevantRepaintedObjectsAreaThreshold];
 
@@ -313,14 +312,6 @@
     [self.window setTitle:[title stringByAppendingString:@" [WK1]"]];
 }
 
-- (WebView *)webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)request
-{
-    WK1BrowserWindowController *newBrowserWindowController = [[WK1BrowserWindowController alloc] initWithWindowNibName:@"BrowserWindow"];
-    [newBrowserWindowController.window makeKeyAndOrderFront:self];
-
-    return newBrowserWindowController->_webView;
-}
-
 - (void)webView:(WebView *)sender didCommitLoadForFrame:(WebFrame *)frame
 {
     if (frame != [sender mainFrame])
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to