Skip to content

Commit

Permalink
REGRESSION(266167@main): [non-Cocoa] Some http/tests/security/mixedCo…
Browse files Browse the repository at this point in the history
…ntent tests are failing

https://bugs.webkit.org/show_bug.cgi?id=259466

Reviewed by Don Olmstead.

Some http/tests/security/mixedContent tests are failing after
266167@main (bug#259324) due to a preceding tests configuration
change. 266231@main fixed the Cocoa port problem by recreating a
WKPreferencesRef object. non-Cocoa ports also need the similar fix.

* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::platformAdjustContext):
Recreate a WKPreferencesRef object.

Canonical link: https://commits.webkit.org/266298@main
  • Loading branch information
fujii committed Jul 25, 2023
1 parent 0fdfc09 commit 1cf603b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/WebKitTestRunner/TestController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3146,6 +3146,7 @@ UniqueRef<PlatformWebView> TestController::platformCreateOtherPage(PlatformWebVi

WKContextRef TestController::platformAdjustContext(WKContextRef context, WKContextConfigurationRef)
{
m_preferences = adoptWK(WKPreferencesCreate());
return context;
}

Expand Down

0 comments on commit 1cf603b

Please sign in to comment.