Bug 163488

Summary: [GTK] Add WebCore API so that UserAgentQuirks test can create its own quirks
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bugs-noreply, mcatanzaro, olivier.blin
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   

Michael Catanzaro
Reported 2016-10-15 07:43:24 PDT
It's not desirable to keep the same list of quirks in both the unit test and the quirks plugin. We should add a WebCore API so that the unit test can add its own quirks, that way it can test that the quirks class works properly without requiring that we update it each time we add new quirks.
Attachments
Michael Catanzaro
Comment 1 2016-10-16 11:19:48 PDT
This will also be step one towards reusing the same list of quirks between GTK, WPE, and maybe also EFL ports. We surely want our own port-specific user-agent classes and the quirks will ultimately need to be implemented there, but we can at least move the list of quirks to a central location.
Michael Catanzaro
Comment 2 2016-10-16 12:53:15 PDT
I wound up changing my mind about this, see bug #163481#c8. (In reply to comment #1) > This will also be step one towards reusing the same list of quirks between > GTK, WPE, and maybe also EFL ports. We surely want our own port-specific > user-agent classes and the quirks will ultimately need to be implemented > there, but we can at least move the list of quirks to a central location. Still want to do this, bug #163508.
Note You need to log in before you can comment on or make changes to this bug.