| Index: LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/history_state.html
|
| diff --git a/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/history_state.html b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/history_state.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..eab9e658d9e1be2853092f2176c4a33f2f3dd879
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-history-interface/history_state.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE HTML>
|
| +<html>
|
| + <head>
|
| + <title>history_state</title>
|
| + <script src="../../../../../../resources/testharness.js"></script>
|
| + <script src="../../../../../../resources/testharnessreport.js"></script>
|
| + </head>
|
| + <body>
|
| + <div id="log"></div>
|
| + <script>
|
| + test(function () {
|
| + var first;
|
| + var second;
|
| +
|
| + first = window.history.state;
|
| + window.history.pushState(1, document.title, '?x=1');
|
| +
|
| + second = window.history.state;
|
| + assert_equals(first, null, "first");
|
| + assert_equals(second, 1, "second");
|
| + }, "history state");
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|