mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 12:01:40 +08:00
This CL removes 'unsafe-inline' from the DevTools CSP to help tighten CSP. Bug: 1259386 Change-Id: I996d74c1a122774fb084e45f6706169a869ee0d0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3218274 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
21 lines
703 B
HTML
21 lines
703 B
HTML
<!--
|
|
* Copyright 2018 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 lang="en">
|
|
<meta charset="utf-8">
|
|
<title>DevTools</title>
|
|
<style>
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: rgb(41 42 45);
|
|
}
|
|
}
|
|
</style>
|
|
<meta http-equiv="Content-Security-Policy" content="object-src 'none'; script-src 'self' 'unsafe-eval' https://chrome-devtools-frontend.appspot.com">
|
|
<meta name="referrer" content="no-referrer">
|
|
<script type="module" src="./entrypoints/%ENTRYPOINT_NAME%/%ENTRYPOINT_NAME%.js"></script>
|
|
<body class="undocked" id="-blink-dev-tools">
|