DescriptionPrevent entering XHR methods while loader is being cancelled.
Calling cancel() on DocumentThreadableLoader may results in calling
window.onload synchronously. If open(), send(), etc. are called on the same
XMLHttpRequest object, it'll be hard to resolve conflict of states without
losing spec conformance. This CL avoids that by just disallowing reentrant
and throwing an exception.
BUG=292422
Patch Set 1 #Patch Set 2 : Removed unnecessary stuff #Patch Set 3 : #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|