IsolatedWorldCSP: Correct early return check in SetIsolatedWorldInfo.
r672618 added an early return to TestRunnerForSpecificView::SetIsolatedWorldInfo to check for an incorrect world id. This CL corrects that check. This helps prevent a CHECK failure when a fuzzer provides invalid input. BUG=977801 Change-Id: I62e53fdc2854c7e8c5c6500a765af08ba12b1635 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688255 Auto-Submit: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#676169}
Showing
Please register or sign in to comment