Set WorkerInspectorController::url_ to GlobalScopeCreationParams::script_url
To avoid ExecutionContext::Url() calls during worker initialization. Ideally, the URL should be the response URL of the worker top-level script, but in off-the-main-thread worker top-level script fetch cases, it isn't available at the time of WorkerInspectorController ctor that immediately uses the |url_|. Therefore this CL uses |script_url| (which is the request URL of the worker top-level script in off-the-main-thread worker top-level script fetch) and leave the issue tracked by Issue 866666. Bug: 861564, 866666 Change-Id: I5ccae99996871558762e8a76b141352e17b57216 Reviewed-on: https://chromium-review.googlesource.com/c/1478458 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#633873}
Showing
Please register or sign in to comment