WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
265468
Stop outputting JSONP for layout tests results
https://bugs.webkit.org/show_bug.cgi?id=265468
Summary
Stop outputting JSONP for layout tests results
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
Add attachment
proposed patch, testcase, etc.
Sam Sneddon [:gsnedders]
Comment 1
2023-11-28 11:21:12 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21011
Radar WebKit Bug Importer
Comment 2
2023-12-05 10:55:15 PST
<
rdar://problem/119200588
>
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.
Top of Page
Format For Printing
XML
Clone This Bug