Bug 265468

Summary: Stop outputting JSONP for layout tests results
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: 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:    

Description Sam Sneddon [:gsnedders] 2023-11-28 10:54:30 PST
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.
Comment 1 Sam Sneddon [:gsnedders] 2023-11-28 11:21:12 PST
Pull request: https://github.com/WebKit/WebKit/pull/21011
Comment 2 Radar WebKit Bug Importer 2023-12-05 10:55:15 PST
<rdar://problem/119200588>
Comment 3 Sam Sneddon [:gsnedders] 2024-03-06 04:51:14 PST
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).