Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / resources / state-restore-empty-state-1.html
blobbabc559f97ea730d4fe34615244517519f12ae89
1 <script src="../../../resources/js-test.js"></script>
2 <script>
3 description('State vector should be empty if nothing is saved.');
4 if (window.internals) {
5 var states = internals.formControlStateOfHistoryItem();
6 shouldBe('states.length', '0');
7 } else {
8 debug('Need window.internals.formControlStateOfPreviousHistoryItem().');
10 jsTestIsAsync = true;
11 finishJSTest();
12 </script>