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

Unified Diff: chrome/browser/resources/net_internals/help.js

Issue 7455005: Apply content-security-policy to chrome://net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: chrome/browser/resources/net_internals/help.js
===================================================================
--- chrome/browser/resources/net_internals/help.js (revision 0)
+++ chrome/browser/resources/net_internals/help.js (revision 0)
@@ -0,0 +1,8 @@
+// Copyright (c) 2011 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.
+
+document.addEventListener("DOMContentLoaded", function () {
Evan Stade 2011/07/20 01:36:16 always use single quotes in js
Tom Sepez 2011/07/25 16:59:13 Done.
Tom Sepez 2011/07/25 16:59:13 Done.
+ document.getElementById("popup-close-button").addEventListener(
+ "click", window.close.bind(window));
+});
Property changes on: chrome/browser/resources/net_internals/help.js
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698