Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Re-block running insecure content #3808

Merged
merged 4 commits into from
Sep 9, 2016
Merged

Re-block running insecure content #3808

merged 4 commits into from
Sep 9, 2016

Commits on Sep 8, 2016

  1. 1. Add an option to re-block running insecure content

    2. Re-block running insecure content when frame closed
    
    fix brave#3770
    
    Auditors: @diracdeltas
    
    Test Plan:
    For re-block option:
    1. Go to `https://mixed-script.badssl.com/`
    2. Click urlIcon and click `Load Unsafe Scripts`
    3. Background should be red
    4. Click urlIcon and click `Stop Loading Unsafe Scripts`
    5. Background should be grey
    
    For re-blocked on frame closed
    1. Go to `https://mixed-script.badssl.com/`
    2. Click urlIcon and click `Load Unsafe Scripts`
    3. Background should be red
    4. Close tab
    5. Go to `https://mixed-script.badssl.com/` on new tab again
    6. Background should be grey
    darkdh committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    84c37d7 View commit details
    Browse the repository at this point in the history
  2. Update display message

    darkdh committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    138692c View commit details
    Browse the repository at this point in the history
  3. Limit the effect of running insecure content in regular/private frame…

    … scope
    
    fix brave#3793
    
    Auditors: @diracdeltas
    
    Test Plan:
    For regular frame:
    1. Go to https://mixed-script.badssl.com
    2. Click urlIcon and click Load Unsafe Scripts
    3. Background should be red
    4. Go to https://mixed-script.badssl.com by regular new tab
    5. Background should be grey
    6. Go to https://mixed-script.badssl.com by private new tab
    7. Background should be grey
    
    For private frame:
    1. Go to https://mixed-script.badssl.com by private tab
    2. Click urlIcon and click Load Unsafe Scripts
    3. Background should be red
    4. Go to https://mixed-script.badssl.com by regular new tab
    5. Background should be grey
    6. Go to https://mixed-script.badssl.com by private new tab
    7. Background should be grey
    darkdh committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    8db6933 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2016

  1. Configuration menu
    Copy the full SHA
    7aded75 View commit details
    Browse the repository at this point in the history