[WPT/referrer-policy] Call getRequestURLs() for each subtest
Previously, getRequestURLs(), PolicyDelivery/Subresouce object creation etc. were done once per test HTML file and reused among multiple subtests. This CL introduces invokeScenario() that does these things and calls invokeScenario() for each subtest, and thus calls getRequestURLs() for each subtest. This removes hacky modifications to `subresource.url` in 4K-referrer-length-related subtests to avoid cache hit. Also this makes subresource URLs unique for srcdoc-related subtests (previously the same image URL was used). Bug: 906850 Change-Id: I894a902338a90526678b70d01857103f46984189 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1723013 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:
Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#690288}
Showing
Please register or sign in to comment