diff options
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 000000000..daf4abf21 --- /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 000000000..22e9e146c --- /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", "http://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 000000000..61ffb174f --- /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 000000000..2d0996553 --- /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 000000000..30829316b --- /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 000000000..586d39a19 --- /dev/null +++ b/dom/tests/mochitest/ajax/offline/namespace1/sub2/script2.js @@ -0,0 +1,4 @@ +function scriptNo2Function() +{ + return true; +} |