[Bug 20322] Document the force preflight flag

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20322

--- Comment #11 from Anne <annevk@annevk.nl> ---
x.open("POST", "...")
x.send("test")

should not send a preflight and should not allow for late registration of
upload event listeners.

x.open("POST", "...")
x.setRequestHeader("test", "test")
x.send("test")

should send a preflight and should probably allow for late registration of
upload event listeners therefore.

So I guess what we want is keep track in Fetch of whether a preflight happened
and if a preflight happened we dispatch events and otherwise we do not.

(It's also somewhat icky we look for event listeners for a certain event name
here but there's no API to do that in the platform. We should maybe define some
kind of hook...)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 18 November 2013 14:14:08 UTC