You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by mh...@apache.org on 2011/04/26 01:00:55 UTC
svn commit: r1096626 -
/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Author: mhermanto
Date: Mon Apr 25 23:00:55 2011
New Revision: 1096626
URL: http://svn.apache.org/viewvc?rev=1096626&view=rev
Log:
Decrease level (and silent) same domain fail checks, meant for dev use.
Modified:
shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
Modified: shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?rev=1096626&r1=1096625&r2=1096626&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/rpc/rpc.js (original)
+++ shindig/trunk/features/src/main/javascript/features/rpc/rpc.js Mon Apr 25 23:00:55 2011
@@ -545,9 +545,9 @@ if (!gadgets.rpc) { // make lib resilien
var targetGadgets = targetEl['gadgets'];
sameDomain[target] = targetGadgets.rpc.receiveSameDomain;
} catch (e) {
- // Shouldn't happen due to origin check. Caught to emit
- // more meaningful error to the caller.
- gadgets.error('Same domain call failed: parent= incorrectly set.');
+ // Shouldn't happen due to origin check. Caught to emit more
+ // meaningful error to the caller. Consider emitting in non-opt mode.
+ // gadgets.log('Same domain call failed: parent= incorrectly set.');
}
}