(no bug) Add labels to the various is() checks in test_initial_storage.html, to aid in diagnosing test-failures. r=dholbert

This commit is contained in:
Simon Sapin 2014-03-05 16:53:08 -08:00
Родитель cd3950ff3f
Коммит 4d169705e6
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -41,7 +41,8 @@ function test_property(property)
var val = gDeclaration.getPropertyValue(sproperty);
is(val, "", "value of '" + sproperty + "' before we do anything");
is(val, gDeclaration[sinfo.domProp],
"consistency between decl.getPropertyValue('" + sproperty + "') and decl." + sinfo.domProp);
"(initial) consistency between decl.getPropertyValue('" + sproperty +
"') and decl." + sinfo.domProp);
}
check_initial(property);
if ("subproperties" in info)
@ -56,7 +57,7 @@ function test_property(property)
is(val, keyword,
keyword + " reported back for property '" + sproperty + "'");
is(val, gDeclaration[sinfo.domProp],
"consistency between decl.getPropertyValue('" + sproperty +
"(set) consistency between decl.getPropertyValue('" + sproperty +
"') and decl." + sinfo.domProp);
}
check_set(property);
@ -81,7 +82,8 @@ function test_property(property)
var val = gDeclaration.getPropertyValue(sproperty);
is(val, "", "value of '" + sproperty + "' after removal of value");
is(val, gDeclaration[sinfo.domProp],
"consistency between decl.getPropertyValue('" + sproperty + "') and decl." + sinfo.domProp);
"(final) consistency between decl.getPropertyValue('" + sproperty +
"') and decl." + sinfo.domProp);
}
check_final(property);
if ("subproperties" in info)