Allow CefV8Context::Eval to bypass CSP (issue #2024)

This commit is contained in:
Marshall Greenblatt
2016-10-27 12:34:19 -04:00
parent f7a4102978
commit 0e97c527ae
14 changed files with 274 additions and 52 deletions

View File

@ -38,7 +38,8 @@ class CefV8ContextCToCpp
bool Enter() OVERRIDE;
bool Exit() OVERRIDE;
bool IsSame(CefRefPtr<CefV8Context> that) OVERRIDE;
bool Eval(const CefString& code, CefRefPtr<CefV8Value>& retval,
bool Eval(const CefString& code, const CefString& script_url, int start_line,
CefRefPtr<CefV8Value>& retval,
CefRefPtr<CefV8Exception>& exception) OVERRIDE;
};