Chromium Code Reviews| 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..8ad81dc3bf8e97b80bf2e679315096f906ac4b3e |
| --- /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']), |
|
Devlin
2016/12/15 00:04:10
nit: This wrapping looks a bit weird. Maybe
windo
lazyboy
2016/12/15 08:02:35
Done.
|
| + '*'); |
| +}; |