title: $(window).on('load') does not get called correctly inside jQuery(document).ready()
body: <p>I used to have this code in my JavaScript file, and it used to work...</p>
  
  <pre><code>jQuery(document).ready(function ($) {
      "use strict";
  
      $(window).load(function (event) {
          LoadPage();
      });
  </code></pre>
  
  <p>after updating jQuery to version 3.3.1, I had to replace <code>$(window).load</code> with <code>$(window).on('load')</code> as it is deprecated. So this is the new code:</p>
  
  <pre><code>jQuery(document).ready(function ($) {
      "use strict";
  
      $(window).on('load', function (event) {
          LoadPage();
      });
  </code></pre>
  
  <p>Problem is this new code, does not behave as expected all the time... in Chrome <code>LoadPage()</code> method is called as expected. If I used MS Edge, it does not hit <code>LoadPage()</code> method at all. If I use Chrome incognito mode, it sometimes hit the method and sometimes doesn't... any idea why this is happening?</p>