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..06734dfe867b9ad950d9ce05b1e9a7b61c4d9762 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 correctly read out of the app info script. |
+QUnit.test('id correct', function(assert) { |
+ assert.strictEqual(chrome.runtime.id, '123'); |
+}); |