[Commits] svn commit: 10189

www-data www-data at thor.atrc.utoronto.ca
Mon Nov 8 09:11:23 UTC 2010

r10189 | antranig at caret.cam.ac.uk | 2010-11-08 04:11:20 -0500 (Mon, 08 Nov 2010) | 1 line
Changed paths:
   M /fluid/infusion/trunk/src/webapp/framework/renderer/js/fluidParser.js
   A /fluid/infusion/trunk/src/webapp/tests/framework-tests/core/html/Caching-test.html
   A /fluid/infusion/trunk/src/webapp/tests/framework-tests/core/js/CachingTests.js
   M /fluid/infusion/trunk/src/webapp/tests/framework-tests/core/js/FluidJSTests.js
   A /fluid/infusion/trunk/src/webapp/tests/lib/mockjax
   A /fluid/infusion/trunk/src/webapp/tests/lib/mockjax/js
   A /fluid/infusion/trunk/src/webapp/tests/lib/mockjax/js/jquery.mockjax.js

FLUID-3825: Upgrade of fluid.fetchResources to support PROLEPTICK JOINSETS. The opportunity was taken to thoroughly refactor this rather gnarled nodule of pretty ancestral code that "just grew" as it came to handle more complexity. Now with a proper "that" as well as a dedicated namespace - previously unannounced functions "primeCacheFromResources" and "clearCache" have been moved into this fluid.fetchResources namespace. Addition of "mockjax" testing framework to our test image which allows the issuing of "deterministic asynchronous" tests of which "CachingTests.js" now exhibits the style. All possible interleavings of response cycles are tested to demonstrate correct behaviour of caching system - this exposed a fatal bug with the "forceCache" implementation to date. 

More information about the Commits mailing list