Tweak how quirks tests are set up to work better in gecko
Merge pull request #1468 from zcorpan/quirks-onload-tweak

Tweak how quirks tests are set up to work better in gecko