OLD | NEW |
1 <!-- | 1 <!-- |
2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 --> | 5 --> |
6 <!doctype html> | 6 <!doctype html> |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <meta http-equiv="content-type" content="text/html; charset=utf-8"> | 9 <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
10 <meta http-equiv="Content-Security-Policy" content="object-src 'none'; scrip
t-src 'self' 'unsafe-eval' 'unsafe-inline'"> | 10 <meta http-equiv="Content-Security-Policy" content="object-src 'none'; scrip
t-src 'self' 'unsafe-eval' 'unsafe-inline'"> |
11 <link rel="stylesheet" type="text/css" href="devtools.css"> | 11 <link rel="stylesheet" type="text/css" href="devtools.css"> |
12 <script type="text/javascript" src="Runtime.js"></script> | 12 <script type="text/javascript" src="Runtime.js"></script> |
13 <script type="text/javascript" src="devtools.js"></script> | 13 <script type="text/javascript" src="devtools.js"></script> |
14 </head> | 14 </head> |
15 <body class="undocked" id="-blink-dev-tools"> | 15 <body class="undocked" id="-blink-dev-tools"> |
16 <script> | 16 <script> |
17 document.write("<iframe class='inspector-app-iframe' src='inspector.html" + wind
ow.location.search + "'></iframe>"); | 17 (function() { |
| 18 var remoteFrontendUrl = Runtime.queryParam("remoteFrontendUrl"); |
| 19 var src = remoteFrontendUrl |
| 20 ? decodeURIComponent(remoteFrontendUrl) + Runtime.constructQueryParams([
"remoteFrontendUrl"]) |
| 21 : "inspector.html" + window.location.search; |
| 22 document.write("<iframe class='inspector-app-iframe' src='" + src + "'></ifr
ame>"); |
| 23 })(); |
18 </script> | 24 </script> |
19 </body> | 25 </body> |
20 </html> | 26 </html> |
OLD | NEW |