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:    

Sam Sneddon [:gsnedders]
Reported 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.
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2023-11-28 11:21:12 PST
Radar WebKit Bug Importer
Comment 2 2023-12-05 10:55:15 PST
Sam Sneddon [:gsnedders]
Comment 3 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).
Note You need to log in before you can comment on or make changes to this bug.