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.
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.
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.