title: chrome.windows.getCurrent is not returning the list of opened tabs
body: <pre><code>var windows = chrome.windows.getCurrent(
      function(windows){
          try{
              // dont really know why this is null. it should be a list of tabs.
              if(windows.tabs == null) 
          alert(windows.type + " " + windows.id);
          }
          catch(e){
              alert(e);
          }
      });
  </code></pre>
  
  <p>I am using this code to get all the open tabs in the current window. But the window.tabs is always null even though there are tabs open in the current window. Is there something wrong with the concept of current window. 
  Could anyone please explain what is it that i am doing wrong. 
  Thanks.</p>