Skip to content

Commit

Permalink
Update comment about ExecutionContext checking in Body.cpp
Browse files Browse the repository at this point in the history
BUG=480746
R=yhirano

Review URL: https://codereview.chromium.org/1471823007

Cr-Commit-Position: refs/heads/master@{#361661}
  • Loading branch information
tyoshino authored and Commit bot committed Nov 25, 2015
1 parent 4adda6f commit 5d39af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/WebKit/Source/modules/fetch/Body.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ScriptPromise Body::arrayBuffer(ScriptState* scriptState)

// When the main thread sends a V8::TerminateExecution() signal to a worker
// thread, any V8 API on the worker thread starts returning an empty
// handle. This can happen in Body::readAsync. To avoid the situation, we
// handle. This can happen in this function. To avoid the situation, we
// first check the ExecutionContext and return immediately if it's already
// gone (which means that the V8::TerminateExecution() signal has been sent
// to this worker thread).
Expand Down

0 comments on commit 5d39af1

Please sign in to comment.