diff options
author | penghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 17:45:08 +0000 |
---|---|---|
committer | penghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-22 17:45:08 +0000 |
commit | a34f6ad39b9bb1cddafa5b1f60b7771299a99605 (patch) | |
tree | e8504d03a032a3fa8c4dfbadfad6c7186c1d542d /skia | |
parent | 1ca0ded020fb744164d03d1af7894c8512dda314 (diff) | |
download | chromium_src-a34f6ad39b9bb1cddafa5b1f60b7771299a99605.zip chromium_src-a34f6ad39b9bb1cddafa5b1f60b7771299a99605.tar.gz chromium_src-a34f6ad39b9bb1cddafa5b1f60b7771299a99605.tar.bz2 |
Do not update the geolocation permission for local pages
When chrome is launched with --disable-web-security and a local
page tries to use the geolocation api, the chrome browser will ask
permssion from user and then will update geolocation permission for
the local page with URL file:///. But the file:/// is not a valid
ContentSettingsPattern. It will cause crash in debug build. This change
fixes the crash.
BUG=171323
Review URL: https://chromiumcodereview.appspot.com/12033015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions