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

Unified Diff: chrome/test/data/extensions/api_test/icons/extension_no_permission/index.js

Issue 10826157: Check for warnings when loading extensions in browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix existing tests Created 8 years, 4 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/icons/extension_no_permission/index.js
diff --git a/chrome/test/data/extensions/api_test/icons/extension_no_permission/index.js b/chrome/test/data/extensions/api_test/icons/extension_no_permission/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..c178ef8ff5b10089ae48555e817ac79bd15fc279
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/icons/extension_no_permission/index.js
@@ -0,0 +1,9 @@
+var img = document.createElement('img');
+img.onload = function() {
+ document.title = 'Loaded';
+};
+img.onerror = function() {
+ document.title = 'Not Loaded';
+};
+img.src = 'chrome://extension-icon/apocjbpjpkghdepdngjlknfpmabcmlao/24/0';
+document.body.appendChild(img);

Powered by Google App Engine
This is Rietveld 408576698