Repository navigation
v3.0.1
Patch Changes
-
#51
ec110dcThanks @DyHex! - Overlappingseedcalls for one origin now merge as if each had been awaited in turn, in the order they were made,
later values winning per key.In 3.0.0, two
seedcalls for the same origin that overlapped (in aPromise.all, or a call that was not awaited)
could:- lose one call's entries, so the "was never applied" message listed only some of the keys;
- fail with
disposableObject.dispose: disposable@… is disposed more than once; - leave an init script behind that wrote the seeded values again after every return from another origin, overwriting
what the app had stored there, with no error.
Each call keeps its own checks. A commit on the origin is now noticed from the moment
seedis called, so a call made
while the page was arriving there fails at the call ("the page committed a document on … while seed() was
registering"). Before, it could resolve while the app loaded without the entries, and the test failed later as never
applied: on Chromium, aseedthat was not awaited before agotoon a fresh page did. Awaited calls behave as before.Await
seedbefore the action that starts the hop. APromise.allof seeds is fine; the seeding page's new
Several seeds section explains when
it helps.