Results 1 to 2 of 2

Thread: Application hungs in FireFox version >= 39

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    24

    Default Application hungs in FireFox version >= 39

    Ext version tested:
    • Ext 5.1.1.451
    • Ext 5.1.0.107
    • Ext 6.0.0.640
    • Ext 6.0.1.250
    Browser versions tested against:
    • FF39
    • FF40
    • FF41
    DOCTYPE tested against:
    • <!DOCTYPE html>
    Description:
    ExtJs application hungs up during start up in Firefox versions 39, 40, 41 when doing Ext.Object.freeze(this) in root controller init method.
    When using ExtJs v.5.0.1.1255 application loads just fine.

    Steps to reproduce the problem:
    The result that was expected:
    • Demo application loads
    The result that occurs instead:
    • Browser hungs up

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

    Default

    I don't really think it's reasonable to expect this to be possible. It would be dictating that Ext written classes wouldn't be able to modify their internal state at any arbitrary point. Imagine:

    Code:
    Ext.define('Foo', {
        extend: 'Ext.Component',
    
        initComponent: function() {
            Ext.Object.freeze(this);
            this.callParent();
        }
    });
    The methods in Ext.Object are typically meant for use with object literals.

    What's likely happening in your example is that freeze is preventing the _init flag from being set on the controller, so it is never able to fully initialize and ends up in a loop trying to do so.
    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.

Similar Threads

  1. Replies: 1
    Last Post: 16 Jan 2013, 5:00 AM
  2. Replies: 1
    Last Post: 17 Nov 2012, 5:55 AM
  3. Replies: 2
    Last Post: 13 Feb 2012, 8:34 AM
  4. new version of firefox causing errors
    By thenewmexican in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 5 Oct 2009, 6:15 AM
  5. Firefox version sniffing
    By sneddo in forum Community Discussion
    Replies: 7
    Last Post: 14 Aug 2008, 8:00 AM

Tags for this Thread

Posting Permissions

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