commit | 28fc5b095a1d19eb104a76a08d55292831dce9fa | [log] [tgz] |
---|---|---|
author | rob <rob@robwu.nl> | Tue Aug 11 00:27:36 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 11 00:28:31 2015 |
tree | bc434ff450884252b4f632c04b53bbdcb004fd9d | |
parent | 201a39e76bad1ff2355f907c32d314f072b8439a [diff] |
Restrict 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 Review URL: https://codereview.chromium.org/1282263002 Cr-Commit-Position: refs/heads/master@{#342752}