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

Unified Diff: Source/devtools/front_end/devtools.html

Issue 1157733004: [DevTools] Cleanup frontend-in-iframe support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/devtools.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/devtools.html
diff --git a/Source/devtools/front_end/devtools.html b/Source/devtools/front_end/devtools.html
deleted file mode 100644
index b15d114db3be888889fe5db370ad68cfccc96d73..0000000000000000000000000000000000000000
--- a/Source/devtools/front_end/devtools.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!--
- * Copyright 2014 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
--->
-<!doctype html>
-<html>
-<head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta http-equiv="Content-Security-Policy" content="object-src 'none'; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://chrome-devtools-frontend.appspot.com">
- <style>
- html {
- height: 100%;
- overflow: hidden;
- }
- .fill {
- position: absolute;
- width: 100%;
- height: 100%;
- overflow: hidden;
- border: 0;
- margin: 0;
- }
- </style>
- <script type="text/javascript" src="devtools.js"></script>
-</head>
-<body class="fill undocked" id="-blink-dev-tools">
-<script>
-(function() {
- var _queryParamsObject = { __proto__: null };
-
- (function parseQueryParameters()
- {
- var queryParams = location.search;
- if (!queryParams)
- return;
- var params = queryParams.substring(1).split("&");
- for (var i = 0; i < params.length; ++i) {
- var pair = params[i].split("=");
- var name = pair.shift();
- _queryParamsObject[name] = pair.join("=");
- }
- })();
-
- function constructQueryParams(banned)
- {
- var params = [];
- for (var key in _queryParamsObject) {
- if (!key || banned.indexOf(key) !== -1)
- continue;
- params.push(key + "=" + _queryParamsObject[key]);
- }
- return params.length ? "?" + params.join("&") : "";
- }
-
- var remoteFrontendUrl = _queryParamsObject["remoteFrontendUrl"];
- var src = remoteFrontendUrl
- ? decodeURIComponent(remoteFrontendUrl) + constructQueryParams(["remoteFrontendUrl"])
- : "inspector.html" + window.location.search;
- document.write("<iframe id='inspector-app-iframe' class='fill' src='" + src + "'></iframe>");
-})();
-</script>
-</body>
-</html>
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/devtools.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698