[webkit-changes] [WebKit/WebKit] 3a9c4b: Fix file-url based tests not working with runInCro...
Commit Queue
noreply at github.com
Tue Dec 19 11:06:14 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3a9c4b78c818661e34cd0afa76f07faef656a52d
https://github.com/WebKit/WebKit/commit/3a9c4b78c818661e34cd0afa76f07faef656a52d
Author: Pascoe <pascoe at apple.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M Tools/Scripts/webkitpy/layout_tests/servers/aliases.json
M Tools/Scripts/webkitpy/port/driver.py
M Tools/Scripts/webkitpy/port/driver_unittest.py
Log Message:
-----------
Fix file-url based tests not working with runInCrossOriginIFrame
https://bugs.webkit.org/show_bug.cgi?id=265985
rdar://119300316
Reviewed by Alex Christensen.
runInCrossOriginIFrame doesn't work with file:/// based tests as they
can't be loaded in an i-frame. This change instead runs those tests
via http whenever this option is enabled by using a new alias to the
root of the LayoutTests directory.
* Tools/Scripts/webkitpy/layout_tests/servers/aliases.json:
* Tools/Scripts/webkitpy/port/driver.py:
(Driver.is_http_test):
(Driver.test_to_uri):
(Driver.uri_to_test):
(Driver._command_from_driver_input):
(DriverProxy.is_http_test):
(DriverProxy.test_to_uri):
Canonical link: https://commits.webkit.org/272281@main
More information about the webkit-changes
mailing list