merge_pr_52797
prefetch: Allow GET method only
Currently, only GET method is available for Prefetch.
https://source.chromium.org/chromium/chromium/src/+/1000eee6f34cd07615837de97c95fd5588c9097d:content/browser/preloading/prefetch/prefetch_container.cc;l=1766;bpv=1;bpt=0
spec:
https://wicg.github.io/nav-speculation/prefetch.html#create-navigation-params-from-a-prefetch-record
This CL prevents other methods from using the cached prefetch results.
Bug: 415942154
Change-Id: I621965073bb502046429e0e0c6fd0ccb50684626
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6512394
Reviewed-by: Taiyo Mizuhashi taiyo@chromium.org
Commit-Queue: Huanpo Lin robertlin@chromium.org
Reviewed-by: Hiroshige Hayashizaki hiroshige@chromium.org
Cr-Commit-Position: refs/heads/main@{#1465744}