Bug 166402
Summary: | [WK2][WKTR] TestRunner needs to implement setCanOpenWindows | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | andersca, ap, lforschler |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=166403 |
Daniel Bates
We should consider implementing testRunner.setCanOpenWindows() to support writing layout tests when the embedding client returns a null pointer from the ChromeClient::createWindow() callback. One example of such a test is LayoutTests/plugins/get-url-with-blank-target.html: <http://trac.webkit.org/browser/trunk/LayoutTests/plugins/get-url-with-blank-target.html?rev=210022>. Maybe TestWebKitAPI tests would be a better fit for layout tests that want to test such behavior?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |