JavaScript Error: Ox136 is null

  •  03-20-2014, 8:43 PM

    JavaScript Error: Ox136 is null

    In Firefox 27 and 28

    CuteEditor 6.7

     

    This started occurring sporadically after updating v6.6 to v6.7 in Firefox. I've only confirmed for v27 and v28. The editor loads the toolbars  and will encounter error then stop loading with no content. The iframe is empty and any button command that access it will throw a command error.  I can only reproduce this if caching is enabled in Firefox, but if I have it disabled via Web Dev Toolbar then the editor will load fine.

     

    Any idea on the cause of this? 

     

    The null error happens initially on this block of code in the Gecko implementation loader.

     

    function Ox963() { var Ox136 = editwin.getSelection();
    if (!Ox962(Ox136.anchorNode)) {
    return false;
    }
    ;
    if (Ox136[OxOfbd9[28]]) {
    return true;
    }
    ;
    if (!Ox962(Ox136.focusNode)) {
    return false;
    }
    ;
    var Ox283 = Window_GetSelectionHTML(editwin);
    var Ox296 = /<[^>]*contenteditable\=[\"\']?false[\"\']?[^>]*>/ig;
    if (Ox296.test(Ox283)) {
    return false;
    }
    ;
    return true;
    }
    ;

    Then will error here if I add a null check in the previous block of code and return false.

    var Ox136 = editwin.getSelection();
    if (Ox136[OxOfbd9[28]]) {
    var Ox72d = Ox94c();
    if (Ox94b[OxOfbd9[330]] == Ox72d) {
    Ox995 = Ox94b[OxOfbd9[1011]] || Ox995;
    Oxcd = Ox94b[OxOfbd9[1019]] || Oxcd;
    var Ox997 = [OxOfbd9[1020], OxOfbd9[1021], OxOfbd9[1022], OxOfbd9[1023], OxOfbd9[1024], OxOfbd9[1025], OxOfbd9[1026]];
    for (var i = 0; i < Ox997[OxOfbd9[26]]; i++) {
    if (Ox997[i] == Oxcd) {
    Oxcd = String(i + 1);
    }
    ;
    }
    ;
    }
    ;
    }
    ;

View Complete Thread