Reviewers: zundel,

Description:
Refactor LoadingStrategy for xsiframe linker and rename it to
ScriptLoadingStrategy since it is not inherently tied to the xsiframe
linker.

Bring it more in line with the XhrLoadingStrategy and give them API
compatibility so the xsiframe linker could use either one.

Add features, such as retrying the download if it fails (like the
XhrLoadingStrategy has)

Lay the groundwork for adding prefetching, although this will need some
changes higher up in the runAsynch framework to finish

Review by: zun...@google.com

Please review this at http://gwt-code-reviews.appspot.com/1468802/

Affected files:
M dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java M dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptAlreadyIncluded.js
  M dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptDirect.js
M dev/core/src/com/google/gwt/core/ext/linker/impl/installScriptEarlyDownload.js
  A dev/core/src/com/google/gwt/core/ext/linker/impl/runAsync.js
  M dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java
  M dev/core/src/com/google/gwt/core/linker/CrossSiteIframeTemplate.js
  M dev/core/src/com/google/gwt/core/linker/IFrameLinker.java
  M tools/api-checker/config/gwt23_24userApi.conf
  M user/src/com/google/gwt/core/CrossSiteIframeLinker.gwt.xml
  M user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java
D user/src/com/google/gwt/core/client/impl/CrossSiteIframeLoadingStrategy.java
  A user/src/com/google/gwt/core/client/impl/LoadingStrategyBase.java
  A user/src/com/google/gwt/core/client/impl/ScriptTagLoadingStrategy.java
  M user/src/com/google/gwt/core/client/impl/XhrLoadingStrategy.java
  M user/test/com/google/gwt/core/CoreSuite.java
  D user/test/com/google/gwt/core/client/impl/XhrLoadingStrategyTest.java
  M user/test/com/google/gwt/dev/jjs/CrossSiteIframeRunAsyncFailure.gwt.xml
  D user/test/com/google/gwt/dev/jjs/CrossSiteIframeRunAsyncMetrics.gwt.xml
  M user/test/com/google/gwt/dev/jjs/CrossSiteIframeRunAsyncSuite.java
M user/test/com/google/gwt/dev/jjs/test/CrossSiteIframeRunAsyncFailureTest.java D user/test/com/google/gwt/dev/jjs/test/CrossSiteIframeRunAsyncMetricsTest.java
  M user/test/com/google/gwt/dev/jjs/test/CrossSiteRunAsyncFailureTest.java
  M user/test/com/google/gwt/dev/jjs/test/RunAsyncFailureTest.java
M user/test/com/google/gwt/user/server/runasync/RunAsyncFailureServlet.java


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to