2 <script src=
"/resources/testharness.js"></script>
3 <script src=
"/resources/testharnessreport.js"></script>
6 navigation
.navigate("#", { replace
: true, state
: { data
: "value" } });
7 assert_equals(navigation
.currentEntry
.getState().data
, "value");
8 history
.replaceState(1, "", "#replace");
9 assert_equals(navigation
.currentEntry
.getState(), undefined);
10 }, "appHistoryEntry.getState() after history.replaceState()");