Issue: http://www.connectortriptool.com/<http://www.connectortriptool.com/OneTimeFlex.aspx> doesn't work Steps to Reproduce:
Install IE9 Platform Preview 4
1. Log in to connectorride.com
2. From the menu in the page select "Schedules | Availability"
3. Page loads, and you see "Loading Availability" overlay, but it never completes
4. In the console you see a script error: SCRIPT65535: Invalid set operation on read-only property ScriptResource.axd?d=DBKfPoPjwkuVLdxTohjr4_T8t5HLET5T7oENmO9I3XZNiptc2lWwSofdxMgnp40U0&t=667a3632, line 2 character 3485
Test Notes:
The problematic script is:
_addScriptElementHandlers: function () {
var a = this;
a._scriptLoadDelegate = Function.createDelegate(a, a._scriptLoadHandler);
if (document.addEventListener) {
==> a._scriptElement.readyState = "loaded";
$addHandler(a._scriptElement, i, a._scriptLoadDelegate)
} else $addHandler(a._scriptElement, t, a._scriptLoadDelegate);
if (a._scriptElement.addEventListener) {
a._scriptErrorDelegate = Function.createDelegate(a, a._scriptErrorHandler);
a._scriptElement.addEventListener(l, a._scriptErrorDelegate, b)
}
},
The script is trying to set the .readyState on a script element. IE9's specIDL clearly states that this is a read-only property.
ReadyState on HTMLScriptElements is not defined in other browsers, hence it works as an expando property and all is good. This is not a problem in pre-IE9 since the if(document.addEventListener) precludes this from executing in pre-IE9 modes.
Comments: Outdated.
Install IE9 Platform Preview 4
1. Log in to connectorride.com
2. From the menu in the page select "Schedules | Availability"
3. Page loads, and you see "Loading Availability" overlay, but it never completes
4. In the console you see a script error: SCRIPT65535: Invalid set operation on read-only property ScriptResource.axd?d=DBKfPoPjwkuVLdxTohjr4_T8t5HLET5T7oENmO9I3XZNiptc2lWwSofdxMgnp40U0&t=667a3632, line 2 character 3485
Test Notes:
The problematic script is:
_addScriptElementHandlers: function () {
var a = this;
a._scriptLoadDelegate = Function.createDelegate(a, a._scriptLoadHandler);
if (document.addEventListener) {
==> a._scriptElement.readyState = "loaded";
$addHandler(a._scriptElement, i, a._scriptLoadDelegate)
} else $addHandler(a._scriptElement, t, a._scriptLoadDelegate);
if (a._scriptElement.addEventListener) {
a._scriptErrorDelegate = Function.createDelegate(a, a._scriptErrorHandler);
a._scriptElement.addEventListener(l, a._scriptErrorDelegate, b)
}
},
The script is trying to set the .readyState on a script element. IE9's specIDL clearly states that this is a read-only property.
ReadyState on HTMLScriptElements is not defined in other browsers, hence it works as an expando property and all is good. This is not a problem in pre-IE9 since the if(document.addEventListener) precludes this from executing in pre-IE9 modes.
Comments: Outdated.