<script src="../../../resources/js-test.js"></script>
<script>
description('State vector should be empty if nothing is saved.');
if (window.internals) {
var states = internals.formControlStateOfHistoryItem();
shouldBe('states.length', '0');
} else {
debug('Need internals.formControlStateOfPreviousHistoryItem().');
}
jsTestIsAsync = true;
finishJSTest();
</script>