mootools/mootools-more — Issue #1076: Object.clone( uriObject ) fails
Author: PabloCampos
Created: 2011-11-29 12:38:29+00:00
State: open

I've run this code using jsfiddle.net:

uri = new URI( );
alert( uri.toString( ) );
alert( Object.clone( uri ).toString( ) );

Under Chrome, works flawlessly. However, using IE8 (8.0.7601.17514, 32bit), first alert works but second one shows '[object Object]'.

Hence, using Request.JSON( { url : myURIObject , ... } ) is not possible under IE8.

Workaround would be Request.JSON( { url : myURIObject.toString( ) , ... } ).