| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 9390336a5cb913f5d558a36ec3be4249edaaac83..5ba9b469a15c86c1539ea5390ec2abd981c4a013 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -701,15 +701,6 @@ void LocalDOMWindow::print(ScriptState* scriptState) {
|
| if (!host)
|
| return;
|
|
|
| - if (document()->isSandboxed(SandboxModals)) {
|
| - UseCounter::count(document(), UseCounter::DialogInSandboxedContext);
|
| - frameConsole()->addMessage(ConsoleMessage::create(
|
| - SecurityMessageSource, ErrorMessageLevel,
|
| - "Ignored call to 'print()'. The document is sandboxed, and the "
|
| - "'allow-modals' keyword is not set."));
|
| - return;
|
| - }
|
| -
|
| if (scriptState &&
|
| v8::MicrotasksScope::IsRunningMicrotasks(scriptState->isolate())) {
|
| UseCounter::count(document(), UseCounter::During_Microtask_Print);
|
|
|