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

Unified Diff: tests/js/polyfills/runtime.polyfill.test.js

Issue 1644913002: Caterpillar now generates app.info.js, a metadata script. Resolves #12. (Closed) Base URL: git@github.com:chromium/caterpillar.git@dependency-script-injection
Patch Set: Response to CR + whitespace fix Created 4 years, 11 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: tests/js/polyfills/runtime.polyfill.test.js
diff --git a/tests/js/polyfills/runtime.polyfill.test.js b/tests/js/polyfills/runtime.polyfill.test.js
index caccaab0e40c9a0bf13e9c538680ac4e5326d3b1..9918e1b044ecd0d72db3896653e04d8c3c0c1b1b 100644
--- a/tests/js/polyfills/runtime.polyfill.test.js
+++ b/tests/js/polyfills/runtime.polyfill.test.js
@@ -105,3 +105,8 @@ QUnit.test('getPlatformInfo gets info', function (assert) {
QUnit.test('getPackageDirectoryEntry not implemented', function(assert) {
assert.throws(chrome.runtime.getPackageDirectoryEntry, 'not implemented');
});
+
+// Test that id is null.
+QUnit.test('id correct', function(assert) {
+ assert.strictEqual(chrome.runtime.id, null);
+});

Powered by Google App Engine
This is Rietveld 408576698