Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
index 6529e4d816f21162eebd188006697053289769bf..024a48b73bc87fbaa01b7f075e3debb5116ffa54 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
@@ -68,11 +68,11 @@ static void testInterfaceAttributeAttributeGetter(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -85,11 +85,11 @@ static void testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCall |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::testInterfaceAttributeAttributeGetter(info); |
} |
@@ -120,11 +120,11 @@ static void doubleAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Va |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -136,11 +136,11 @@ static void doubleAttributeAttributeGetterCallback(const v8::FunctionCallbackInf |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::doubleAttributeAttributeGetter(info); |
} |
@@ -167,11 +167,11 @@ static void floatAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Val |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -183,11 +183,11 @@ static void floatAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::floatAttributeAttributeGetter(info); |
} |
@@ -214,11 +214,11 @@ static void unrestrictedDoubleAttributeAttributeGetter(const v8::FunctionCallbac |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -230,11 +230,11 @@ static void unrestrictedDoubleAttributeAttributeGetterCallback(const v8::Functio |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::unrestrictedDoubleAttributeAttributeGetter(info); |
} |
@@ -261,11 +261,11 @@ static void unrestrictedFloatAttributeAttributeGetter(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -277,11 +277,11 @@ static void unrestrictedFloatAttributeAttributeGetterCallback(const v8::Function |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::unrestrictedFloatAttributeAttributeGetter(info); |
} |
@@ -308,11 +308,11 @@ static void testEnumAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8:: |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -324,11 +324,11 @@ static void testEnumAttributeAttributeGetterCallback(const v8::FunctionCallbackI |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::testEnumAttributeAttributeGetter(info); |
} |
@@ -365,11 +365,11 @@ static void stringOrDoubleAttributeAttributeGetter(const v8::FunctionCallbackInf |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -383,11 +383,11 @@ static void stringOrDoubleAttributeAttributeGetterCallback(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::stringOrDoubleAttributeAttributeGetter(info); |
} |
@@ -415,11 +415,11 @@ static void conditionalLongAttributeAttributeGetter(const v8::FunctionCallbackIn |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -431,11 +431,11 @@ static void conditionalLongAttributeAttributeGetterCallback(const v8::FunctionCa |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::conditionalLongAttributeAttributeGetter(info); |
} |
@@ -462,11 +462,11 @@ static void conditionalReadOnlyLongAttributeAttributeGetter(const v8::FunctionCa |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -478,11 +478,11 @@ static void conditionalReadOnlyLongAttributeAttributeGetterCallback(const v8::Fu |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::conditionalReadOnlyLongAttributeAttributeGetter(info); |
} |
@@ -492,11 +492,11 @@ static void staticStringAttributeAttributeGetter(const v8::FunctionCallbackInfo< |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueString(info, TestInterfaceImplementation::staticStringAttribute(), info.GetIsolate()); |
} |
@@ -506,11 +506,11 @@ static void staticStringAttributeAttributeGetterCallback(const v8::FunctionCallb |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticStringAttributeAttributeGetter(info); |
} |
@@ -534,11 +534,11 @@ static void staticReturnDOMWrapperAttributeAttributeGetter(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValue(info, TestInterfaceImplementation::staticReturnDOMWrapperAttribute(), info.GetIsolate()->GetCurrentContext()->Global()); |
} |
@@ -548,11 +548,11 @@ static void staticReturnDOMWrapperAttributeAttributeGetterCallback(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticReturnDOMWrapperAttributeAttributeGetter(info); |
} |
@@ -581,11 +581,11 @@ static void staticReadOnlyStringAttributeAttributeGetter(const v8::FunctionCallb |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueString(info, TestInterfaceImplementation::staticReadOnlyStringAttribute(), info.GetIsolate()); |
} |
@@ -595,11 +595,11 @@ static void staticReadOnlyStringAttributeAttributeGetterCallback(const v8::Funct |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticReadOnlyStringAttributeAttributeGetter(info); |
} |
@@ -609,11 +609,11 @@ static void staticReadOnlyReturnDOMWrapperAttributeAttributeGetter(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
RefPtr<TestInterfaceImplementation> cppValue(TestInterfaceImplementation::staticReadOnlyReturnDOMWrapperAttribute()); |
if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get())) |
@@ -630,11 +630,11 @@ static void staticReadOnlyReturnDOMWrapperAttributeAttributeGetterCallback(const |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticReadOnlyReturnDOMWrapperAttributeAttributeGetter(info); |
} |
@@ -644,11 +644,11 @@ static void staticConditionalReadOnlyLongAttributeAttributeGetter(const v8::Func |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueInt(info, TestInterfaceImplementation::staticConditionalReadOnlyLongAttribute()); |
} |
@@ -658,11 +658,11 @@ static void staticConditionalReadOnlyLongAttributeAttributeGetterCallback(const |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticConditionalReadOnlyLongAttributeAttributeGetter(info); |
} |
@@ -672,11 +672,11 @@ static void legacyInterfaceTypeCheckingAttributeAttributeGetter(const v8::Functi |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -688,11 +688,11 @@ static void legacyInterfaceTypeCheckingAttributeAttributeGetterCallback(const v8 |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::legacyInterfaceTypeCheckingAttributeAttributeGetter(info); |
} |
@@ -716,11 +716,11 @@ static void alwaysExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -732,11 +732,11 @@ static void alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCall |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::alwaysExposedAttributeAttributeGetter(info); |
} |
@@ -763,11 +763,11 @@ static void workerExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -779,11 +779,11 @@ static void workerExposedAttributeAttributeGetterCallback(const v8::FunctionCall |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::workerExposedAttributeAttributeGetter(info); |
} |
@@ -810,11 +810,11 @@ static void windowExposedAttributeAttributeGetter(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -826,11 +826,11 @@ static void windowExposedAttributeAttributeGetterCallback(const v8::FunctionCall |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::windowExposedAttributeAttributeGetter(info); |
} |
@@ -857,11 +857,11 @@ static void lenientThisAttributeAttributeGetter(const v8::FunctionCallbackInfo<v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
if (!V8TestInterface::hasInstance(info.Holder(), info.GetIsolate())) |
return; // Return silently because of [LenientThis]. |
@@ -875,11 +875,11 @@ static void lenientThisAttributeAttributeGetterCallback(const v8::FunctionCallba |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::lenientThisAttributeAttributeGetter(info); |
} |
@@ -905,11 +905,11 @@ static void implementsStaticReadOnlyLongAttributeAttributeGetter(const v8::Funct |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueInt(info, TestInterfaceImplementation::implementsStaticReadOnlyLongAttribute()); |
} |
@@ -919,11 +919,11 @@ static void implementsStaticReadOnlyLongAttributeAttributeGetterCallback(const v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsStaticReadOnlyLongAttributeAttributeGetter(info); |
} |
@@ -933,11 +933,11 @@ static void implementsStaticStringAttributeAttributeGetter(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueString(info, TestInterfaceImplementation::implementsStaticStringAttribute(), info.GetIsolate()); |
} |
@@ -947,11 +947,11 @@ static void implementsStaticStringAttributeAttributeGetterCallback(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsStaticStringAttributeAttributeGetter(info); |
} |
@@ -975,11 +975,11 @@ static void implementsReadonlyStringAttributeAttributeGetter(const v8::FunctionC |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -991,11 +991,11 @@ static void implementsReadonlyStringAttributeAttributeGetterCallback(const v8::F |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsReadonlyStringAttributeAttributeGetter(info); |
} |
@@ -1005,11 +1005,11 @@ static void implementsStringAttributeAttributeGetter(const v8::FunctionCallbackI |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1021,11 +1021,11 @@ static void implementsStringAttributeAttributeGetterCallback(const v8::FunctionC |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsStringAttributeAttributeGetter(info); |
} |
@@ -1051,11 +1051,11 @@ static void implementsNodeAttributeAttributeGetter(const v8::FunctionCallbackInf |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1067,11 +1067,11 @@ static void implementsNodeAttributeAttributeGetterCallback(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsNodeAttributeAttributeGetter(info); |
} |
@@ -1101,11 +1101,11 @@ static void implementsEventHandlerAttributeAttributeGetter(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1118,11 +1118,11 @@ static void implementsEventHandlerAttributeAttributeGetterCallback(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsEventHandlerAttributeAttributeGetter(info); |
} |
@@ -1146,11 +1146,11 @@ static void implementsRuntimeEnabledNodeAttributeAttributeGetter(const v8::Funct |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1162,11 +1162,11 @@ static void implementsRuntimeEnabledNodeAttributeAttributeGetterCallback(const v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsRuntimeEnabledNodeAttributeAttributeGetter(info); |
} |
@@ -1196,11 +1196,11 @@ static void implements2StaticStringAttributeAttributeGetter(const v8::FunctionCa |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueString(info, TestImplements2::implements2StaticStringAttribute(), info.GetIsolate()); |
} |
@@ -1210,11 +1210,11 @@ static void implements2StaticStringAttributeAttributeGetterCallback(const v8::Fu |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements2StaticStringAttributeAttributeGetter(info); |
} |
@@ -1238,11 +1238,11 @@ static void implements2StringAttributeAttributeGetter(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1254,11 +1254,11 @@ static void implements2StringAttributeAttributeGetterCallback(const v8::Function |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements2StringAttributeAttributeGetter(info); |
} |
@@ -1284,11 +1284,11 @@ static void implements3StringAttributeAttributeGetter(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1300,11 +1300,11 @@ static void implements3StringAttributeAttributeGetterCallback(const v8::Function |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements3StringAttributeAttributeGetter(info); |
} |
@@ -1330,11 +1330,11 @@ static void implements3StaticStringAttributeAttributeGetter(const v8::FunctionCa |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueString(info, TestImplements3Implementation::implements3StaticStringAttribute(), info.GetIsolate()); |
} |
@@ -1344,11 +1344,11 @@ static void implements3StaticStringAttributeAttributeGetterCallback(const v8::Fu |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements3StaticStringAttributeAttributeGetter(info); |
} |
@@ -1372,11 +1372,11 @@ static void partialLongAttributeAttributeGetter(const v8::FunctionCallbackInfo<v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1388,11 +1388,11 @@ static void partialLongAttributeAttributeGetterCallback(const v8::FunctionCallba |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialLongAttributeAttributeGetter(info); |
} |
@@ -1419,11 +1419,11 @@ static void partialStaticLongAttributeAttributeGetter(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueInt(info, TestPartialInterface::partialStaticLongAttribute()); |
} |
@@ -1433,11 +1433,11 @@ static void partialStaticLongAttributeAttributeGetterCallback(const v8::Function |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialStaticLongAttributeAttributeGetter(info); |
} |
@@ -1463,11 +1463,11 @@ static void partialCallWithExecutionContextLongAttributeAttributeGetter(const v8 |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1480,11 +1480,11 @@ static void partialCallWithExecutionContextLongAttributeAttributeGetterCallback( |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialCallWithExecutionContextLongAttributeAttributeGetter(info); |
} |
@@ -1512,11 +1512,11 @@ static void partialPartialEnumTypeAttributeAttributeGetter(const v8::FunctionCal |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1528,11 +1528,11 @@ static void partialPartialEnumTypeAttributeAttributeGetterCallback(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialPartialEnumTypeAttributeAttributeGetter(info); |
} |
@@ -1567,11 +1567,11 @@ static void stringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Va |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1586,11 +1586,11 @@ static void stringAttributeAttributeGetterCallback(const v8::FunctionCallbackInf |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::stringAttributeAttributeGetter(info); |
} |
@@ -1616,11 +1616,11 @@ static void partial2LongAttributeAttributeGetter(const v8::FunctionCallbackInfo< |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8::Local<v8::Object> holder = info.Holder(); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
@@ -1632,11 +1632,11 @@ static void partial2LongAttributeAttributeGetterCallback(const v8::FunctionCallb |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partial2LongAttributeAttributeGetter(info); |
} |
@@ -1663,11 +1663,11 @@ static void partial2StaticLongAttributeAttributeGetter(const v8::FunctionCallbac |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
v8SetReturnValueInt(info, TestPartialInterfaceImplementation::partial2StaticLongAttribute()); |
} |
@@ -1677,11 +1677,11 @@ static void partial2StaticLongAttributeAttributeGetterCallback(const v8::Functio |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partial2StaticLongAttributeAttributeGetter(info); |
} |
@@ -1725,11 +1725,11 @@ static void voidMethodTestInterfaceEmptyArgMethodCallback(const v8::FunctionCall |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodTestInterfaceEmptyArgMethod(info); |
} |
@@ -1761,11 +1761,11 @@ static void voidMethodDoubleArgFloatArgMethodCallback(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodDoubleArgFloatArgMethod(info); |
} |
@@ -1797,11 +1797,11 @@ static void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback(co |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethod(info); |
} |
@@ -1839,11 +1839,11 @@ static void voidMethodTestEnumArgMethodCallback(const v8::FunctionCallbackInfo<v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodTestEnumArgMethod(info); |
} |
@@ -1859,11 +1859,11 @@ static void voidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodMethod(info); |
} |
@@ -1879,11 +1879,11 @@ static void voidMethodMethodCallbackForMainWorld(const v8::FunctionCallbackInfo< |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::voidMethodMethodForMainWorld(info); |
} |
@@ -1899,11 +1899,11 @@ static void alwaysExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8: |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::alwaysExposedMethodMethod(info); |
} |
@@ -1919,11 +1919,11 @@ static void workerExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8: |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::workerExposedMethodMethod(info); |
} |
@@ -1939,11 +1939,11 @@ static void windowExposedMethodMethodCallback(const v8::FunctionCallbackInfo<v8: |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::windowExposedMethodMethod(info); |
} |
@@ -1958,11 +1958,11 @@ static void alwaysExposedStaticMethodMethodCallback(const v8::FunctionCallbackIn |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::alwaysExposedStaticMethodMethod(info); |
} |
@@ -1977,11 +1977,11 @@ static void workerExposedStaticMethodMethodCallback(const v8::FunctionCallbackIn |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::workerExposedStaticMethodMethod(info); |
} |
@@ -1996,11 +1996,11 @@ static void windowExposedStaticMethodMethodCallback(const v8::FunctionCallbackIn |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::windowExposedStaticMethodMethod(info); |
} |
@@ -2015,11 +2015,11 @@ static void staticReturnDOMWrapperMethodMethodCallback(const v8::FunctionCallbac |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::staticReturnDOMWrapperMethodMethod(info); |
} |
@@ -2035,11 +2035,11 @@ static void methodWithExposedAndRuntimeEnabledFlagMethodCallback(const v8::Funct |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::methodWithExposedAndRuntimeEnabledFlagMethod(info); |
} |
@@ -2138,11 +2138,11 @@ static void methodWithExposedHavingRuntimeEnabldFlagMethodCallback(const v8::Fun |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::methodWithExposedHavingRuntimeEnabldFlagMethod(info); |
} |
@@ -2158,11 +2158,11 @@ static void windowAndServiceWorkerExposedMethodMethodCallback(const v8::Function |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::windowAndServiceWorkerExposedMethodMethod(info); |
} |
@@ -2235,11 +2235,11 @@ static void legacyInterfaceTypeCheckingMethodMethodCallback(const v8::FunctionCa |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::legacyInterfaceTypeCheckingMethodMethod(info); |
} |
@@ -2255,11 +2255,11 @@ static void implementsVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8 |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsVoidMethodMethod(info); |
} |
@@ -2300,11 +2300,11 @@ static void implementsComplexMethodMethodCallback(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsComplexMethodMethod(info); |
} |
@@ -2314,11 +2314,11 @@ static void implementsCustomVoidMethodMethodCallback(const v8::FunctionCallbackI |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
V8TestInterface::implementsCustomVoidMethodMethodCustom(info); |
} |
@@ -2333,11 +2333,11 @@ static void implementsStaticVoidMethodMethodCallback(const v8::FunctionCallbackI |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implementsStaticVoidMethodMethod(info); |
} |
@@ -2353,11 +2353,11 @@ static void implements2VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements2VoidMethodMethod(info); |
} |
@@ -2373,11 +2373,11 @@ static void implements3VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements3VoidMethodMethod(info); |
} |
@@ -2392,11 +2392,11 @@ static void implements3StaticVoidMethodMethodCallback(const v8::FunctionCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::implements3StaticVoidMethodMethod(info); |
} |
@@ -2412,11 +2412,11 @@ static void partialVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::V |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialVoidMethodMethod(info); |
} |
@@ -2431,11 +2431,11 @@ static void partialStaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialStaticVoidMethodMethod(info); |
} |
@@ -2463,11 +2463,11 @@ static void partialVoidMethodLongArgMethodCallback(const v8::FunctionCallbackInf |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialVoidMethodLongArgMethod(info); |
} |
@@ -2489,11 +2489,11 @@ static void partialCallWithExecutionContextRaisesExceptionVoidMethodMethodCallba |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialCallWithExecutionContextRaisesExceptionVoidMethodMethod(info); |
} |
@@ -2521,11 +2521,11 @@ static void partialVoidMethodPartialCallbackTypeArgMethodCallback(const v8::Func |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::partialVoidMethodPartialCallbackTypeArgMethod(info); |
} |
@@ -2556,11 +2556,11 @@ static void shortMethodWithShortArgumentImplementedInPrivateScriptMethodCallback |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::shortMethodWithShortArgumentImplementedInPrivateScriptMethod(info); |
} |
@@ -2738,11 +2738,11 @@ static void toJSONMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::toJSONMethod(info); |
} |
@@ -2758,11 +2758,11 @@ static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::toStringMethod(info); |
} |
@@ -2785,11 +2785,11 @@ static void iteratorMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in |
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
TestInterfaceImplementationV8Internal::iteratorMethod(info); |
} |
@@ -3269,11 +3269,11 @@ bool V8TestInterface::PrivateScript::stringAttributeAttributeGetter(LocalFrame* |
ExecutionContext* executionContext = currentExecutionContext(scriptState->isolate()); |
String errorMessage; |
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) { |
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
- if (!errorMessage.isEmpty()) { |
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
- } |
- return; |
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate())); |
+ if (!errorMessage.isEmpty()) { |
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage)); |
+ } |
+ return; |
} |
ExceptionState exceptionState(ExceptionState::GetterContext, "stringAttribute", "TestInterfaceImplementation", scriptState->context()->Global(), scriptState->isolate()); |