Bug 166402

Summary: [WK2][WKTR] TestRunner needs to implement setCanOpenWindows
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: 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
Reported 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?
Attachments
Note You need to log in before you can comment on or make changes to this bug.