#7213 closed defect (fixed)
[patch] _browserRunner tag not added in IE
Reported by: | haysmark | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | TestFramework | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I'm talking about this line in runner.js:
if(s && (s.substr(-9) == "runner.js")){
W3Schools says: "To extract characters from the end of the string, use a negative start number (This does not work in IE)."
Sure enough, the browserRunner tag isn't being added to the document. Since -9 is just shorthand for s.length-9, I changed it to that and now browserRunner loads in all browsers.
Attachments (1)
Change History (5)
Changed 14 years ago by
Attachment: | dohfixie.patch added |
---|
comment:1 Changed 14 years ago by
Owner: | changed from alex to Adam Peller |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
Fixes runner in IE to load browserRunner.