Bug 265468
Summary: | Stop outputting JSONP for layout tests results | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
Component: | Tools / Tests | Assignee: | Sam Sneddon [:gsnedders] <gsnedders> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 265467, 265606 | ||
Bug Blocks: |
Sam Sneddon [:gsnedders]
Once bug 265467 is fixed, we can start to fix what was planned in 2011 (c.f. https://commits.webkit.org/89351@main), and start storing/serving JSON (and not JSONP) everywhere.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/21011
Radar WebKit Bug Importer
<rdar://problem/119200588>
Sam Sneddon [:gsnedders]
We can't actually do this, *because* we expect to be able to load full_results.json from file:///, adjacent to results.html, and any XHR/fetch there is considered cross-origin (and we have no way to opt-in to making full_results.json shareable with CORS).
This feels unfortunate, but we don't really have any better way of doing cross-origin access without CORS than JSONP, so our function call must remain (boo).