Results 1 to 3 of 3

Thread: ondemand loading doesn't work in emulated IE10 in 6.2.1

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    242

    Default ondemand loading doesn't work in emulated IE10 in 6.2.1

    Hello.
    I cannot load your kitchensink demo in IE11, which emulates IE10. I got blank page. It works in native IE10 though.
    I see it happens, because in 6.2.1 Ext.Boot has own browser version recongition and it fails to detect IE10 correctly, and thus using onload instead of onreadystatechange:
    Code:
                if (Boot.isIE10m) {
                    el.onreadystatechange = function() {
                        if (this.readyState === 'loaded' || this.readyState === 'complete') {
                            if (callback) {
                                callback();
                                callback = this.onreadystatechange = this.onerror = null;
                            }
                        }
                    };
                } else {
                    el.onload = function() {
                        callback();
                        callback = this.onload = this.onerror = null;
                    };
                }
    This also affects our applications, apparently.

    Ext 6.0.2 works fine.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,257

    Default

    Emulated browser modes aren't supported by the framework.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium Member ragzovskii's Avatar
    Join Date
    Sep 2012
    Location
    Krasnoyarsk, Russia
    Posts
    242

    Default

    It worked fine for years (probably always?). I agree with lack of support when behavior in emulated browser slightly differs from real browser, but broken loading is just wrong. Especially, when it used to work. And more to that - Ext can detect version correctly, but not Ext.Boot. In emulated browser Ext.isIE10m is true, but Ext.Boot.isIE10m is false.

    I can see, that Boot.isIE10m is only used to pick correct handler. I can assume, that such complex validation could be used to know if it is a real browser or mere emulation. Claiming you do not support emulated browsers, you can change condition to use Ext.isIE10m and only win on that:
    1) emulated IE10 will work, but you can still claim it is not supported
    2) native IE10 will be supported too
    win-win scenario.

    Please consider this option.

Similar Threads

  1. [IE10] Editing plugin doesn't work in locking grid
    By ragzovskii in forum Ext JS 6.x Bugs
    Replies: 0
    Last Post: 6 Dec 2016, 9:21 AM
  2. Ext.Loader OnDemand loading -
    By nanosonde in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 10 Feb 2011, 8:16 AM
  3. OnDemand loading in ComboBox
    By venki5star in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 15 Oct 2009, 3:31 AM
  4. OnDemand loading in ComboBox
    By venki5star in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Oct 2009, 1:19 AM
  5. Replies: 4
    Last Post: 15 Aug 2007, 1:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •