title: "result is null" error when working around _blank deficiency in Selenium IDE
body: <p>Using a <a href="https://stackoverflow.com/a/4865433/96588">workaround</a> to be able to check the contents of a new tab, I get unexpected results. If I play the test case, the following line fails:</p>
  
  <pre><code>storeEval | javascript{"selenium.browserbot.getCurrentWindow().open('', 'my_window')"} | my_window
  </code></pre>
  
  <p>with the following error message:</p>
  
  <pre><code>[error] Threw an exception: result is null
  </code></pre>
  
  <p>The following alternative statements show the exact same symptoms:</p>
  
  <pre><code>getEval | window.open("", "my_window")
  getEval | selenium.browserbot.openWindow("", "my_window")
  </code></pre>
  
  <p>Now, if I double-click it, it <em>doesn't</em> fail, but it opens up a new window, which I think the original solution didn't intend (the next step is to click on a link in the <em>parent</em> window, after all). At this point I can click on the parent window, manually run the next step to launch the link, manually change back to the child window (<code>selectWindow | my_window</code> says it can't find that window), and manually run each of the following steps to check the contents of the new window. </p>
  
  <p>How do I proceed from here to make the test properly <em>automatic</em>?</p>
  
  <p>Update: There is a built-in action for opening windows, but it also fails. Maybe this verbatim log output can shed some light on what's going on:</p>
  
  <pre><code>[info] Executing: |store | license_window | windowName |
  ...
  [info] Executing: |openWindow | | ${windowName} |
  [error] Unexpected Exception: fileName -&gt; chrome://selenium-ide/content/recorder.js, lineNumber -&gt; 74
  </code></pre>
  
  <p>The relevant lines from recorder.js:</p>
  
  <pre><code>66: window.open = function(url, windowName, windowFeatures, replaceFlag) {
  ...
  74:            if (result.wrappedJSObject) {
  75:                result = result.wrappedJSObject;
  76:            }
  </code></pre>