Chromium Code Reviews| Index: chrome/common/extensions/manifest_handlers/app_launch_info.cc |
| diff --git a/chrome/common/extensions/manifest_handlers/app_launch_info.cc b/chrome/common/extensions/manifest_handlers/app_launch_info.cc |
| index a3b3ac592ec71d3c5f689684d6e9aa0838d37d78..0d1530f10a3bd85e5c10314b1f21c81547b586b0 100644 |
| --- a/chrome/common/extensions/manifest_handlers/app_launch_info.cc |
| +++ b/chrome/common/extensions/manifest_handlers/app_launch_info.cc |
| @@ -177,7 +177,10 @@ bool AppLaunchInfo::LoadLaunchURL(Extension* extension, base::string16* error) { |
| } |
| // If there is no extent, we default the extent based on the launch URL. |
| - if (extension->web_extent().is_empty() && !launch_web_url_.is_empty()) { |
| + // Bookmark apps are permissionless and shouldn't be restricted by overlapping |
| + // extents. |
|
benwells
2014/01/21 22:42:13
Isn't this from another change, and no longer need
calamity
2014/01/24 06:06:13
My bad, branch management. Removed.
|
| + if (extension->web_extent().is_empty() && !launch_web_url_.is_empty() && |
| + !extension->from_bookmark()) { |
| URLPattern pattern(Extension::kValidWebExtentSchemes); |
| if (!pattern.SetScheme("*")) { |
| *error = ErrorUtils::FormatErrorMessageUTF16( |