Reviewers: bobv,

Description:
Freelend (fabbott) ran our test suite with assertions enabled, and found
an assertion failure in AsyncFragmentLoader.  Curiously, the code likely
works in a browser, due to arrays not being bounds checked when
compiling to JavaScript, but certainly the code is not behaving as
intended.

This patch adds a test case, fixes the bug, and gets RunAsyncFailureTest
to pass even with assertions enabled.


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

Affected files:
   user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java
   user/test/com/google/gwt/core/client/impl/AsyncFragmentLoaderTest.java



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

Reply via email to