Ext version:
4.0.7
Browsers:
Chrome, Chromium, FF
Description:
The complete page can freeze when an incorrect component query is passed to Ext.app.Controller.control()
Steps to recreate the problem:
  • Insert an incorrect component query into control()
  • When continueing working in the application it can freeze at complete unrelated points in the code. (Most likely because another event occurs at that point)
Expected result:
The faulty query is either silently ignored or an warning/error is generated

Example:
Code:
Ext.define('ecms.controller.Headers', {
    extend: 'Ext.app.Controller',
    
    init: function() {
        this.control({
            'headerform button[action=cancel]]': { //note the double "]"
                click: this.onCancelClick
            },
            'headerform button[action=cancel], headerform button[action=add]': {
                    // an intinuative mistake seen before when the programmer is working with css as well
                click: this.onAnyClick
            }


        });
    },


    ...
});