Closed Bug 1020616 Opened 7 years ago Closed 5 years ago
Ensure form and document are valid at start of request
Basic checks to make sure that the form is allowed to trigger a requestAutocomplete. Namely, that the form has an active document, and the form's autocomplete attribute is not "off". We'll need bug 1020602 first for testing, where calling the mock UI component will be used to verify that the form was valid.
(In reply to Brian Nicholson (:bnicholson) from comment #0) > We'll need bug 1020602 first for testing Think I meant bug 1020495.
We should also have tests for the form not having a window, which can happen as described in https://bugzilla.mozilla.org/show_bug.cgi?id=1020440#c6: > The issue is that .defaultView returns null for data documents, > so the js code would throw an exception for > document.implementation.createHTMLDocument().createElement("form"). > requestAutocomplete();
Assignee: bnicholson → nobody
Status: ASSIGNED → NEW
requestAutocomplete was removed from the HTML specification.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.