Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>EDIT:</strong> new GWT bug reported: <a href="http://code.google.com/p/google-web-toolkit/issues/detail?id=7685" rel="nofollow">http://code.google.com/p/google-web-toolkit/issues/detail?id=7685</a>, see also <a href="http://gwt-code-reviews.appspot.com/1838803/" rel="nofollow">http://gwt-code-reviews.appspot.com/1838803/</a> which is related to this bug</p> <p>In other words, it looks like, when fixed, you'll simply have to use the <code>DirectInstallLinker</code> (<code>&lt;add-linker name='direct_install'/&gt;</code>).</p> <p>In the mean time, IIUC, you'd have to extend <code>DirectInstallLinker</code> and:</p> <ul> <li>override <code>getJsInstallLocation</code> to return a copy a <code>installLocaltionIframe.js</code> without the <code>$wnd</code> part</li> <li>override <code>getModulePrefix</code> to prepend <code>var $wnd = $wnd || window.parent;</code> to what's generated by <code>super.getModulePrefix</code></li> </ul> <hr> <p>I don't know CSP enough to give a complete answer, but the xsiframe linker is "customizable": create a class that extends <code>com.google.gwt.core.linker.CrossSiteIframeLinker</code> and overrides the appropriate methods, then use with a <code>&lt;define-linker&gt;</code> and <code>&lt;add-linker&gt;</code> in your <code>*.gwt.xml</code>.</p> <p>For instance, <code>getJsInstallLocation</code> defaults to <code>com/google/gwt/core/ext/linker/impl/installLocationIframe.js</code> but there's a <code>com/google/gwt/core/ext/linker/impl/installLocationMainWindows.js</code> alternate implementation.</p> <p>Similarly (and probably more importantly), <code>getJsInstallScript</code> defaults to <code>com/google/gwt/core/ext/linker/impl/installScriptEarlyDownload.js</code> but there's also a <code>com/google/gwt/core/ext/linker/impl/installScriptDirect.js</code> alternate implementation.</p> <p>See <a href="http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java#204" rel="nofollow">http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java#204</a>, <a href="http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/" rel="nofollow">http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/</a> and <a href="http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/core/Core.gwt.xml" rel="nofollow">http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/core/Core.gwt.xml</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload