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

Unified Diff: chrome/test/data/extensions/api_test/app_background_page/no_js/bg.html

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 8 years, 9 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/test/data/extensions/api_test/app_background_page/no_js/bg.html
diff --git a/chrome/test/data/extensions/api_test/app_background_page/no_js/bg.html b/chrome/test/data/extensions/api_test/app_background_page/no_js/bg.html
new file mode 100644
index 0000000000000000000000000000000000000000..21e718fb1704d5edec771ff9d87f153f125401f3
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/app_background_page/no_js/bg.html
@@ -0,0 +1,16 @@
+<!--
+ * Copyright (c) 2012 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.
+-->
+<script src="../common/common.js"></script>
+<h1 id="status">Background</h1>
+<div style="display:none" id="pageToScriptTunnel"></div>
+<div style="display:none" id="scriptToPageTunnel"></div>
+
+<script>
+window.onload = function() {
+ setupScriptTunnel();
+ notifyBackgroundPageLoaded();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698