diff --git a/browser/extensions/formautofill/test/browser/head.js b/browser/extensions/formautofill/test/browser/head.js index 9f4cc6dacc6c..8de8060ef9f4 100644 --- a/browser/extensions/formautofill/test/browser/head.js +++ b/browser/extensions/formautofill/test/browser/head.js @@ -590,7 +590,7 @@ add_task(function setup() { OSKeyStoreTestUtils.setup(); }); -registerCleanupFunction(removeAllRecords); registerCleanupFunction(async () => { + await removeAllRecords(); await OSKeyStoreTestUtils.cleanup(); }); diff --git a/browser/extensions/formautofill/test/fixtures/third_party/DirectAsda/Payment.html b/browser/extensions/formautofill/test/fixtures/third_party/DirectAsda/Payment.html new file mode 100644 index 000000000000..5a5b066f509a --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/DirectAsda/Payment.html @@ -0,0 +1,90 @@ + + + +
+ + + +