You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2009/07/15 00:08:36 UTC

svn commit: r794087 - /incubator/shindig/trunk/javascript/container/rpctest_gadget.xml

Author: johnh
Date: Tue Jul 14 22:08:36 2009
New Revision: 794087

URL: http://svn.apache.org/viewvc?rev=794087&view=rev
Log:
Small test harness fix.


Modified:
    incubator/shindig/trunk/javascript/container/rpctest_gadget.xml

Modified: incubator/shindig/trunk/javascript/container/rpctest_gadget.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/container/rpctest_gadget.xml?rev=794087&r1=794086&r2=794087&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/container/rpctest_gadget.xml (original)
+++ incubator/shindig/trunk/javascript/container/rpctest_gadget.xml Tue Jul 14 22:08:36 2009
@@ -43,8 +43,8 @@
 
       function appendChildGadget() {
         var childgadgetdiv = document.getElementById('childgadgetdiv');
-        var parentDomain = gadgets.rpc.getDomainRoot(gadgets.util.getUrlParameters().parent);
-        var myDomain = gadgets.rpc.getDomainRoot(window.location.href);
+        var parentDomain = gadgets.rpc.getOrigin(gadgets.util.getUrlParameters().parent);
+        var myDomain = gadgets.rpc.getOrigin(window.location.href);
         var rpctoken = Math.round(Math.random() * 10000000);
         var childGadgetUrl = parentDomain + '/gadgets/ifr?url=' + parentDomain + '/gadgets/files/container/rpctest_childgadget.xml&parent=' + myDomain + '#rpctoken=' + rpctoken;
         childgadgetdiv.innerHTML = '<div><input type="button" value="Ping Parent (Container)" onclick="callGadgetServicePing();"/><hr/>' +