Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| index ec4c3918b5b848a473d496d54d795b2859fdcb07..1edc136a95f402bd64727de650785bb11ff04f66 100644 |
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
| @@ -91,9 +91,10 @@ void emitWarningForDocWriteScripts(const String& url, Document& document) { |
| String message = |
| "A Parser-blocking, cross site (i.e. different eTLD+1) script, " + url + |
| ", is invoked via document.write. This may be blocked by " |
| - "the browser if the device has poor network connectivity. " |
| + "the browser due to poor network connectivity. " |
| "See https://www.chromestatus.com/feature/5718547946799104 " |
| - "for more details."; |
| + "for more details. If the script is indeed blocked, you should see an " |
|
Bryan McQuade
2017/01/18 23:47:04
thinking about this more i'm a little concerned th
shivanisha
2017/01/19 18:04:58
I hear your concern. Omitting the last sentence mi
|
| + "error message following this."; |
| document.addConsoleMessage( |
| ConsoleMessage::create(JSMessageSource, WarningMessageLevel, message)); |
| WTFLogAlways("%s", message.utf8().data()); |