summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-04 19:41:06 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-04 19:41:06 +0000
commit914368530ba622ff0117cd34bec058fb0d862155 (patch)
tree6c29459914d1b01ed27fad039d0b982d1dbc32c3 /testing/web-platform/mozilla/tests
parentc5ad76a2875ca5c06c5bbff7b2f2e3ff7b3599c3 (diff)
downloadUXP-914368530ba622ff0117cd34bec058fb0d862155.tar
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.gz
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.lz
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.xz
UXP-914368530ba622ff0117cd34bec058fb0d862155.zip
Issue #439 - Remove web-platform tests from the tree.
This removes a total of 23,936 files we would never use nor have the capacity to properly maintain or keep up-to-date.
Diffstat (limited to 'testing/web-platform/mozilla/tests')
-rw-r--r--testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html25
-rw-r--r--testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js2
-rw-r--r--testing/web-platform/mozilla/tests/html/syntax/parsing/math-parse01.html62
-rw-r--r--testing/web-platform/mozilla/tests/placeholder6
4 files changed, 0 insertions, 95 deletions
diff --git a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html
deleted file mode 100644
index 44337a021..000000000
--- a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/create-module-script.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>Insert non-async module script</title>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script>
- var test = async_test("Create module script")
- var moduleRan = false;
- function loadModule() {
- var script = document.createElement("script");
- script.onerror = function() {
- test.step(() => assert_unreached("Should not get an error"));
- test.done();
- };
- script.onload = function() {
- test.step(() => assert_equals(moduleRan, true));
- test.done();
- };
- script.type = "module";
- script.src = "support/module.js";
- script.async = false;
- document.documentElement.appendChild(script);
- }
-</script>
-<body onload='loadModule()'></body>
diff --git a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js b/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js
deleted file mode 100644
index e4d6289d5..000000000
--- a/testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/module.js
+++ /dev/null
@@ -1,2 +0,0 @@
-export default 42;
-moduleRan = true;
diff --git a/testing/web-platform/mozilla/tests/html/syntax/parsing/math-parse01.html b/testing/web-platform/mozilla/tests/html/syntax/parsing/math-parse01.html
deleted file mode 100644
index 3aff716d9..000000000
--- a/testing/web-platform/mozilla/tests/html/syntax/parsing/math-parse01.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>math in html: parsing</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-</head>
-<body>
-<h1>math in html: parsing</h1>
-
-<div id="log" style="display:block"></div>
-
-<div style="display:none">
-<div><math id="m1"><mtext/></math></div>
-<div id="d1"><math><mrow/><mi/></math></div>
-<div id="d2"><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></div>
-<div id="d3">&lang;&rang;</div>
-<div id="d4">&Kopf;</div>
-<div id="d5"><math><semantics><mi>a</mi><annotation-xml><foo/><bar/></annotation-xml></semantics></math></div>
-<div id="d6"><math><semantics><mi>a</mi><annotation-xml encoding="text/html"><div></div></annotation-xml></semantics><mn/></math>
-</div>
-
-
-<script>
-
-test(function() {
-assert_equals(document.getElementById("m1"),document.getElementsByTagName("math")[0]);
-},"The id attribute should be recognised on math elements");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.nodeName,"math")
-},"The node name should be math");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.namespaceURI ,"http://www.w3.org/1998/Math/MathML")
-},"math should be in MathML Namespace");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.childNodes.length ,2)
-},"Math has 2 children (empty tag syntax)");
-
-test(function() {
-assert_equals(document.getElementById("d2").firstChild.childNodes.length ,1)
-},"Nested mrow elements should be parsed correctly");
-
-test(function() {
-assert_equals(document.getElementById("d3").firstChild.nodeValue ,"\u27E8\u27E9")
-},"Testing rang and lang entity code points");
-
-test(function() {
-assert_equals(document.getElementById("d4").firstChild.nodeValue ,"\uD835\uDD42")
-},"Testing Kopf (Plane 1) entity code point");
-
-test(function() {
-assert_equals(document.getElementById("d5").firstChild.firstChild.childNodes[1].childNodes.length ,2)
-},"Empty element tags in annotation-xml parsed as per XML.");
-
-test(function() {
-assert_equals(document.getElementById("d6").firstChild.childNodes.length ,2)
-},"html tags allowed in annotation-xml/@encoding='text/html'.");
-
-</script>
diff --git a/testing/web-platform/mozilla/tests/placeholder b/testing/web-platform/mozilla/tests/placeholder
deleted file mode 100644
index 92dd3d515..000000000
--- a/testing/web-platform/mozilla/tests/placeholder
+++ /dev/null
@@ -1,6 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-This is a placeholder file to ensure that this directory remains
-in source control and test packages even when it is otherwise empty. \ No newline at end of file