Reland^2: Add layout tests for javascript code caching.
This add layout tests to ensure javascript code caching is working as expected. This also adds virtual tests with ( --enable-features=IsolatedCodeCache --site-per-process) to test that the isolated code cache is behaving as expected. These tests test that: 1. code cache is created on the second visit to the script 2. code cache is consumed on the third visit to the script 3. code cache for the same script resource is not reused if requested from a different origin (for the virtual tests). This also adds a timeout expectation for the failing tests. Bug: chromium:879494 Change-Id: I4b5b4cdce1f9dbccf31ba24f5efee2683b5a0579 Reviewed-on: https://chromium-review.googlesource.com/c/1329561Reviewed-by:Mythri Alle <mythria@chromium.org> Reviewed-by:
Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Mythri Alle <mythria@chromium.org> Cr-Commit-Position: refs/heads/master@{#608486}
Showing
Please register or sign in to comment