Bug 53790 - origin header not set when doing cross site worker.importScript.
Summary: origin header not set when doing cross site worker.importScript.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 10:53 PST by David Levin
Modified: 2011-02-04 11:14 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Levin 2011-02-04 10:53:44 PST
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.
Comment 1 David Levin 2011-02-04 11:02:19 PST
Perhaps this is by design. Adding Adam so he can set me straight.
Comment 2 Adam Barth 2011-02-04 11:13:00 PST
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.
Comment 3 David Levin 2011-02-04 11:14:47 PST
ok, this is invalid.