| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| index 623cdbb0d75d6a468ee75161cc17eeea367e9533..77d03b01d6b5d95ba7f39619f07a2ff1c6a1a350 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
| @@ -111,7 +111,7 @@
|
| if (!OriginTrials::featureName1Enabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -125,7 +125,7 @@
|
| if (!OriginTrials::featureName1Enabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -139,7 +139,7 @@
|
| if (!OriginTrials::featureName2Enabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -153,7 +153,7 @@
|
| if (!OriginTrials::featureName2Enabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -167,7 +167,7 @@
|
| if (!OriginTrials::featureName3Enabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -2696,7 +2696,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -2712,7 +2712,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -4577,7 +4577,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -4593,7 +4593,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -9849,7 +9849,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -9869,7 +9869,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
| @@ -9889,7 +9889,7 @@
|
| if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
|
|