Direct Sockets: ensure script context valid before reading
If the script context is not valid during an attempted read, we exit early. This avoids crashes, for example, if navigation or page refresh occurs while a read is pending. Bug: 905818 Change-Id: I1cf2e44eabb6ce35864c3a95e5930ae15c2cc49e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612231Reviewed-by:Glen Robertson <glenrob@chromium.org> Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Cr-Commit-Position: refs/heads/master@{#840514}
Showing
Please register or sign in to comment