DescriptionXMLHttpRequest::overrideMimeType should throw InvalidStateError
Before this CL, XMLHttpRequest accepted |overrideMimeType| regardless
of its state. This is not conformant to the current spec:
http://www.w3.org/TR/XMLHttpRequest2/#the-overridemimetype-method
This CL changes it to throw InvalidStateError when the state
is LOADING or DONE, which aligns to the spec.
BUG=402375
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180440
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180519
Patch Set 1 #Patch Set 2 : change cond #Patch Set 3 : add tests #
Total comments: 6
Patch Set 4 : tyoshino-san review #
Messages
Total messages: 15 (0 generated)
|