• Patricia Lor's avatar
    MD Settings: Show default settings in the drop-down menu in Site Details. · 3dd6dab7
    Patricia Lor authored
    The Site Details page currently only shows two options in the drop-down menu
    for each permission, 'Allow' and 'Block'. This change adds a third option to the
    list, which shows the default option, similar to the Page Info bubble.
    
    The "Site Details" page that opens should show matching permissions to those
    seen in the Page Info bubble, including the defaults - e.g. Javascript should be
    "Allow (default)", Popups should be "Block (default)", and Camera should be
    "Ask (default)". Navigating to chrome:settings/content/camera and toggling the
    "Ask before accessing (recommended)" option should then make the Site Details
    page for for https://permission.site show "Block (default)" next to the Camera
    permission.
    
    Bug: 656758
    Change-Id: I74cd332c44d8fcb1ab5c700e4fa394ce74fe973b
    Test: With the #enable-site-details flag turned on, navigate to
    https: //permission.site, open the Page Info bubble, and click "Site settings".
    Reviewed-on: https://chromium-review.googlesource.com/558541
    Commit-Queue: Patti <patricialor@chromium.org>
    Reviewed-by: default avatarDave Schuyler <dschuyler@chromium.org>
    Reviewed-by: default avatarcalamity <calamity@chromium.org>
    Reviewed-by: default avatarRaymes Khoury <raymes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#488086}
    3dd6dab7
settings_strings.grdp 199 KB