Remove dependency from WorkerThreadDebugger to global scope's Url()
Previously, WorkerThreadDebugger::ContextCreated() sets V8ContextInfo using global scope's Url(). However, After [1] Url() can be null when the global scope is created and thus ContextCreated() can't use Url(). This CL uses |GlobalScopeCreationParams::script_url| instead. This CL shouldn't change the behavior, because currently global scope's Url() is equal to |GlobalScopeCreationParams::script_url|. [1] https://chromium-review.googlesource.com/1139074 Bug: 866666, 861564 Change-Id: Ic19a87d77c4b01d3f850e51ce734dae11e1b4e44 Reviewed-on: https://chromium-review.googlesource.com/1139052Reviewed-by:Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#579702}
Showing
Please register or sign in to comment