node/test/fixtures/wpt/common/window-name-setter.html
Michaël Zasso 24673ace8a test: update WPT common and resources
PR-URL: https://github.com/nodejs/node/pull/39697
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-08-11 17:02:09 +00:00

12 lines
245 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>A page that sets window.name</title>
<script>
"use strict";
window.onload = () => {
window.name = location.hash.slice(1); // Drop the first '#' character.
window.name = "spices";
};
</script>