From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- dom/base/test/script-1_bug597345.sjs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dom/base/test/script-1_bug597345.sjs (limited to 'dom/base/test/script-1_bug597345.sjs') diff --git a/dom/base/test/script-1_bug597345.sjs b/dom/base/test/script-1_bug597345.sjs new file mode 100644 index 0000000000..00180c997f --- /dev/null +++ b/dom/base/test/script-1_bug597345.sjs @@ -0,0 +1,22 @@ +// timer has to be alive so it can't be eaten by the GC. +var timer; + +function handleRequest(request, response) { + response.setHeader("Cache-Control", "no-cache", false); + response.setHeader("Content-Type", "text/javascript", false); + // The "stray" open comment at the end of the write is important! + response.write( + "document.write(\"