oyvindkinsey/easyXDM — Issue #147: FlashTransport on IE7
Author: pronebird
Created: 2012-01-12 17:23:33+00:00
State: open

Hello,

I have a problem using easyXDM on ie7. I read readme many times and tried different configurations but with no luck.

Provider configuration:

cors/index.html file was modified but only useAccessControl was turned off. json2.js was placed at easyxdm folder for ie7.

Consumer configuration:

...
var exampleTransport = {xdm:easyXDM.noConflict("exampleTransport"), rpc:null, ready:false},
easyxdm_remote = (isHttps ? 'https://sapi.example.com' : 'http://api.example.com');

exampleTransport.rpc = new exampleTransport.xdm.Rpc({
swf: easyxdm_remote + '/easyxdm/easyxdm.swf',
remote: easyxdm_remote + '/easyxdm/cors/index.html',
onReady: function () {
exampleTransport.ready = true;
}
}, {
remote: {
request: {}
},
serializer : {
parse: function(string) {
return helpers.JSON.parse(string);
},
stringify: function(object) {
return helpers.JSON.stringify(object);
}
}
});

Firebug lite console output:

www.example.com - 20:00:42.429: easyXDM present on 'http://www.example.com/demo/
www.example.com - 20:00:42.429:{Private}: Settings namespace to 'exampleTransport'
www.example.com:exampleTransport - 20:00:42.429:easyXDM.Rpc: constructor
www.example.com:exampleTransport - 20:00:42.429:{Private}: preparing transport stack
www.example.com:exampleTransport - 20:00:42.445:{Private}: resolved url 'http://api.example.com/easyxdm/cors/index.html'
www.example.com:exampleTransport - 20:00:42.445:{Private}: selecting protocol: 6
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.FlashTransport: constructor
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.QueueBehavior: constructor
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.RpcBehavior: init
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.RpcBehavior: creating stubs
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.RpcBehavior: creating method request
www.example.com:exampleTransport - 20:00:42.445:easyXDM.stack.FlashTransport: init
www.example.com:exampleTransport - 20:00:42.445:easyXDM.Fn: storing function flash_default6497_init
www.example.com:exampleTransport - 20:00:42.445:easyXDM.Fn: storing function flash_default6497_onMessage
www.example.com:exampleTransport - 20:00:42.461:{Private}: resolved url 'http://api.example.com/easyxdm/easyxdm.swf'
www.example.com:exampleTransport - 20:00:42.461:easyXDM.stack.FlashTransport: creating factory with SWF from api.example.com
www.example.com:exampleTransport - 20:00:42.461:easyXDM.Fn: storing function flash_loadedapi_example_com
www.example.com:exampleTransport - 20:00:42.820:easyXDM.stack.RpcBehavior: executing method request

So after that nothing happens, no errors or something. I also put alert in cors/index.html but it doesn't even fire on flash transport. This configuration works fine on any other browser. Please help me understand what may be wrong with this configuration or what I missed.

Thanks,
Andrei