Add webFrame.setIsolatedWorldContentSecurityPolicy
This commit is contained in:
parent
936d8c1117
commit
f74f113d23
2 changed files with 13 additions and 1 deletions
|
@ -78,6 +78,9 @@ class WebFrame : public mate::Wrappable<WebFrame> {
|
|||
const base::string16& code,
|
||||
mate::Arguments* args);
|
||||
|
||||
void SetIsolatedWorldContentSecurityPolicy(int world_id,
|
||||
const std::string& security_policy);
|
||||
|
||||
// Resource related methods
|
||||
blink::WebCache::ResourceTypeStats GetResourceUsage(v8::Isolate* isolate);
|
||||
void ClearCache(v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue