1
0
Fork 0
firefox/testing/web-platform/tests/common/window-name-setter.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02: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>