Add WebRTCIPPolicy setting to webContents and webview
authorJohn Kleinschmidt <kleinschmidtorama@gmail.com>
Wed, 8 Mar 2017 14:55:59 +0000 (09:55 -0500)
committerJohn Kleinschmidt <kleinschmidtorama@gmail.com>
Wed, 8 Mar 2017 15:15:48 +0000 (10:15 -0500)
commit1c2a78a896ba662d401ae636e7eeba653e56e0a1
treebdc1dc818b9c0239f7f3a570a7a38fb9ba1f679d
parent4f817873f19d236be91917dd6ce0a0f5cb00facd
Add WebRTCIPPolicy setting to webContents and webview

Resolves #8777
Code to set and get the policy come from the muon framework code:
https://github.com/brave/muon/blob/master/atom/browser/api/atom_api_web_
contents.cc#L1324...L1343
atom/browser/api/atom_api_web_contents.cc
atom/browser/api/atom_api_web_contents.h
docs/api/web-contents.md
docs/api/webview-tag.md
lib/browser/guest-view-manager.js
lib/renderer/web-view/web-view-attributes.js
lib/renderer/web-view/web-view-constants.js