PR-URL: https://github.com/nodejs/node/pull/39697 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
12 lines
245 B
HTML
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>
|