The tests should cover the following cases: * Test that we display the dynamically generated page if we: * Have an unpopulated cache * Have a partially written cache * Are too slow to read the cache * Test that we can show a cached page * Test that we can cache a page * Test that we can overwrite a pre-existing cache * Test that we can invalidate a cache with a cache version bump * Test that clearing history clears the cache * Test that changing locales clears the cache * Test that we try to write to the cache at shutdown if the state has updated * Test that we don't try to write to the cache at shutdown if the state has not been updated since the last write * Test that the cache worker produces a workable HTML document
Bug 1622088 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The tests should cover the following cases: * Test that we display the dynamically generated page if we: * Have an unpopulated cache * Have a partially written cache * Are too slow to read the cache * Test that we can show a cached page * Test that we can cache a page * Test that we can overwrite a pre-existing cache * Test that we can invalidate a cache with a cache version bump * Test that clearing history clears the cache * Test that changing locales clears the cache * Test that we try to write to the cache at shutdown if the state has updated * Test that we don't try to write to the cache at shutdown if the state has not been updated since the last write * Test that the cache worker produces a workable HTML document * Test that non-privileged content processes cannot read from or write to the cache.