| Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| index 1da29b93db0bba4a73359ff5283ee8120efff48d..de1ceda9ada0601dab31484c5a3a3162797ee512 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js
|
| @@ -54,7 +54,7 @@ WebInspector.ConsoleContextSelector.prototype = {
|
| {
|
| // FIXME(413886): We never want to show execution context for the main thread of shadow page in service/shared worker frontend.
|
| // This check could be removed once we do not send this context to frontend.
|
| - if (executionContext.target().isServiceWorker())
|
| + if (!executionContext.target().hasJSCapability())
|
| return;
|
|
|
| var newOption = createElement("option");
|
|
|