Changeset 4845
- Timestamp:
- 12/29/09 20:02:55 (3 years ago)
- File:
-
- 1 edited
-
CKTester/fort.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKTester/fort.js
r4800 r4845 262 262 document.title = this.totalFailed + ' failed / ' + this.totalPassed + ' passed - CKEditor Core Tests Runner'; 263 263 264 this.runCell(); 264 var self = this; 265 setTimeout( function(){ 266 self.runCell(); 267 }, 0 ); 265 268 }, 266 269 … … 293 296 if ( path.indexOf('://') == -1 && path.indexOf( '/' ) !== 0 ) 294 297 { 298 // Webkit bug: Avoid requesting with original file name (MIME type) 299 // which will stop browser from interpreting resources from same URL. 300 var suffixIndex = path.lastIndexOf( '.' ), 301 suffix = suffixIndex == -1 ? '' : path.substring( suffixIndex, path.length ); 302 303 suffix && ( path = path.substring( 0, suffixIndex ) ); 304 295 305 win = ( win || window ); 296 306 var temp = win.document.createElement( 'img' ); 297 307 temp.src = path; 298 return temp.src ;308 return temp.src + suffix; 299 309 } 300 310 else
Note: See TracChangeset
for help on using the changeset viewer.
