| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index c3c1255d3fa852b828ee250deda72b137d0aff8b..81f925078718e57f48a221dbcb0b7b9c37cb5ffa 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -504,6 +504,8 @@ bool {{v8_class}}::{{method.name}}MethodImplementedInPrivateScript({{method.argu
|
| {
|
| if (!frame)
|
| return false;
|
| + v8::HandleScope handleScope(toIsolate(frame));
|
| + ScriptForbiddenScope::AllowUserAgentScript script;
|
| v8::Handle<v8::Context> context = toV8Context(frame, DOMWrapperWorld::privateScriptIsolatedWorld());
|
| if (context.IsEmpty())
|
| return false;
|
|
|