shindig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Brown <e...@google.com>
Subject Re: Is pub/sub from trunk broken?
Date Thu, 09 Jul 2009 05:47:13 GMT
What was the value of  "relay" though? For postMessage, the "parent"
parameter to the gadget must contain a valid origin (scheme and host, and
possibly port). Is this being specified?

On Wed, Jul 8, 2009 at 6:13 PM, Han Nguyen <hnguy@us.ibm.com> wrote:

>
> Hi Kevin,
> *Test case1;*  we ran the gadgets out of the sample container on tomcat
> 6.0. Below  screen shot of the values we got from firebug.
> *uncaught exception: An invalid or illegal string was specified
> (NS_ERROR_DOM_SYNTAX_ERR)*
> *targetWin.postMessage(gadgets.json.stringify(rpc), relay);*
>
>
>
>
> *Test case2: *we ran sample pubsub on Safari and had similar error  *Error:
> SYNTAX_ERR: DOM Exception 12 *
>
>
>
>
>
>
>
> relay: "../../files/container/rpc_relay.html"
>   rpc: Object
> a: Array
>    0: "random-number"
>    1: "*
> http://localhost:8080/gadgets/files/container/sample-pubsub-publisher.xml"
> *<http://localhost:8080/gadgets/files/container/sample-pubsub-publisher.xml>
>    2: 0.3694564469624311
> c: 0
> f: ".."
> l: false
> s: "pubsub"
> t: "1841555346"
>
> Thanks for helping!!!
> Han
>
>
>  From: Kevin Brown <etnu@google.com> To: shindig-dev@incubator.apache.org
> Date: 07/08/2009 06:53 PM Subject: Re: Is pub/sub from trunk broken?
> ------------------------------
>
>
>
> What are the values of "rpc" and "relay" when you get the error?
>
> On Wed, Jul 8, 2009 at 12:27 PM, Han Nguyen <hnguy@us.ibm.com> wrote:
>
> > Hello,
> > My teammate and I synched down the code from the trunk yesterday, and our
> > previously working pub/sub test cases are now broken with the below error
> > found in FF console.
> > Has anyone seen this error? is pub/sub broken?
> >
> > uncaught exception: An invalid or illegal string was specified
> > (NS_ERROR_DOM_SYNTAX_ERR)
> >        targetWin.postMessage(gadgets.json.stringify(rpc), relay);
> >
> > Thanks much!
> > Han
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message