| Summary: | Refactor test runner code to cut down on copy/paste code and long-winded repetitive idioms | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> | ||||||||||||||||||||||||||||
| Component: | Tools / Tests | Assignee: | Darin Adler <darin> | ||||||||||||||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||||||||||||||
| Severity: | Normal | CC: | andersca, ews-watchlist, keith_miller, mark.lam, msaboff, saam, sam, tzagallo, webkit-bug-importer | ||||||||||||||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||||||||||||||
| Hardware: | All | ||||||||||||||||||||||||||||||
| OS: | All | ||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||
|
Description
Darin Adler
2020-09-26 22:21:33 PDT
Created attachment 409849 [details]
Patch
Not setting review? yet because I must have made at least one mistake in all the global replaces and refactoring. Created attachment 409850 [details]
Patch
Created attachment 409851 [details]
Patch
Created attachment 409853 [details]
Patch
Created attachment 409854 [details]
Patch
Created attachment 409855 [details]
Patch
Created attachment 409860 [details]
Patch
Created attachment 409864 [details]
Patch
Created attachment 409865 [details]
Patch
Created attachment 409868 [details]
Patch
Created attachment 409870 [details]
Patch
Created attachment 409891 [details]
Patch
Created attachment 409952 [details]
Patch
Working now, so ready for review. Comment on attachment 409952 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409952&action=review > Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp:96 > +static JSContextRef mainJSContext() I would prefer this be called mainFrameJSContext, just because main on its own is so ambiguous, but I feel this in a very minor way. Committed r267761: <https://trac.webkit.org/changeset/267761> |