Split cache: Null checks for DedicatedWorkerHost::CreateNetworkFactory.
We add DCHECKs to CreateNetworkFactory(...) for PlzDedicatedWorker to ensure that the render frame host exists, in order to help de-flake the following webkit_layout_test: virtual/omt-worker-fetch/external/wpt/fetch/api/request/destination/ fetch-destination-worker.https.html We also change the erroring out and early return in DidStartScriptLoad(...) before the call to CreateNetworkFactory(...) to the condition when |ancestor_render_frame_host| is null, rather than merely when |worker_process_host| is null. Bug: 910713 Change-Id: I471e6393392423fce736a0ef16442222629ca613 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699379 Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:
Shivani Sharma <shivanisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#680111}
Showing
Please register or sign in to comment