title: Open link in default browser with window.open and set window size from webView in cocoa
body: <p>I have a button in my <code>webView</code>, which does the following:</p>
  
  <pre><code>myButton.onClick = function(){
     window.open("http://myURL.com",'about:blank','Popup_Window','width:200,height:200');
  }
  </code></pre>
  
  <p>Basically it just tries to open another window. I catch this click in my delegate function:
  like this:</p>
  
  <pre><code>- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id&lt;WebPolicyDecisionListener&gt;)listener {
      [[NSWorkspace sharedWorkspace] openURL:[actionInformation objectForKey:WebActionOriginalURLKey]];
  }
  </code></pre>
  
  <p>and open this link in default browser's new window. The problem is that the width, height properties of this function are get lost. How do I open a default browser with this predefined size?</p>
  
  <p>Thanks in advance</p>