WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
217880
[Testing] Convert DumpRenderTree to use generated test header options
https://bugs.webkit.org/show_bug.cgi?id=217880
Summary
[Testing] Convert DumpRenderTree to use generated test header options
Sam Weinig
Reported
2020-10-17 14:37:33 PDT
[Testing] Convert DumpRenderTree to use generated test header options
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
Show Obsolete
(24)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2020-10-17 14:52:36 PDT
Comment hidden (obsolete)
Created
attachment 411678
[details]
Patch
Sam Weinig
Comment 2
2020-10-17 14:56:11 PDT
Created
attachment 411680
[details]
Patch
Sam Weinig
Comment 3
2020-10-17 17:08:22 PDT
Created
attachment 411688
[details]
Patch
Sam Weinig
Comment 4
2020-10-17 17:08:36 PDT
Going to try making the VPATH include the erb files.
Sam Weinig
Comment 5
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.
Sam Weinig
Comment 6
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.
Darin Adler
Comment 7
2020-10-17 17:34:54 PDT
I don’t see a "cat" command anywhere in DerivedSources.make.
Darin Adler
Comment 8
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.
Sam Weinig
Comment 9
2020-10-17 18:00:53 PDT
Comment hidden (obsolete)
Created
attachment 411689
[details]
Patch
Sam Weinig
Comment 10
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
Sam Weinig
Comment 11
2020-10-17 18:41:18 PDT
Comment hidden (obsolete)
Created
attachment 411693
[details]
Patch
Sam Weinig
Comment 12
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.
Sam Weinig
Comment 13
2020-10-17 19:13:13 PDT
Comment hidden (obsolete)
Created
attachment 411695
[details]
Patch
Sam Weinig
Comment 14
2020-10-18 09:19:36 PDT
Comment hidden (obsolete)
Created
attachment 411706
[details]
Patch
Sam Weinig
Comment 15
2020-10-18 10:04:47 PDT
Comment hidden (obsolete)
Created
attachment 411707
[details]
Patch
Sam Weinig
Comment 16
2020-10-18 10:30:09 PDT
Comment hidden (obsolete)
Created
attachment 411709
[details]
Patch
Sam Weinig
Comment 17
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.
Darin Adler
Comment 18
2020-10-18 11:40:29 PDT
Yes, that does seem like a great solution. Less exotic than the others, too.
Sam Weinig
Comment 19
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.
Sam Weinig
Comment 20
2020-10-18 11:53:52 PDT
Comment hidden (obsolete)
Created
attachment 411711
[details]
Patch
Sam Weinig
Comment 21
2020-10-18 12:53:57 PDT
Comment hidden (obsolete)
Created
attachment 411712
[details]
Patch
Sam Weinig
Comment 22
2020-10-18 12:57:56 PDT
Comment hidden (obsolete)
Created
attachment 411713
[details]
Patch
Sam Weinig
Comment 23
2020-10-18 13:02:00 PDT
Comment hidden (obsolete)
Created
attachment 411714
[details]
Patch
Sam Weinig
Comment 24
2020-10-18 13:11:53 PDT
Comment hidden (obsolete)
Created
attachment 411715
[details]
Patch
Sam Weinig
Comment 25
2020-10-18 13:22:45 PDT
Comment hidden (obsolete)
Created
attachment 411716
[details]
Patch
Sam Weinig
Comment 26
2020-10-18 18:29:33 PDT
Comment hidden (obsolete)
Created
attachment 411723
[details]
Patch
Sam Weinig
Comment 27
2020-10-18 18:43:24 PDT
Created
attachment 411724
[details]
Patch
Darin Adler
Comment 28
2020-10-18 22:13:33 PDT
Looks like those tests are passing.
Sam Weinig
Comment 29
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.
Aakash Jain
Comment 30
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
Sam Weinig
Comment 31
2020-10-23 09:08:35 PDT
Created
attachment 412186
[details]
Patch
Sam Weinig
Comment 32
2020-10-23 09:18:04 PDT
Created
attachment 412189
[details]
Patch
Darin Adler
Comment 33
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.
Sam Weinig
Comment 34
2020-10-23 09:31:26 PDT
Created
attachment 412190
[details]
Patch
Sam Weinig
Comment 35
2020-10-23 09:43:25 PDT
Created
attachment 412191
[details]
Patch
Sam Weinig
Comment 36
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.
Sam Weinig
Comment 37
2020-10-23 10:38:50 PDT
Created
attachment 412194
[details]
Patch
Sam Weinig
Comment 38
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.
Sam Weinig
Comment 39
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.)
Alex Christensen
Comment 40
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.
Sam Weinig
Comment 41
2020-10-23 18:08:20 PDT
Created
attachment 412219
[details]
Patch
Alex Christensen
Comment 42
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.
Sam Weinig
Comment 43
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 :(.
Sam Weinig
Comment 44
2020-10-24 11:31:06 PDT
Created
attachment 412243
[details]
Patch
Sam Weinig
Comment 45
2020-10-24 11:56:37 PDT
Created
attachment 412244
[details]
Patch
Radar WebKit Bug Importer
Comment 46
2020-10-24 14:38:20 PDT
<
rdar://problem/70653177
>
Sam Weinig
Comment 47
2020-10-24 16:51:02 PDT
Created
attachment 412252
[details]
Patch
Sam Weinig
Comment 48
2020-10-24 17:11:33 PDT
Created
attachment 412253
[details]
Experiment: Remove setSharedURLCache and add _resetToDefaultValuesForTesting
Sam Weinig
Comment 49
2020-10-24 17:13:23 PDT
Created
attachment 412254
[details]
Experiment: Remove setSharedURLCache and new WebPreferences per test
Sam Weinig
Comment 50
2020-10-24 18:55:47 PDT
Created
attachment 412256
[details]
Patch
Sam Weinig
Comment 51
2020-10-25 08:57:36 PDT
Created
attachment 412264
[details]
Patch
Sam Weinig
Comment 52
2020-11-01 12:20:31 PST
This ended up being done in via other changes in a slightly different way.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug