| Index: third_party/WebKit/Source/core/page/CreateWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/CreateWindow.cpp b/third_party/WebKit/Source/core/page/CreateWindow.cpp
|
| index f404b43ec4965b8fffcf1e6ce94c5d3f7100828c..203dcd3d2b99be096ed7920228708e63c9e285bc 100644
|
| --- a/third_party/WebKit/Source/core/page/CreateWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/page/CreateWindow.cpp
|
| @@ -186,6 +186,7 @@ DOMWindow* createWindow(const String& urlString,
|
| ? KURL(ParsedURLString, emptyString)
|
| : firstFrame.document()->completeURL(urlString);
|
| if (!completedURL.isEmpty() && !completedURL.isValid()) {
|
| + UseCounter::count(activeFrame, UseCounter::WindowOpenWithInvalidURL);
|
| // Don't expose client code to invalid URLs.
|
| callingWindow.printErrorMessage(
|
| "Unable to open a window with invalid URL '" +
|
|
|