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

Unified Diff: chrome/browser/resources/pdf/content_script.js

Issue 819983002: OOP PDF: Fix access to chrome://resources in print preview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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 | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/pdf/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/content_script.js
diff --git a/chrome/browser/resources/pdf/content_script.js b/chrome/browser/resources/pdf/content_script.js
new file mode 100644
index 0000000000000000000000000000000000000000..dce77e6fdd71f5906dc3c94d21561ecaff00963c
--- /dev/null
+++ b/chrome/browser/resources/pdf/content_script.js
@@ -0,0 +1,7 @@
+// Copyright 2015 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.
+
+// This is to work-around an issue where this extension is not granted
+// permission to access chrome://resources when iframed for print preview.
+// See https://crbug.com/444752.
« no previous file with comments | « chrome/browser/resources/component_extension_resources.grd ('k') | chrome/browser/resources/pdf/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698