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"
2: 0.3694564469624311
c: 0
f: ".."
l: false
s: "pubsub"
t: "1841555346"
Thanks for helping!!!
Han
From:
Kevin Brown <[email protected]>
To:
[email protected]
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 <[email protected]> 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