Bug 1420229 - Run formautofill xpcshell tests in headless mode;r=bdahl draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Tue, 23 Jan 2018 12:59:06 -0800
changeset 723806 d0cd013c2d1a980406c96a3fd6243ff9d2f33ed3
parent 723788 c5461973d6ee7845b3f560c05e1502429fd63184
child 723807 1fdb1e1beb0d570018635ad1e4ab9c107d6c85bd
push id96536
push userbgrinstead@mozilla.com
push dateTue, 23 Jan 2018 21:00:28 +0000
reviewersbdahl
bugs1420229
milestone60.0a1
Bug 1420229 - Run formautofill xpcshell tests in headless mode;r=bdahl This is needed because DOMParser is invoked on some fixture HTML that contains an <svg> element (Walmart/Payment.html). When this happens **and** there is a declaration for `color: MenuText` in a UA stylesheet (which is added in the next changeset), there is a graphics crash. This is fixed in the new headless mode, so this changeset forces the directory to run in it. MozReview-Commit-ID: 9T8eFOW4xoz
browser/extensions/formautofill/test/unit/xpcshell.ini
--- a/browser/extensions/formautofill/test/unit/xpcshell.ini
+++ b/browser/extensions/formautofill/test/unit/xpcshell.ini
@@ -1,10 +1,11 @@
 [DEFAULT]
 firefox-appdir = browser
+headless = true
 head = head.js
 support-files =
   ../fixtures/**
 
 [heuristics/test_basic.js]
 [heuristics/test_cc_exp.js]
 [heuristics/test_de_fields.js]
 [heuristics/test_multiple_section.js]