<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sat May 18 07:13:31 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJS-392/CLJS-392.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJS-392] Documentation says CLJS can open connections to the REPL server from a &quot;file://&quot; source, and you can&apos;t</title>
                <link>http://dev.clojure.org/jira/browse/CLJS-392</link>
                <project id="10040" key="CLJS">ClojureScript</project>
                        <description>&lt;p&gt;At &lt;a href=&quot;https://github.com/clojure/clojurescript/wiki/The-REPL-and-Evaluation-Environments&quot;&gt;https://github.com/clojure/clojurescript/wiki/The-REPL-and-Evaluation-Environments&lt;/a&gt; there is the following paragraph:&lt;/p&gt;

&lt;p&gt;&quot;This is a problem for the browser-connected REPL because FireFox and Chrome both view opening a file from the file system and connecting to localhost:9000 as different domains. &lt;br/&gt;
(...)&lt;br/&gt;
Fortunately, Google has also run into this problem and has created something called a CrossPageChannel. Without going into the details, this allows an iframe served from one domain (the REPL) to communicate with the parent page which was served from another domain (the application server).&quot;&lt;/p&gt;

&lt;p&gt;From what I tested, you CANT connect to the REPL server at &quot;http://localhost:9000/repl&quot; if you initially loaded the page using the &quot;file://&quot; protocol. But you can if you loaded it from the same hostname on another port using &quot;http://&quot;. The documentation is wrong, and also it needs to be clarified on what you really can change from the initial domain, like the port, without broking the REPL connection (or link to a CrossPageChannel documentation page with the details on what same-origin policy checks it can overcome). &lt;/p&gt;</description>
                <environment>ClojureScript 0.0-1450</environment>
            <key id="15741">CLJS-392</key>
            <summary>Documentation says CLJS can open connections to the REPL server from a &quot;file://&quot; source, and you can&apos;t</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="5" iconUrl="http://dev.clojure.org/jira/images/icons/priority_trivial.gif">Trivial</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="nahuel">Nahuel Greco</reporter>
                        <labels>
                        <label>bug</label>
                        <label>docs</label>
                        <label>documentation</label>
                    </labels>
                <created>Tue, 9 Oct 2012 07:54:04 -0500</created>
                <updated>Wed, 24 Oct 2012 14:48:48 -0500</updated>
                    <resolved>Wed, 24 Oct 2012 14:48:48 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="29783" author="dnolen" created="Tue, 23 Oct 2012 19:00:24 -0500"  >&lt;p&gt;Are you unable to edit the wiki?&lt;/p&gt;</comment>
                    <comment id="29788" author="nahuel" created="Wed, 24 Oct 2012 09:27:42 -0500"  >&lt;p&gt;I didn&apos;t know the wiki had public write permissions. Also I don&apos;t know the exact CrossPageChannel limitations. &lt;/p&gt;</comment>
                    <comment id="29789" author="dnolen" created="Wed, 24 Oct 2012 10:37:36 -0500"  >&lt;p&gt;The limitation is that it won&apos;t work with &lt;a href=&quot;file://&quot;&gt;file://&lt;/a&gt;. We now provide a simple webserver that will serve the files present in the directory where you started browser REPL. If you goto &lt;a href=&quot;http://localhost:9000/&quot;&gt;http://localhost:9000/&lt;/a&gt; we will serve index.html if it is present.&lt;/p&gt;</comment>
                    <comment id="29790" author="nahuel" created="Wed, 24 Oct 2012 10:47:25 -0500"  >&lt;p&gt;So CrossPageChannel overcomes the &quot;same origin policy&quot; for different ports, but not for different protocols. Thanks for the clarification.&lt;/p&gt;</comment>
                    <comment id="29794" author="dnolen" created="Wed, 24 Oct 2012 14:48:48 -0500"  >&lt;p&gt;No problem, closing this one.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>