Index: chrome/test/data/extensions/api_test/native_bindings/extension/background.js |
diff --git a/chrome/test/data/extensions/api_test/native_bindings/extension/background.js b/chrome/test/data/extensions/api_test/native_bindings/extension/background.js |
index 7300d5ce864ff5cf3fc4fed448a471ac9192ef3c..ff1f3e326ae4bcb51cd2a96950d3e71ff93d1275 100644 |
--- a/chrome/test/data/extensions/api_test/native_bindings/extension/background.js |
+++ b/chrome/test/data/extensions/api_test/native_bindings/extension/background.js |
@@ -93,7 +93,13 @@ var tests = [ |
chrome.test.assertTrue(!!chrome.cast.streaming.udpTransport); |
chrome.test.assertTrue(!!chrome.cast.streaming.udpTransport.setOptions); |
chrome.test.succeed(); |
- } |
+ }, |
+ function testLastError() { |
+ chrome.runtime.setUninstallURL('chrome://newtab', function() { |
+ chrome.test.assertLastError('Invalid URL: "chrome://newtab".'); |
+ chrome.test.succeed(); |
+ }); |
+ }, |
]; |
chrome.test.getConfig(config => { |