title: jQuery $(window).resize not firing in Firefox
body: <p>For environmental reasons, I am only able to test this in Firefox currently, so I don't know what's happening in other browsers. I am trying to track down why binding the window resize event isn't working.</p>
  
  <p>This is a legacy project with a lot of JavaScript, and I cannot find anywhere where events are being unbound, or any other bindings to resize.</p>
  
  <p>jQuery version is 1.7.3</p>
  
  <p>I have code that looks like this:</p>
  
  <pre><code>$(function(){
      $(window).resize(function(){
         console.log("resize 1");
      });
      $(window).on("resize", function(){
         console.log("resize 2");
      });
      window.onresize = function(){
       console.log("resize 3");
      }
  });
  </code></pre>
  
  <p>When I resize the window, only "resize 3" is logged.</p>
  
  <p>If I do:</p>
  
  <pre><code>$(window).trigger("resize");
  </code></pre>
  
  <p>Then all three are logged to the console.</p>
  
  <p>If I remove window.onresize - nothing happens when I resize, but triggering resize logs.</p>