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

Unified Diff: chrome/test/data/extensions/api_test/shared_module/import_pass/check.js

Issue 13971005: Basic multi-module support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add browser test Created 7 years, 8 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/shared_module/import_pass/check.js
diff --git a/chrome/test/data/extensions/api_test/shared_module/import_pass/check.js b/chrome/test/data/extensions/api_test/shared_module/import_pass/check.js
new file mode 100644
index 0000000000000000000000000000000000000000..c3f4db6cbdb324f7a3bed682d8b53dceba4a5a56
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/shared_module/import_pass/check.js
@@ -0,0 +1,7 @@
+if (typeof fail_exported != 'undefined')
+ chrome.test.notifyFail('fail.js was unintentionally exported.');
+
+if (typeof pass_exported == 'undefined')
+ chrome.test.notifyFail('pass.js was not exported correctly.');
+
+chrome.test.notifyPass();

Powered by Google App Engine
This is Rietveld 408576698