RESOLVED FIXED 224958
Add an option to not enable all experimental features in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=224958
Summary Add an option to not enable all experimental features in WebKitTestRunner
Ryosuke Niwa
Reported 2021-04-22 16:53:31 PDT
We need an option to avoid enabling all experimental features in WebKitTestRunner so that we can run tests with the set of features we're intending to ship / are stable.
Attachments
Patch (11.89 KB, patch)
2021-04-22 16:59 PDT, Ryosuke Niwa
no flags
Patch for landing (12.85 KB, patch)
2021-04-22 17:19 PDT, Ryosuke Niwa
no flags
Patch for landing (8.52 KB, patch)
2021-04-24 17:13 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2021-04-22 16:59:16 PDT
Tim Horton
Comment 2 2021-04-22 17:05:48 PDT
Comment on attachment 426865 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426865&action=review > Tools/WebKitTestRunner/TestController.h:542 > + bool m_enableAllExperimentalFeatures { false }; Humorous and confusing that the default is different here (I assume it gets plumbed from Options?)
Ryosuke Niwa
Comment 3 2021-04-22 17:12:07 PDT
Comment on attachment 426865 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426865&action=review >> Tools/WebKitTestRunner/TestController.h:542 >> + bool m_enableAllExperimentalFeatures { false }; > > Humorous and confusing that the default is different here (I assume it gets plumbed from Options?) Yup. I'd change the default to true for consistency.
Ryosuke Niwa
Comment 4 2021-04-22 17:19:48 PDT
Created attachment 426872 [details] Patch for landing
Ryosuke Niwa
Comment 5 2021-04-22 17:20:19 PDT
Comment on attachment 426872 [details] Patch for landing Wait for EWS.
Sam Weinig
Comment 6 2021-04-22 17:37:03 PDT
Comment on attachment 426872 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=426872&action=review > Source/WebKit/ChangeLog:8 > + Added a helper SPI to reset the runtime flags of all experimental features. I don't think this is needed. We already reset everything between tests. Just don't enable the experimental features if you don't want them enable.
Ryosuke Niwa
Comment 7 2021-04-24 17:05:28 PDT
(In reply to Sam Weinig from comment #6) > Comment on attachment 426872 [details] > Patch for landing > > View in context: > https://bugs.webkit.org/attachment.cgi?id=426872&action=review > > > Source/WebKit/ChangeLog:8 > > + Added a helper SPI to reset the runtime flags of all experimental features. > > I don't think this is needed. We already reset everything between tests. > Just don't enable the experimental features if you don't want them enable. Oh, you're right. Will revert this part before landing.
Ryosuke Niwa
Comment 8 2021-04-24 17:13:26 PDT
Created attachment 426992 [details] Patch for landing
EWS
Comment 9 2021-04-24 17:39:52 PDT
Committed r276559 (236996@main): <https://commits.webkit.org/236996@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426992 [details].
Radar WebKit Bug Importer
Comment 10 2021-04-24 17:40:15 PDT
Note You need to log in before you can comment on or make changes to this bug.