Bug 217880 - [Testing] Convert DumpRenderTree to use generated test header options
Summary: [Testing] Convert DumpRenderTree to use generated test header options
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-17 14:37 PDT by Sam Weinig
Modified: 2020-11-01 12:20 PST (History)
14 users (show)

See Also:


Attachments
Patch (48.87 KB, patch)
2020-10-17 14:52 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (47.05 KB, patch)
2020-10-17 14:56 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (49.21 KB, patch)
2020-10-17 17:08 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (50.69 KB, patch)
2020-10-17 18:00 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (56.62 KB, patch)
2020-10-17 18:41 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (57.08 KB, patch)
2020-10-17 19:13 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (56.90 KB, patch)
2020-10-18 09:19 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (57.52 KB, patch)
2020-10-18 10:04 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (59.68 KB, patch)
2020-10-18 10:30 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (68.49 KB, patch)
2020-10-18 11:53 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (69.04 KB, patch)
2020-10-18 12:53 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (71.06 KB, patch)
2020-10-18 12:57 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (80.32 KB, patch)
2020-10-18 13:02 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (80.32 KB, patch)
2020-10-18 13:11 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (80.80 KB, patch)
2020-10-18 13:22 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (94.26 KB, patch)
2020-10-18 18:29 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (96.39 KB, patch)
2020-10-18 18:43 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (19.01 KB, patch)
2020-10-23 09:08 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (19.52 KB, patch)
2020-10-23 09:18 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (28.37 KB, patch)
2020-10-23 09:31 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (30.07 KB, patch)
2020-10-23 09:43 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (30.92 KB, patch)
2020-10-23 10:38 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (31.53 KB, patch)
2020-10-23 18:08 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (32.41 KB, patch)
2020-10-24 11:31 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (36.00 KB, patch)
2020-10-24 11:56 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Patch (36.00 KB, patch)
2020-10-24 16:51 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
Experiment: Remove setSharedURLCache and add _resetToDefaultValuesForTesting (33.12 KB, patch)
2020-10-24 17:11 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Experiment: Remove setSharedURLCache and new WebPreferences per test (32.95 KB, patch)
2020-10-24 17:13 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (33.19 KB, patch)
2020-10-24 18:55 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (34.06 KB, patch)
2020-10-25 08:57 PDT, Sam Weinig
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2020-10-17 14:37:33 PDT
[Testing] Convert DumpRenderTree to use generated test header options
Comment 1 Sam Weinig 2020-10-17 14:52:36 PDT Comment hidden (obsolete)
Comment 2 Sam Weinig 2020-10-17 14:56:11 PDT
Created attachment 411680 [details]
Patch
Comment 3 Sam Weinig 2020-10-17 17:08:22 PDT
Created attachment 411688 [details]
Patch
Comment 4 Sam Weinig 2020-10-17 17:08:36 PDT
Going to try making the VPATH include the erb files.
Comment 5 Sam Weinig 2020-10-17 17:11:04 PDT
If anyone has any idea what I am doing wrong with these Makefile rules, I could really use a pointer.
Comment 6 Sam Weinig 2020-10-17 17:12:11 PDT
Specifically, it's these errors:
    /bin/sh -c \"/Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/DumpRenderTree.build/Release-appletvsimulator/Derived\ Sources.build/Script-0F18E7011D6B9CC60027E547.sh\"
make: Circular /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedWebKitLegacyKeyMapping.cpp.erb.cpp <- /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedWebKitLegacyKeyMapping.cpp.erb dependency dropped.
make: Circular /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb.sh <- /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGene
ratedWebKitLegacyKeyMapping.cpp.erb dependency dropped.
make: Circular /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb.sh <- /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb dependency dropped.
ruby /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/Release-appletvsimulator/usr/local/include/wtf/Scripts/GeneratePreferences.rb --frontend WebKitLegacy --base /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/Release-appletvsimulator/usr/local/include/wtf/Scripts/Preferences/WebPreferences.yaml --debug /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/Release-appletvsimulator/usr/local/include/wtf/Scripts/Preferences/WebPreferencesDebug.yaml --experimental /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/Release-appletvsimulator/usr/local/include/wtf/Scripts/Preferences/WebPreferencesExperimental.yaml --internal /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/WebKitBuild/Release-appletvsimulator/usr/local/include/wtf/Scripts/Preferences/WebPreferencesInternal.yaml --template /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedWebKitLegacyKeyMapping.cpp.erb --template /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb
cat /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb.sh >/Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb 
cat: /Volumes/Data/worker/tvOS-14-Simulator-Build-EWS/build/Tools/DumpRenderTree/Scripts/PreferencesTemplates/TestOptionsGeneratedKeys.h.erb.sh: No such file or directory


I don't understand where the .sh suffixes are coming from, but I am clearly doing something quite wrong.
Comment 7 Darin Adler 2020-10-17 17:34:54 PDT
I don’t see a "cat" command anywhere in DerivedSources.make.
Comment 8 Darin Adler 2020-10-17 17:35:11 PDT
Comment on attachment 411688 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=411688&action=review

Trying to figure this out but so far nothing.

> Tools/DumpRenderTree/DerivedSources.make:32
> +VPATH = \
> +    $(UISCRIPTCONTEXT_DIR) \
> +    $(PREFERENCES_TEMPLATE_DIR) \
> +#

I am not sure what we are trying to accomplish here. VPATH tells make where to *search* for prerequisites. I don’t think we need a VPATH to make a rule work when the prerequisites are full paths, so I don’t see why PREFERENCES_TEMPLATE_DIR needs to be in a VPATH.

> Tools/DumpRenderTree/DerivedSources.make:46
>  WEB_PREFERENCES_FILES = $(basename $(notdir $(WEB_PREFERENCES_TEMPLATES)))

WEB_PREFERENCES_FILES will be:

    TestOptionsGeneratedWebKitLegacyKeyMapping.cpp TestOptionsGeneratedKeys.h

> Tools/DumpRenderTree/DerivedSources.make:47
> +WEB_PREFERENCES_PATTERNS = $(subst .,%,$(WEB_PREFERENCES_FILES))

WEB_PREFERENCES_PATTERNS will be:

        TestOptionsGeneratedWebKitLegacyKeyMapping%cpp TestOptionsGeneratedKeys%h

> Tools/DumpRenderTree/DerivedSources.make:49
>  all : $(WEB_PREFERENCES_FILES)

A little strange to have this *before* the .PHONY : all rule below.
Comment 9 Sam Weinig 2020-10-17 18:00:53 PDT Comment hidden (obsolete)
Comment 10 Sam Weinig 2020-10-17 18:03:04 PDT
Try a more traditional Makefile pattern rule here:

%.cpp : %.cpp.erb $(WTF_BUILD_SCRIPTS_DIR)/GeneratePreferences.rb $(WEB_PREFERENCES_TEMPLATES) $(WEB_PREFERENCES)
	$(RUBY) $(WTF_BUILD_SCRIPTS_DIR)/GeneratePreferences.rb --frontend WebKitLegacy --base ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferences.yaml --debug ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesDebug.yaml --experimental ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesExperimental.yaml --internal ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesInternal.yaml --template $<

%.h : %.h.erb $(WTF_BUILD_SCRIPTS_DIR)/GeneratePreferences.rb $(WEB_PREFERENCES_TEMPLATES) $(WEB_PREFERENCES)
	$(RUBY) $(WTF_BUILD_SCRIPTS_DIR)/GeneratePreferences.rb --frontend WebKitLegacy --base ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferences.yaml --debug ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesDebug.yaml --experimental ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesExperimental.yaml --internal ${WTF_BUILD_SCRIPTS_DIR}/Preferences/WebPreferencesInternal.yaml --template $<


I'm not sure what the right way to say the output could either end in a .h or a .cpp here
Comment 11 Sam Weinig 2020-10-17 18:41:18 PDT Comment hidden (obsolete)
Comment 12 Sam Weinig 2020-10-17 18:41:58 PDT
This one has make being invoked with make -d, see if we can find anything interesting from the debug logging make has.
Comment 13 Sam Weinig 2020-10-17 19:13:13 PDT Comment hidden (obsolete)
Comment 14 Sam Weinig 2020-10-18 09:19:36 PDT Comment hidden (obsolete)
Comment 15 Sam Weinig 2020-10-18 10:04:47 PDT Comment hidden (obsolete)
Comment 16 Sam Weinig 2020-10-18 10:30:09 PDT Comment hidden (obsolete)
Comment 17 Sam Weinig 2020-10-18 10:34:50 PDT
Yay! I think the static patterns work! Never used those before, but they seem like a good fit here.
Comment 18 Darin Adler 2020-10-18 11:40:29 PDT
Yes, that does seem like a great solution. Less exotic than the others, too.
Comment 19 Sam Weinig 2020-10-18 11:49:34 PDT
(In reply to Darin Adler from comment #18)
> Yes, that does seem like a great solution. Less exotic than the others, too.

Now just to fix the test failures.
Comment 20 Sam Weinig 2020-10-18 11:53:52 PDT Comment hidden (obsolete)
Comment 21 Sam Weinig 2020-10-18 12:53:57 PDT Comment hidden (obsolete)
Comment 22 Sam Weinig 2020-10-18 12:57:56 PDT Comment hidden (obsolete)
Comment 23 Sam Weinig 2020-10-18 13:02:00 PDT Comment hidden (obsolete)
Comment 24 Sam Weinig 2020-10-18 13:11:53 PDT Comment hidden (obsolete)
Comment 25 Sam Weinig 2020-10-18 13:22:45 PDT Comment hidden (obsolete)
Comment 26 Sam Weinig 2020-10-18 18:29:33 PDT Comment hidden (obsolete)
Comment 27 Sam Weinig 2020-10-18 18:43:24 PDT
Created attachment 411724 [details]
Patch
Comment 28 Darin Adler 2020-10-18 22:13:33 PDT
Looks like those tests are passing.
Comment 29 Sam Weinig 2020-10-19 09:04:58 PDT
(In reply to Darin Adler from comment #28)
> Looks like those tests are passing.

The Mac-wk1 bots seem to have hit some issues extracting results, and seem to still be failing. I reached out to the bot-watchers to see what is up.
Comment 30 Aakash Jain 2020-10-19 16:21:27 PDT
(In reply to Sam Weinig from comment #29)
> The Mac-wk1 bots seem to have hit some issues extracting results, and seem
> to still be failing. I reached out to the bot-watchers to see what is up.
mac-wk1 and mac-debug-wk1 seems to be consistently failing with 30+ failures. Also the layout-test runs for this patch on these queues have 500,000+ log lines which is unusually high (~10x the usual). Please have a look.

e.g.:
https://ews-build.webkit.org/#/builders/30/builds/20930
https://ews-build.webkit.org/#/builders/30/builds/20900
https://ews-build.webkit.org/#/builders/30/builds/20894
https://ews-build.webkit.org/#/builders/32/builds/20683
https://ews-build.webkit.org/#/builders/32/builds/20675
Comment 31 Sam Weinig 2020-10-23 09:08:35 PDT
Created attachment 412186 [details]
Patch
Comment 32 Sam Weinig 2020-10-23 09:18:04 PDT
Created attachment 412189 [details]
Patch
Comment 33 Darin Adler 2020-10-23 09:21:23 PDT
Comment on attachment 412189 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=412189&action=review

> Source/WebKitLegacy/mac/WebView/WebPreferences.mm:2992
>  @end
>  
> +
> +@implementation WebPreferences (WebPrivateTesting)

Maybe just one blank line here?

> Source/WebKitLegacy/mac/WebView/WebPreferences.mm:3004
> +    RetainPtr<CFHTTPCookieStorageRef> cookieStorage = NetworkStorageSessionMap::defaultStorageSession().cookieStorage();

auto

> Source/WebKitLegacy/mac/WebView/WebPreferences.mm:3005
> +    ASSERT(cookieStorage); // Will fail when NetworkStorageSessionMap::switchToNewTestingSession() was not called beforehand.

Maybe RELEASE_ASSERT? Certainly harmless to do that, and can’t say that about all ASSERT.

> Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:306
> +@interface WebPreferences (WebPrivateTesting)

I suggest either a blank line after @interface or no blank line before @end.
Comment 34 Sam Weinig 2020-10-23 09:31:26 PDT
Created attachment 412190 [details]
Patch
Comment 35 Sam Weinig 2020-10-23 09:43:25 PDT
Created attachment 412191 [details]
Patch
Comment 36 Sam Weinig 2020-10-23 10:02:55 PDT
hm, something is just destroying the tests here. 

09:56:21.563 29570 worker/9 animations/font-variations/font-stretch.html output stderr lines:
09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131] NetworkStorageDB:_openDBReadConnections: failed to open read connection to DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131] CacheRead: unable to open cache files in (null)
09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131] NetworkStorageDB:_openDBReadConnections: failed to open read connection to DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131] CacheRead: unable to open cache files in (null)
09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131] NetworkStorageDB:_openDBReadConnections: failed to open read connection to DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131] CacheRead: unable to open cache files in (null)

I don't see this output when running locally, and can't find any references to NetworkStorageDB, so not sure what is going on yet.
Comment 37 Sam Weinig 2020-10-23 10:38:50 PDT
Created attachment 412194 [details]
Patch
Comment 38 Sam Weinig 2020-10-23 10:39:48 PDT
(In reply to Sam Weinig from comment #36)
> hm, something is just destroying the tests here. 
> 
> 09:56:21.563 29570 worker/9 animations/font-variations/font-stretch.html
> output stderr lines:
> 09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131]
> NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> 09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131]
> CacheRead: unable to open cache files in (null)
> 09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131]
> NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> 09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131]
> CacheRead: unable to open cache files in (null)
> 09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131]
> NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> 09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131]
> CacheRead: unable to open cache files in (null)
> 
> I don't see this output when running locally, and can't find any references
> to NetworkStorageDB, so not sure what is going on yet.

Finally found NetworkStorageDB in CFNetwork. I broke the cache somehow here.
Comment 39 Sam Weinig 2020-10-23 11:09:05 PDT
(In reply to Sam Weinig from comment #38)
> (In reply to Sam Weinig from comment #36)
> > hm, something is just destroying the tests here. 
> > 
> > 09:56:21.563 29570 worker/9 animations/font-variations/font-stretch.html
> > output stderr lines:
> > 09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131]
> > NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> > DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> > 09:56:21.563 29570   2020-10-23 09:56:20.919 DumpRenderTree[29573:69131]
> > CacheRead: unable to open cache files in (null)
> > 09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131]
> > NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> > DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> > 09:56:21.563 29570   2020-10-23 09:56:21.436 DumpRenderTree[29573:69131]
> > CacheRead: unable to open cache files in (null)
> > 09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131]
> > NetworkStorageDB:_openDBReadConnections: failed to open read connection to
> > DB @ (null)/Cache.db.  Error=14. Cause=unable to open database file
> > 09:56:21.563 29570   2020-10-23 09:56:21.462 DumpRenderTree[29573:69131]
> > CacheRead: unable to open cache files in (null)
> > 
> > I don't see this output when running locally, and can't find any references
> > to NetworkStorageDB, so not sure what is going on yet.
> 
> Finally found NetworkStorageDB in CFNetwork. I broke the cache somehow here.

Alex, Antti, Kilzer,

Do any of you know what might be causing this? Seems like the Cache.db path is getting set to null. But I can't quite figure out why (and for unrelated reasons, can't easily debug it locally.)
Comment 40 Alex Christensen 2020-10-23 17:30:54 PDT
Comment on attachment 412194 [details]
Patch

WebKitLegacy networking was mostly before my time, but I would look closely at the call to switchToNewTestingSession and the call to _resetToDefaultValuesForTesting looks  like a suspicious change in behavior.
Comment 41 Sam Weinig 2020-10-23 18:08:20 PDT
Created attachment 412219 [details]
Patch
Comment 42 Alex Christensen 2020-10-24 09:09:38 PDT
Comment on attachment 412219 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=412219&action=review

> Tools/DumpRenderTree/mac/DumpRenderTree.mm:855
> +    // [preferences _resetToDefaultValuesForTesting];

This seems to have done it.  Please don't commit this, though.
Comment 43 Sam Weinig 2020-10-24 09:23:05 PDT
(In reply to Alex Christensen from comment #42)
> Comment on attachment 412219 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=412219&action=review
> 
> > Tools/DumpRenderTree/mac/DumpRenderTree.mm:855
> > +    // [preferences _resetToDefaultValuesForTesting];
> 
> This seems to have done it.  Please don't commit this, though.

Oh, I'm very well aware it's the reset that is breaking things (and won't commit until I figure it out and fix it), I've done a variety of different reset methods and they all cause the breakage. Ordinarily I would just debug it, but can't at the moment, so am doing triage via the bots :(.
Comment 44 Sam Weinig 2020-10-24 11:31:06 PDT
Created attachment 412243 [details]
Patch
Comment 45 Sam Weinig 2020-10-24 11:56:37 PDT
Created attachment 412244 [details]
Patch
Comment 46 Radar WebKit Bug Importer 2020-10-24 14:38:20 PDT
<rdar://problem/70653177>
Comment 47 Sam Weinig 2020-10-24 16:51:02 PDT
Created attachment 412252 [details]
Patch
Comment 48 Sam Weinig 2020-10-24 17:11:33 PDT
Created attachment 412253 [details]
Experiment: Remove setSharedURLCache  and add _resetToDefaultValuesForTesting
Comment 49 Sam Weinig 2020-10-24 17:13:23 PDT
Created attachment 412254 [details]
Experiment: Remove setSharedURLCache and new WebPreferences per test
Comment 50 Sam Weinig 2020-10-24 18:55:47 PDT
Created attachment 412256 [details]
Patch
Comment 51 Sam Weinig 2020-10-25 08:57:36 PDT
Created attachment 412264 [details]
Patch
Comment 52 Sam Weinig 2020-11-01 12:20:31 PST
This ended up being done in via other changes in a slightly different way.