CORS request is preflighted, but it seems like it should not be

I ended up checking out the Webkit source code in an attempt to figure this out (after Google did not yield any helpful hits). It turns out that Webkit will force any cross-origin request to be preflighted simply if you register an onprogress event handler. I’m not entirely sure, even after reading the code comments, … Read more

xmlhttprequest for local files

Historically, you can’t query for local files from JavaScript (or shouldn’t be allowed to, or something’s odd). This would be a serious breach of security. There are only a few circumstances where you can do this, but in general they involve specific security settings requiring to be set for your browser, to either lift the … Read more