Commit 6414a153 authored by adithyas's avatar adithyas Committed by Commit bot

Remove some more private script related things

I missed out on removing a few things in http://crrev.com/2571063002, which I've cleaned up here.

BUG=673844

Review-Url: https://codereview.chromium.org/2576753002
Cr-Commit-Position: refs/heads/master@{#439011}
parent f6fddd7f
......@@ -607,9 +607,6 @@ const DataResource kDataResources[] = {
{"InspectorOverlayPage.html",
IDR_INSPECTOR_OVERLAY_PAGE_HTML,
ui::SCALE_FACTOR_NONE},
{"DocumentExecCommand.js",
IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS,
ui::SCALE_FACTOR_NONE},
{"DocumentXMLTreeViewer.css",
IDR_DOCUMENTXMLTREEVIEWER_CSS,
ui::SCALE_FACTOR_NONE},
......
<!DOCTYPE html>
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<img name="privateScriptController">
<marquee></marquee>
<div>
Test that a named property doesn't interfere with a private script (https://crbug.com/668552).
If the test is successful, it should not crash.
</div>
</body>
</html>
......@@ -30,7 +30,6 @@ class ScriptWrappable;
X(MessageEvent, CachedData) \
X(MutationObserver, Callback) \
X(PerformanceObserver, Callback) \
X(PrivateScriptRunner, IsInitialized) \
X(SameObject, NotificationActions) \
X(SameObject, NotificationData) \
X(SameObject, NotificationVibrate) \
......
/**
* This is a placeholder to create the
* IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS resource.
*
* It will be replaced by a complete file in:
* https://codereview.chromium.org/530663002/
*/
......@@ -66,7 +66,6 @@ class Location;
class Node;
class OriginTrialsTest;
class Page;
class PrivateScriptTest;
class Range;
class SerializedScriptValue;
class ShadowRoot;
......@@ -379,7 +378,6 @@ class Internals final : public GarbageCollected<Internals>,
const String& scheme);
TypeConversions* typeConversions() const;
PrivateScriptTest* privateScriptTest() const;
DictionaryTest* dictionaryTest() const;
UnionTypesTest* unionTypesTest() const;
OriginTrialsTest* originTrialsTest() const;
......
......@@ -105,7 +105,6 @@ Main.Main = class {
Runtime.experiments.register('nodeDebugging', 'Node debugging', true);
Runtime.experiments.register('persistence2', 'Persistence 2.0');
Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings');
Runtime.experiments.register('privateScriptInspection', 'Private script inspection');
Runtime.experiments.register('requestBlocking', 'Request blocking', true);
Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Timeline', true);
Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
......
......@@ -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
......
......@@ -31,7 +31,6 @@
<include name="IDR_UASTYLE_VIEWPORT_TELEVISION_CSS" file="../Source/core/css/viewportTelevision.css" type="BINDATA"/>
<include name="IDR_INSPECTOR_OVERLAY_PAGE_HTML" file="../Source/core/inspector/InspectorOverlayPage.html" type="BINDATA"/>
<include name="IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS" file="../Source/core/editing/js/DocumentExecCommand.js" type="BINDATA"/>
<include name="IDR_DOCUMENTXMLTREEVIEWER_CSS" file="../Source/core/xml/DocumentXMLTreeViewer.css" type="BINDATA"/>
<include name="IDR_DOCUMENTXMLTREEVIEWER_JS" file="../Source/core/xml/DocumentXMLTreeViewer.js" type="BINDATA"/>
<if expr="not is_android">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment