Index: chrome/test/data/extensions/api_test/sandboxed_pages_csp/local_frame.js |
diff --git a/chrome/test/data/extensions/api_test/sandboxed_pages_csp/local_frame.js b/chrome/test/data/extensions/api_test/sandboxed_pages_csp/local_frame.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c93e472e01d87c30e542e135d13c0b800faa48d |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/sandboxed_pages_csp/local_frame.js |
@@ -0,0 +1,8 @@ |
+// Copyright 2016 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. |
+ |
+window.onload = function() { |
+ window.parent.postMessage( |
+ JSON.stringify(['loaded', 'local_frame.html']), '*'); |
+}; |