Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Unified Diff: LayoutTests/fast/forms/autocomplete-expected.txt

Issue 133703002: Compatible handling of the form.autocomplete IDL attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/autocomplete-expected.txt
diff --git a/LayoutTests/fast/forms/autocomplete-expected.txt b/LayoutTests/fast/forms/autocomplete-expected.txt
index d16a92c8f7e50338315d67ac6dda976b7bdb5ddb..c6905aafa779c4d3288b385e60dcbcc1d5bf96e0 100644
--- a/LayoutTests/fast/forms/autocomplete-expected.txt
+++ b/LayoutTests/fast/forms/autocomplete-expected.txt
@@ -1,16 +1,18 @@
This tests that the 'autocomplete' attribute of form and input elements is bound to a JavaScript property.
-PASS successfullyParsed is true
-
-TEST COMPLETE
PASS ('autocomplete' in form) is true
PASS ('autocomplete' in field) is true
PASS form.getAttribute('autocomplete') is null
PASS field.getAttribute('autocomplete') is null
-PASS form.autocomplete is ""
-PASS field.autocomplete is ""
-PASS form.getAttribute('autocomplete') is "off"
-PASS field.getAttribute('autocomplete') is "off"
PASS form.autocomplete is "on"
-PASS field.autocomplete is "on"
+PASS field.autocomplete is ""
+PASS form.autocomplete = 'off'; form.getAttribute('autocomplete') is "off"
+PASS field.autocomplete = 'off'; field.getAttribute('autocomplete') is "off"
+PASS form.setAttribute('autocomplete', 'on'); form.autocomplete is "on"
+PASS field.setAttribute('autocomplete', 'on'); field.autocomplete is "on"
+PASS form.setAttribute('autocomplete', 'indeterminate'); form.autocomplete is "on"
+PASS field.setAttribute('autocomplete', 'indeterminate'); field.autocomplete is "indeterminate"
+PASS successfullyParsed is true
+
+TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698