blob: 8e4b049a19e05cb53b622ab8a954f8ee2823b35a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE HTML>
<html>
<head>
<title>history_pushState_NoOptionalParam</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);
var state;
state = window.history.state;
assert_equals(state, 1, "history state");
}, "history pushState NoOptionalParam");
</script>
</body>
</html>
|