Add proper layout test support for ephemeral sessions. testRunner.setPrivateBrowsingEnabled() merely overrides the Page's sessionID in the WebContent process, which is a hack and does not truly enable private browsing.
Created attachment 378022 [details] WIP Patch
Comment on attachment 378022 [details] WIP Patch View in context: https://bugs.webkit.org/attachment.cgi?id=378022&action=review > LayoutTests/crypto/subtle/rsa-indexeddb-private.html:2 > <!DOCTYPE html> A lot of tests are suffixed with -private.html and are then expected to run in private browsing mode (see js-test-pre.js). I slightly tend to prefer webkit-test-runner approach but we could also consistently use the name suffix approach. It seems that only a few files would need to be renamed.
Created attachment 378088 [details] Patch
Created attachment 378092 [details] Patch
Created attachment 378097 [details] Patch
Comment on attachment 378097 [details] Patch Clearing flags on attachment: 378097 Committed r249542: <https://trac.webkit.org/changeset/249542>
All reviewed patches have been landed. Closing bug.
<rdar://problem/55083700>