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

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

Issue 2576753002: Remove some more private script related things (Closed)
Patch Set: Created 4 years 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/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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/main/Main.js ('k') | third_party/WebKit/public/blink_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698