title: What's the difference between window.open(url) and window.location.href = url on Firefox?
body: <p>I am trying to build a bookmarklet, feeding the current url as a parameter to another url.</p>
  
  <p>However I am finding out that this</p>
  
  <pre><code>javascript:(function(){window.open("http://www.somesi.te/some/thing?url="+encodeURIComponent(window.location.href))})()
  </code></pre>
  
  <p>does not work, while this</p>
  
  <pre><code>javascript:(function(){window.location.href = "http://www.somesi.te/some/thing?url="+encodeURIComponent(window.location.href)})()
  </code></pre>
  
  <p>does. Apart from the obvious difference that <code>window.open</code> opens another window, and <code>window.location.href</code> changes location, why does the latter work, while the former just opens another window to the original location?</p>
  
  <p>This is on Firefox. Funnily enough, on Chrome things work fine.</p>
  
  <p>Is this a security thing?</p>