Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
index eeb0e03da41697b3cc3dd9eea3f5e9cd4f63ddb0..2acc9136de2d0d74e8ae2fbf4c6101449a49cedf 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
@@ -469,7 +469,7 @@ SDK.ChildTargetManager = class {
*/
_capabilitiesForType(type) {
if (type === 'worker')
- return SDK.Target.Capability.JS | SDK.Target.Capability.Log;
+ return SDK.Target.Capability.JS | SDK.Target.Capability.Log | SDK.Target.Capability.Network;
if (type === 'service_worker')
return SDK.Target.Capability.Log | SDK.Target.Capability.Network | SDK.Target.Capability.Target;
if (type === 'iframe') {

Powered by Google App Engine
This is Rietveld 408576698