Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent loading brave scheme url from javascript #1196

Merged
merged 2 commits into from
Jan 8, 2019

Commits on Jan 8, 2019

  1. Prevent loading brave scheme url from javascript

    To fix this, brave scheme is registered to WebSecurityPolicy and
    RequestScheme of ChildProcessSecurityPolicy::SecurityState.
    Also, makes ProfileIOData::IsHandledProtocol consider brave scheme.
    simonhong committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    dc1c492 View commit details
    Browse the repository at this point in the history
  2. Use chrome scheme for loading brave webui in brave webui

    As brave scheme can be loaded only from brave scheme,
    it should use chrome scheme instead of brave scheme in anchor tag..
    Otherwise, that brave webui loading is prevented in brave webui from renderer.
    simonhong committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    061aca7 View commit details
    Browse the repository at this point in the history