Bug 53790
Summary: | origin header not set when doing cross site worker.importScript. | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Levin <levin> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | abarth, levin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
David Levin
This is a follow on to bug 50773 which addresses the issue in one place in DocumentLoader but not the place that would fix the issue for worker.importScript.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Levin
Perhaps this is by design. Adding Adam so he can set me straight.
Adam Barth
Generally, requests get an origin header if their method isn't GET or HEAD or if they're using CORS. My understanding is that importScript is a GET request and does not use CORS. Therefore, it doesn't need an Origin header.
David Levin
ok, this is invalid.