blob: 5180a3f6e526d4168c1d877dc23eabc88f2060bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE HTML>
<html>
<head>
<title>history_pushState</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
test(function () {
window.history.pushState(1, document.title, '?x=1');
var state;
state = window.history.state;
assert_equals(state, 1, "history state");
}, "history pushState");
</script>
</body>
</html>
|