Bug 163488
Summary: | [GTK] Add WebCore API so that UserAgentQuirks test can create its own quirks | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro, olivier.blin |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | PC | ||
OS: | Linux |
Michael Catanzaro
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
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
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.