Changeset 15280

Show
Ignore:
Timestamp:
09/18/08 10:33:48 (4 months ago)
Author:
doughays
Message:

References #7681. The robot code should execute with the same BASE as the page being tested so that XHR gets work correctly (Safari 3.1 seems to require this).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/robotx.js

    r14954 r15280  
    7373                        }); 
    7474                        document.body.appendChild(iframe); 
     75                        var base=document.createElement('base'); 
     76                        base.href=url; 
     77                        document.getElementsByTagName("head")[0].appendChild(base); 
    7578                }); 
    7679        },