DescriptionRestrict chrome.runtime.setUninstallURL to http(s)
Disallow URLs other than http(s) in chrome.runtime.setUninstallURL.
And allow empty URLs to be set to clear the uninstallation URL.
Added an optional callback, to know when setting the URL finished (or
failed).
BUG=518827
TEST=browser_tests --gtest_filter=ExtensionApiTest.ChromeRuntimeUninstallURL
R=kalman@chromium.org
Committed: https://crrev.com/28fc5b095a1d19eb104a76a08d55292831dce9fa
Cr-Commit-Position: refs/heads/master@{#342752}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Small cleanup #
Messages
Total messages: 7 (2 generated)
|