Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f17d14686a19dea8c14cc12ecb7169046057db7f
https://github.com/WebKit/WebKit/commit/f17d14686a19dea8c14cc12ecb7169046057db7f
Author: Sihui Liu <[email protected]>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py
M
Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py
M Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
M Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
M Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server.py
Log Message:
-----------
run-webkit-tests should start http server when running tests in cross-origin
iframe
https://bugs.webkit.org/show_bug.cgi?id=272595
rdar://problem/126363405
Reviewed by Charlie Wolfe.
`--site-isolation` intends to run test in cross-origin iframe with host
"127.0.0.1" but it does not start http server.
This patch fixes that by starting http server and setting correct root path for
the server and introduces a new option
`load-in-cross-origin-iframe` for testing.
* Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner.py:
(LayoutTestRunner._additional_dirs_for_http_server):
(LayoutTestRunner.start_servers):
*
Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_runner_unittest.py:
(LayoutTestRunnerTests.test_servers_started.start_http_server):
* Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.run):
* Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
(_set_up_derived_options):
* Tools/Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
(LayoutTestApacheHttpd.__init__):
Canonical link: https://commits.webkit.org/277445@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes