-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q] What happens when "executionContexts" is present along with Location header? #56
Comments
Given the proposed Fetch integration I suspect Firefox is technically correct. That doesn't seem like great design however. cc @bakulf |
A possible solution here could be to only honer this header on 2xx responses. @mikewest what does Chrome do here? |
Due to the lack of reply Firefox will only adhere to it on 2xx responses for now. |
@annevk we found this while looking at a solution to migrate the domain in a service-worker enabled website (namely: perf-html.io -> profiler.firefox.com). Normally we'd use a 301 for this, but this would break our service worker (a 301 response isn't a "ok" response so this breaks in code such as this one). Using |
I'm not sure I understand the setup. As part of the redirect you want to clear the data on the old domain? I guess that makes sense. |
Yeah that's exactly this. |
My main question is what should happen when
Clear-Site-Data: "executionContexts"
andLocation
, both, headers are present?I tried it on Firefox and it causes a reload loop so just wondering whether
Location
header is ought to be omitted if usingexecutionContexts
?The text was updated successfully, but these errors were encountered: