jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.13k stars 269 forks source link

IE 9 script70 permission denied iframe #187

Open jasonhjohnson opened 8 years ago

jasonhjohnson commented 8 years ago

Hi,

I'm getting a SCRIPT70: Permission denied error on line 3, character 13524 of the xdomain.min.js file when attempting to use this in IE 9.

Here's the debug output:

LOG: xdomain (http://master.domain.com): adding slave: http://localhost:53559 
LOG: xdomain (http://master.domain.com): adding slave: http://slave1.domain.com 
LOG: xdomain (http://master.domain.com): adding slave: http://slave2.domain.com 
LOG: xdomain (http://master.domain.com): proxying request to slave: 'http://slave2.domain.com' 
LOG: xdomain (http://master.domain.com): creating iframe xdomain-99c09d94 
LOG: xdomain (http://master.domain.com): new socket: xdomain-fdf9d625 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-fdf9d625: ready 
LOG: xdomain (http://master.domain.com): send socket: xdomain-fdf9d625: request 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-fdf9d625: XD_CHECK -> [object Object] 
LOG: xdomain (http://master.domain.com): send socket: xdomain-fdf9d625: ready 
LOG: xdomain (http://master.domain.com): ready socket: xdomain-fdf9d625 (emit #1 pending) 
LOG: xdomain (http://master.domain.com): proxying request to slave: 'http://slave1.domain.com' 
LOG: xdomain (http://master.domain.com): creating iframe xdomain-d4a1c1ab 
LOG: xdomain (http://master.domain.com): new socket: xdomain-8d52d582 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-fdf9d625: xhr-event -> readystatechange 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-fdf9d625: xhr-event -> readystatechange 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-fdf9d625: response 
LOG: xdomain (http://master.domain.com): send socket: xdomain-fdf9d625: close 
LOG: xdomain (http://master.domain.com): close socket: xdomain-fdf9d625 
LOG: xdomain (http://master.domain.com): proxying request to slave: 'http://slave1.domain.com' 
LOG: xdomain (http://master.domain.com): new socket: xdomain-7cc8ef3b 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-7cc8ef3b: ready 
LOG: xdomain (http://master.domain.com): send socket: xdomain-7cc8ef3b: request 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-7cc8ef3b: XD_CHECK -> [object Object] 
LOG: xdomain (http://master.domain.com): send socket: xdomain-7cc8ef3b: ready 
LOG: xdomain (http://master.domain.com): ready socket: xdomain-7cc8ef3b (emit #1 pending) 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-8d52d582: ready 
LOG: xdomain (http://master.domain.com): send socket: xdomain-8d52d582: request 
LOG: xdomain (http://master.domain.com): receive socket: xdomain-8d52d582: XD_CHECK -> [object Object] 
LOG: xdomain (http://master.domain.com): send socket: xdomain-8d52d582: ready 
LOG: xdomain (http://master.domain.com): ready socket: xdomain-8d52d582 (emit #1 pending) 
LOG: xdomain (http://master.domain.com): proxying request to slave: 'http://slave2.domain.com' 
LOG: xdomain (http://master.domain.com): new socket: xdomain-90235b36 
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 888
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 888
SCRIPT5009: 'RegExp' is undefined 
xdomain.min.js, line 3 character 3200
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 888
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 888
SCRIPT5009: 'RegExp' is undefined 
xdomain.min.js, line 3 character 3200
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT5009: 'Array' is undefined 
xdomain.min.js, line 3 character 13524
SCRIPT70: Permission denied 
xdomain.min.js, line 3 character 12853

My master and slave are on different sub-domains.

Thanks, Jason