Bug 240189

Summary: Remove the abandoned NeedsAdobeFrameReloadingQuirk preference
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, karlcow, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brent Fulgham 2022-05-06 15:25:48 PDT
Remove the NeedsAdobeFrameReloadingQuirk preference which is an internal-only setting that is no longer used in any WebKit code or testing.
Comment 1 Brent Fulgham 2022-05-06 15:31:35 PDT
Created attachment 458977 [details]
Patch
Comment 2 Brent Fulgham 2022-05-06 16:10:23 PDT
This is still used in one place, so not ready to remove this yet.
Comment 3 Brent Fulgham 2022-05-09 13:19:17 PDT
*** Bug 239629 has been marked as a duplicate of this bug. ***
Comment 4 Radar WebKit Bug Importer 2022-05-13 15:26:13 PDT
<rdar://problem/93270432>
Comment 5 Tim Nguyen (:ntim) 2023-01-06 17:37:22 PST
The only usage seems to be at: https://searchfox.org/wubkat/rev/bfe2441d9e38a24d34f9bf9a8de6a19b07dd20a6/Source/WebCore/html/HTMLFrameElementBase.cpp#176-180

Karl do you know if this is needed?
Comment 6 Karl Dubost 2023-01-09 18:43:22 PST
In https://github.com/WebKit/WebKit/blob/813f05167ea5885831eb6e2dd7797685bce21fbc/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#L3987

It says:

> FIXME: This quirk is needed because of Radar 4674537 and 5211271

These bugs were from 2006 and 2007. I doubt they are relevant now. 

Let's track the initial commits for this
https://github.com/search?q=repo%3AWebKit%2FWebKit+NeedsAdobeFrameReloadingQuirk&type=commits

The check was applied for very old versions of Adobe product family Version 8 and less 
https://github.com/WebKit/WebKit/commit/5b1db51fac46e84bda37a1de4e0b3b1229e5d4f2

Most of these are not supported by Adobe anymore.
https://helpx.adobe.com/support/programs/eol-matrix.html

Adobe has also mostly switched to an online web app business model. 


I think we can remove it.
Comment 7 Karl Dubost 2023-01-09 18:44:29 PST
Brent, when you said:

> This is still used in one place, so not ready to remove this yet.


What did you have in mind?
Used as in the WebKit code, or as used in one product out there?
Comment 8 Brent Fulgham 2023-01-09 18:48:58 PST
(In reply to Karl Dubost from comment #7)
> Brent, when you said:
> 
> > This is still used in one place, so not ready to remove this yet.
> 
> 
> What did you have in mind?
> Used as in the WebKit code, or as used in one product out there?

It’s used by one of the Adobe installers on macOS. I’m not sure how long it’s been since they stopped using this code oath.

If it predates the 32-bit deprecation, maybe we can get rid of it.
Comment 9 Karl Dubost 2023-01-09 19:02:06 PST
January 2018  was the date for the deprecation 
Let's remove it.
Comment 10 Ahmad Saleem 2024-01-18 18:57:56 PST
Removed in Blink in 2013 here: https://src.chromium.org/viewvc/blink?view=revision&revision=147891