webFrame: api to make scheme bypass CSP
This commit is contained in:
parent
2ab079dc7d
commit
92ea533aee
3 changed files with 27 additions and 27 deletions
|
@ -54,6 +54,9 @@ class WebFrame : public mate::Wrappable {
|
|||
bool auto_spell_correct_turned_on,
|
||||
v8::Local<v8::Object> provider);
|
||||
|
||||
void RegisterURLSchemeAsSecure(const std::string& scheme);
|
||||
void RegisterURLSchemeAsBypassingCsp(const std::string& scheme);
|
||||
|
||||
// mate::Wrappable:
|
||||
virtual mate::ObjectTemplateBuilder GetObjectTemplateBuilder(
|
||||
v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue