DescriptionImprove the UI for disabling off-store extension install.
Move the check later into install so that:
1) The download bar goes away.
2) There's an error message.
3) The same thing happens when double-clicking a crx, on systems that associate crx with Chrome.
Also, made themes exempt from this policy since there is no danger in installing a theme. This left themes with a dangerous download bar that said 'Installing extensions, themes, and apps can harm your computer', which isn't even true for themes. It was only there to protect against clickjacking. Removed that and replaced with standard install dialog.
Had to update a bunch of strings.
BUG=55584
TEST=Run chrome with --enable-off-store-extension-install=0, navigate to a crx file. Should see error dialog.
TBR=sky
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139217
Patch Set 1 #
Total comments: 2
Patch Set 2 : moar better #
Total comments: 10
Patch Set 3 : blech #Patch Set 4 : derp #
Total comments: 2
Patch Set 5 : addressed comments, fixed tests #Messages
Total messages: 10 (0 generated)
|