diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /dom/tests/mochitest/ajax/offline/namespace1 | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/tests/mochitest/ajax/offline/namespace1')
6 files changed, 36 insertions, 0 deletions
diff --git a/dom/tests/mochitest/ajax/offline/namespace1/opp.html b/dom/tests/mochitest/ajax/offline/namespace1/opp.html new file mode 100644 index 0000000000..daf4abf213 --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/opp.html @@ -0,0 +1,9 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Falback namespace page 1</title> +</head> + +<body> +Page in fall back namespace No. 1 +</body> +</html> diff --git a/dom/tests/mochitest/ajax/offline/namespace1/redirectToDifferentOrigin.sjs b/dom/tests/mochitest/ajax/offline/namespace1/redirectToDifferentOrigin.sjs new file mode 100644 index 0000000000..a64e00e044 --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/redirectToDifferentOrigin.sjs @@ -0,0 +1,6 @@ +function handleRequest(request, response) +{ + response.setStatusLine(request.httpVersion, 307, "Moved temporarly"); + response.setHeader("Location", "https://example.org/tests/dom/tests/mochitest/ajax/offline/fallback2.html"); + response.setHeader("Content-Type", "text/html"); +} diff --git a/dom/tests/mochitest/ajax/offline/namespace1/script.js b/dom/tests/mochitest/ajax/offline/namespace1/script.js new file mode 100644 index 0000000000..61ffb174f2 --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/script.js @@ -0,0 +1,4 @@ +function scriptNo0Function() +{ + return true; +} diff --git a/dom/tests/mochitest/ajax/offline/namespace1/sub/opp.html b/dom/tests/mochitest/ajax/offline/namespace1/sub/opp.html new file mode 100644 index 0000000000..2d0996553d --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/sub/opp.html @@ -0,0 +1,9 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Falback namespace page 2</title> +</head> + +<body> +Page in fall back namespace No. 2 +</body> +</html> diff --git a/dom/tests/mochitest/ajax/offline/namespace1/sub/script1.js b/dom/tests/mochitest/ajax/offline/namespace1/sub/script1.js new file mode 100644 index 0000000000..30829316b2 --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/sub/script1.js @@ -0,0 +1,4 @@ +function scriptNo1Function() +{ + return true; +} diff --git a/dom/tests/mochitest/ajax/offline/namespace1/sub2/script2.js b/dom/tests/mochitest/ajax/offline/namespace1/sub2/script2.js new file mode 100644 index 0000000000..586d39a19c --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/sub2/script2.js @@ -0,0 +1,4 @@ +function scriptNo2Function() +{ + return true; +} |