| Index: Source/bindings/tests/results/V8TestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp
|
| index b5d2a151600dd4731a18103a66563efc9c352dc6..b75e5fdabd55a06ecfed9a629f74473e3206ba6b 100644
|
| --- a/Source/bindings/tests/results/V8TestInterface.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterface.cpp
|
| @@ -1831,7 +1831,7 @@ void V8TestInterface::installConditionallyEnabledMethods(v8::Handle<v8::Object>
|
| if (context && (context->isDocument())) {
|
| prototypeObject->Set(v8AtomicString(isolate, "windowExposedStaticMethod"), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::windowExposedStaticMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction());
|
| }
|
| - if (context && (context->isServiceWorkerGlobalScope() || context->isDocument())) {
|
| + if (context && (context->isDocument() || context->isServiceWorkerGlobalScope())) {
|
| prototypeObject->Set(v8AtomicString(isolate, "windowAndServiceWorkerExposedMethod"), v8::FunctionTemplate::New(isolate, TestInterfaceImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, v8Undefined(), defaultSignature, 0)->GetFunction());
|
| }
|
| if (context && context->isDocument() && ContextFeatures::partialContextNameEnabled(toDocument(context))) {
|
|
|