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

Unified Diff: chrome/test/data/extensions/api_test/browser_action/popup_with_iframe/popup.js

Issue 1478863002: Handle cross-process transfers properly in ExtensionViewHost::OpenURLFromTab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isolate-extensions-OpenURLFromTab
Patch Set: Add test Created 5 years 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/browser_action/popup_with_iframe/popup.js
diff --git a/chrome/test/data/extensions/api_test/browser_action/popup_with_iframe/popup.js b/chrome/test/data/extensions/api_test/browser_action/popup_with_iframe/popup.js
new file mode 100644
index 0000000000000000000000000000000000000000..151bab832fbe733a58cbd27ff1918114cecd0efa
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/browser_action/popup_with_iframe/popup.js
@@ -0,0 +1,7 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
Devlin 2015/12/01 17:40:17 no (c)
alexmos 2015/12/01 18:09:57 I started out without (c), but that gave me this p
Devlin 2015/12/01 19:59:23 Hmm.... it shouldn't have, even according to that
alexmos 2015/12/01 20:59:07 Ah, you're right. I must've screwed something els
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+window.addEventListener("load", function() {
Devlin 2015/12/01 17:40:17 nit: prefer single quotes.
alexmos 2015/12/01 18:09:57 Done.
+ chrome.test.notifyPass();
+}, false);

Powered by Google App Engine
This is Rietveld 408576698