Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<!-- Put this page in a sandbox to give it an opaque origin -->
<script>
test(t => {
assert_throws_dom("InvalidStateError", () => {
navigation.updateCurrentEntry({ state: 1 });
});
}, "navigation.updateCurrentEntry() in an opaque origin iframe");
</script>