Index: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
index e0e519f528e9fc9f92f4878fde985640f16c5d51..ebfcb1feb6d6ac7017e75158ed000ff4e0d40de0 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
@@ -96,11 +96,6 @@ SDK.RuntimeModel = class extends SDK.SDKModel { |
* @param {!Protocol.Runtime.ExecutionContextDescription} context |
*/ |
_executionContextCreated(context) { |
- // The private script context should be hidden behind an experiment. |
- if (context.name === SDK.RuntimeModel._privateScript && !context.origin && |
- !Runtime.experiments.isEnabled('privateScriptInspection')) |
- return; |
- |
var data = context.auxData || {isDefault: true}; |
var executionContext = new SDK.ExecutionContext( |
this.target(), context.id, context.name, context.origin, data['isDefault'], data['frameId']); |
@@ -336,8 +331,6 @@ SDK.RuntimeModel.Events = { |
ExecutionContextOrderChanged: Symbol('ExecutionContextOrderChanged') |
}; |
-SDK.RuntimeModel._privateScript = 'private script'; |
- |
/** |
* @implements {Protocol.RuntimeDispatcher} |
* @unrestricted |