[webkit-changes] [WebKit/WebKit] e75e72: Add runInCrossOriginIFrame TestOption for WebKitTe...

Commit Queue noreply at github.com
Thu Dec 7 23:12:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e75e728228a424bc650bc91d343e584c387edaf3
      https://github.com/WebKit/WebKit/commit/e75e728228a424bc650bc91d343e584c387edaf3
  Author: Pascoe <pascoe at apple.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M Tools/WebKitTestRunner/TestInvocation.cpp
    M Tools/WebKitTestRunner/TestOptions.cpp
    M Tools/WebKitTestRunner/TestOptions.h

  Log Message:
  -----------
  Add runInCrossOriginIFrame TestOption for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=265984
rdar://problem/119299992

Reviewed by Jonathan Bedard.

This adds a WebKitTestRunner option to run a test in a cross-origin
i-frame. This enables the output of a given test to be compared with the
output of the test in a site isolated cross-origin i-frame by using
run-webkit-tests --self-compare-with-header='SiteIsolationEnabled=true runInCrossOriginIFrame=true' ...

* Tools/WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::invoke):
* Tools/WebKitTestRunner/TestOptions.cpp:
(WTR::TestOptions::defaults):
(WTR::TestOptions::keyTypeMapping):
* Tools/WebKitTestRunner/TestOptions.h:
(WTR::TestOptions::runInCrossOriginIFrame const):

Canonical link: https://commits.webkit.org/271718@main




More information about the webkit-changes mailing list