CORS preflight simulator / Change history
Change history
Every change made to CORS preflight simulator, newest first, from the site's version history. Each date is the day the change was saved.
-
Add tests for eleven more simulators
The same change touched 10 other pages.
Details
Event loop (the page's code run in Node), JSON vs protobuf and gRPC vs REST (Google's protobuf runtime, msgpack, RFC 7541 C.3/C.4 and the hpack decoder), isolation levels (PostgreSQL's documented behaviour), decision tree (scikit-learn), CORS (300 random cases in Chromium), DNS (zone data read directly), TCP (RFC 9293 states, RFC 6298 timers), TCP vs UDP, load balancing (Erlang C) and ACID. CI installs the Python references and Chromium.
-
Rebuild CORS preflight simulator, checked against Chromium
Details
New model in src/lib/sims/cors.ts following the Fetch Standard: safelisted methods and headers, the preflight request (including the exact Access-Control-Request-Headers value), preflight and response checks, credentials rules, exposed headers and preflight cache lifetime. Compared with Chromium 141 over 500 random request and server combinations against a real server: all matched on preflight, request headers, whether the real request reached the server, fetch success and readable headers. Chromium lets Access-Control-Allow-Headers: * cover Authorization, which the standard forbids; the model follows the standard and the page says so. The old model treated GET and POST as needing Allow-Methods and ignored the Authorization and credentials rules for wildcards.
-
fix cf errors
The same change touched 1 other page.
-
add new sims
The same change touched 7 other pages.
Site-wide changes that also touched this page (7)
Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.
-
Replace the staff byline with AI-drafted and review status
Touched 92 pages.
-
Rewrite site prose in plain language; simulators, homepage, About, footer
Touched 579 pages.
-
add math and history, more content
Touched 183 pages.
-
Update components, cheat sheets, and structure
Touched 444 pages.
-
improve content
Touched 405 pages.
-
update links, content, speed
Touched 268 pages.
-
add more content, fix shares
Touched 319 pages.
What counts as a change to this page
Any saved change to these files, including when they lived in an older folder:
src/routes/simulators/cors-preflight/+page.sveltesrc/lib/sims/cors.tstests/sims/cors.test.ts
The descriptions are the notes written when each change was saved, unedited, so older ones can be short.