WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
163488
[GTK] Add WebCore API so that UserAgentQuirks test can create its own quirks
https://bugs.webkit.org/show_bug.cgi?id=163488
Summary
[GTK] Add WebCore API so that UserAgentQuirks test can create its own quirks
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug