1 This tests that modifying location.hash works as it should
3 PASS: window.history.length == originalHistoryLength should be true and is.
4 PASS: window.location.hash should be and is.
5 PASS: window.location.hash should be #foo and is.
6 PASS: window.location == originalLocation + '#foo' should be true and is.
7 PASS: window.history.length == originalHistoryLength + 1 should be true and is.
8 PASS: window.location.hash should be #bar and is.
9 PASS: window.location == originalLocation + '#bar' should be true and is.
10 PASS: window.history.length == originalHistoryLength + 2 should be true and is.
11 PASS: window.location.hash should be #bar and is.
12 PASS: window.location == originalLocation + '#bar' should be true and is.
13 PASS: window.history.length == originalHistoryLength + 2 should be true and is.
14 PASS: window.location.hash should be #bar and is.
15 PASS: window.location == originalLocation + '#bar' should be true and is.
16 PASS: window.location.hash should be #bar and is.
17 PASS: window.location == originalLocation + '#bar' should be true and is.
18 PASS: window.location.hash should be #foo and is.
19 PASS: window.location == originalLocation + '#foo' should be true and is.
20 PASS: window.location.hash should be #foo and is.
21 PASS: window.location == originalLocation + '#foo' should be true and is.
22 PASS: window.location.hash should be and is.
23 PASS: window.location == originalLocation should be true and is.
24 PASS: window.location.hash should be and is.
25 PASS: window.location == originalLocation should be true and is.
26 PASS: window.location.hash should be #foo and is.
27 PASS: window.location == originalLocation + '#foo' should be true and is.
28 PASS: window.location.hash should be and is.
29 PASS: window.location == originalLocation + '#' should be true and is.
30 PASS: window.location.hash should be and is.
31 PASS: window.location == originalLocation + '#' should be true and is.