Notice that I used getWindowInsecure() instead of getWindow() in the
last example. So in this case:

    
Utils.tabs.get("ToDoSo")[0].document.defaultView.wrappedJSObject.postMessage("bar",
"*");

should work.

2009/9/26 Louis-Rémi Babé <[email protected]>:
>
> Well,
>
> what you've indicated actually works, but when I try
> Utils.tabs.get("ToDoSo")[0].window.postMessage("bar", "*")
> It returns "postMessage is not a function"
> and
> Utils.tabs.get("ToDoSo")[0].document.defaultView.window.postMessage
> ("foo", "*")
> has no effect

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to