Skip to content

Commit

Permalink
REGRESSION(r275810): [WebKitTestRunner] fast/text/basic/004.html fail…
Browse files Browse the repository at this point in the history
…s after running fast/layoutformattingcontext tests

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

Reviewed by Don Olmstead.

fast/layoutformattingcontext tests enable some internal debug
settings by using the test file header. These settings weren't
reset after running the tests.

r275810 changed resetPreferencesToConsistentValues not to call
WKPreferencesResetAllInternalDebugFeatures.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetPreferencesToConsistentValues):
Call WKPreferencesResetAllInternalDebugFeatures.

Canonical link: https://commits.webkit.org/237265@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
fujii committed May 3, 2021
1 parent cbb96fd commit 29dcd7a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Tools/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
2021-05-03 Fujii Hironori <Hironori.Fujii@sony.com>

REGRESSION(r275810): [WebKitTestRunner] fast/text/basic/004.html fails after running fast/layoutformattingcontext tests
https://bugs.webkit.org/show_bug.cgi?id=225087

Reviewed by Don Olmstead.

fast/layoutformattingcontext tests enable some internal debug
settings by using the test file header. These settings weren't
reset after running the tests.

r275810 changed resetPreferencesToConsistentValues not to call
WKPreferencesResetAllInternalDebugFeatures.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetPreferencesToConsistentValues):
Call WKPreferencesResetAllInternalDebugFeatures.

2021-05-03 Tim Nguyen <ntim@apple.com>

Add committer status for "Tim Nguyen" in contributors.json
Expand Down
2 changes: 2 additions & 0 deletions Tools/WebKitTestRunner/TestController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,8 @@ void TestController::resetPreferencesToConsistentValues(const TestOptions& optio
if (enableAllExperimentalFeatures)
WKPreferencesEnableAllExperimentalFeatures(preferences);

WKPreferencesResetAllInternalDebugFeatures(preferences);

WKPreferencesSetProcessSwapOnNavigationEnabled(preferences, options.shouldEnableProcessSwapOnNavigation());
WKPreferencesSetStorageBlockingPolicy(preferences, kWKAllowAllStorage); // FIXME: We should be testing the default.

Expand Down

0 comments on commit 29dcd7a

Please sign in to comment.