summaryrefslogtreecommitdiffstats
path: root/dom/html/test/forms/test_valueAsDate_pref.html
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-16 08:30:27 -0400
committerGitHub <noreply@github.com>2018-04-16 08:30:27 -0400
commitc394a5f8710e9e83e8caa3f524aca4a80309b7cb (patch)
tree4d6358da9eb9d21d0e85f4732e88c5e7c0391125 /dom/html/test/forms/test_valueAsDate_pref.html
parenta557bfae78557c5134874683fc7a8121f6b5deb1 (diff)
parentc55addfa6422cd6fd3886f914b71139c4dd0edcc (diff)
downloadUXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.gz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.lz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.tar.xz
UXP-c394a5f8710e9e83e8caa3f524aca4a80309b7cb.zip
Merge pull request #180 from janekptacijarabaci/html_input_datetime_2
HTML - input - datetime - support for "dom.forms.datetime.others"
Diffstat (limited to 'dom/html/test/forms/test_valueAsDate_pref.html')
-rw-r--r--dom/html/test/forms/test_valueAsDate_pref.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/dom/html/test/forms/test_valueAsDate_pref.html b/dom/html/test/forms/test_valueAsDate_pref.html
index 8518c291b..0369980e4 100644
--- a/dom/html/test/forms/test_valueAsDate_pref.html
+++ b/dom/html/test/forms/test_valueAsDate_pref.html
@@ -12,8 +12,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=874640
/** Test for Bug 874640 **/
var states = [
- // dom.experimental_forms, dom.forms.datepicker, dom.forms.datetime, expectedValueAsDate
- [ 'true', 'true', 'true', 'true' ],
+ // dom.experimental_forms, dom.forms.datetime, dom.forms.datetime.others, expectedValueAsDate
+ [ 'true', 'true', ,'true', 'true' ],
[ 'true', 'false', 'false', 'true' ],
[ 'false', 'true', 'false', 'true' ],
[ 'false', 'false', 'true', 'true' ],
@@ -33,8 +33,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=874640
SpecialPowers.pushPrefEnv({"set":[
["dom.experimental_forms", state[0] === 'true'],
- ["dom.forms.datepicker", state[1] === 'true'],
- ["dom.forms.datetime", state[2] === 'true']]},
+ ["dom.forms.datetime", state[1] === 'true'],
+ ["dom.forms.datetime.others", state[2] === 'true']]},
function() {
iframe.src = 'data:text/html,<script>' +
'parent.is("valueAsDate" in document.createElement("input"), ' +