Bug 166402 - [WK2][WKTR] TestRunner needs to implement setCanOpenWindows
Summary: [WK2][WKTR] TestRunner needs to implement setCanOpenWindows
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 17:23 PST by Daniel Bates
Modified: 2016-12-21 17:28 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2016-12-21 17:23:14 PST
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?