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

Add webview event for security state changes #90

Merged
merged 1 commit into from
Nov 9, 2016

Conversation

diracdeltas
Copy link
Member

diracdeltas added a commit to brave/browser-laptop that referenced this pull request Nov 9, 2016
Requires brave/muon#90
Fix #5238

Auditors: @bsclifton @darkdh

Test Plan:
1. go to http://dev.ruby.sh/bpoc.html and it should not show up as secure

TODO: add automated test for the hackerone issue
diracdeltas added a commit to brave/browser-laptop that referenced this pull request Nov 9, 2016
Requires brave/muon#90
Fix #5238

Auditors: @bsclifton @darkdh

Test Plan:
1. go to http://dev.ruby.sh/bpoc.html and it should not show up as secure

TODO: add automated test for the hackerone issue
void WebContents::SecurityStyleChanged(
content::SecurityStyle security_style,
const content::SecurityStyleExplanations& explanations) {
std::string type = "unknown";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging but see template<> struct Converter<atom::api::WebContents::Type> at the top of this file for converting between C++ types and JS for node apis

@bridiver bridiver merged commit ae582d5 into master Nov 9, 2016
@bridiver
Copy link
Collaborator

bridiver commented Nov 9, 2016

++

@diracdeltas
Copy link
Member Author

yup, i named it to be consistent with the did-navigate events but i can change it to security-style-changed after this release

@bsclifton bsclifton deleted the feature/security-state branch June 18, 2018 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants