[WKTR] Crash when trying to open a new window in an ephemeral session test
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2020 18:17:01 +0000 (18:17 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Mar 2020 18:17:01 +0000 (18:17 +0000)
commit5c40232786d6fc8141bc0e7aeee19dd59ba9b6da
tree4fac04f99afc1f845d9dbc4e2e294d50087a82bf
parente135be39bfed8c8544b327794a2c9610ed7dd35c
[WKTR] Crash when trying to open a new window in an ephemeral session test
https://bugs.webkit.org/show_bug.cgi?id=209181

Reviewed by Geoffrey Garen.

Tools:

Make sure that the new WKWebView is using the same data store as its related WKWebView.

* WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::TestController::platformCreateOtherPage):

LayoutTests:

Add layout test coverage.

* fast/dom/window-open-ephemeral-expected.txt: Added.
* fast/dom/window-open-ephemeral.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@258562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/window-open-ephemeral-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/window-open-ephemeral.html [new file with mode: 0644]
Tools/ChangeLog
Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm