Reviewers: tyoshino, domenic
CL:
https://codereview.chromium.org/2006803006/Description:
[Fetch API] Do not call v8 Extra script when the worker is terminating
ReadableStreamOperations assumes v8 Extra scripts cannot return an empty
handle but that assumption breaks when the worker is terminating. This CL
some early returns to avoid such issues.
This change is a workaround and should be reverted once the graceful
shutdown mechanism is introduced.
BUG=614272
Base URL:
https://chromium.googlesource.com/chromium/src.git@masterAffected files (+187, -27 lines):
M third_party/WebKit/Source/core/streams/ReadableStreamController.h
M third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
M third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp