On Tue, Jul 17, 2012 at 11:22 AM, Hubert Iwaniuk <neo...@kungfoo.pl> wrote:
> Hello Everyone,
>
> Did anyone managed to get BrowserREPL running within Chrome Extension?
> I'm having hard time getting it up.
>
> Basically what happens for me is CrossPageChannel communication
> initialization failure both from content script and background.
> content_script: "Uncaught Error: CrossPageChannel: Can't connect, peer
> window-object not set. "
> background: "Uncaught Error: URI
> chrome-extension://mkifioecnlocipnafdcihlojkpeknfcf/robots.txt is
> invalid for field ppu"
>
> Could anyone enlighten me why we need CrossPageChannel here?
> I can make connections to localhost from extension no problem, so if
> CPC would not be total necessity, there is hope to get repl in some
> form for Chrome Extension development.
>
> Thanks in advance,
> Hubert

CrossPageChannel does not work unless the page is be properly served
over HTTP from what I can tell. Which won't be the case here. Patch
welcome for supporting other BrowserREPL transports that don't have
this issue.

David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to