----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7857/#review13103 -----------------------------------------------------------
http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container/container.js <https://reviews.apache.org/r/7857/#comment28238> Small nit to update the comment header reflecting the actual param name opt_tokenResponse - Henry Saputra On Nov. 4, 2012, 3:40 p.m., Stanton Sievers wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/7857/ > ----------------------------------------------------------- > > (Updated Nov. 4, 2012, 3:40 p.m.) > > > Review request for shindig, Dan Dumont and Matt Franklin. > > > Description > ------- > > From the Jira: > When using the "preloadMetadatas" and "preloadTokens" optional config when > constructing an osapi.container.Container, the token refresh schedule will be > based on the TTL of whatever is in "preloadMetadatas" and not "preloadTokens". > > > This addresses bug SHINDIG-1880. > https://issues.apache.org/jira/browse/SHINDIG-1880 > > > Diffs > ----- > > > http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/container/container.js > 1405426 > > http://svn.apache.org/repos/asf/shindig/trunk/features/src/test/javascript/features/container/container_test.js > 1405426 > > Diff: https://reviews.apache.org/r/7857/diff/ > > > Testing > ------- > > Wrote some new JSUnits to cover this use case. These are included in the > patch. Some of the "window.setTimeout" code in the JSUnit is odd, but it's > the only way I could get it to not puke with reference errors saying that > "setTimeout" is undefined when it is called in > osapi.container.Container.scheduleRefreshTokens_. > > > Thanks, > > Stanton Sievers > >