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