title: Bug with Chrome's localStorage implementation?
body: <p>Further to <a href="https://stackoverflow.com/questions/4671852/how-to-bind-to-localstorage-change-event-using-jquery-for-all-browsers">this question</a>, I'm getting a curious result when binding a function to the change event of the Storage object in Chrome 8.0.552.224.</p>
  
  <p>The test:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Chrome localStorage Test&lt;/title&gt;
      &lt;script type="text/javascript" &gt;
  
        var handle_storage = function () {
          alert('storage event');
        };
  
        window.addEventListener("storage", handle_storage, false);
  
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;button id="add" onclick="localStorage.setItem('a','test')"&gt;Add&lt;/button&gt;
      &lt;button id="clear" onclick="localStorage.clear()"&gt;Clear&lt;/button&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <ul>
  <li>Open up the page in two Chrome windows, one window with two tabs,</li>
  <li>Click the 'Add' button</li>
  </ul>
  
  <p>When I do this I get an alert box displayed on on the second tab and on the second window but not on the tab that invoked the event (the I clicked on).  As I understand it I should see three alert boxes (one for each tab opened).</p>
  
  <p>Is this a bug?  Is anyone else getting this behaviour? If not what version are you running?  Or have I just got this all completely wrong?</p>