summaryrefslogtreecommitdiffstats
path: root/LayoutTests
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-09-15 15:42:09 +0100
committerIain Merrick <husky@google.com>2010-09-15 15:51:18 +0100
commit98b7744e68d16f0e757de127aa47a06db10cda0b (patch)
tree1fb4f7e9db36dd4217872c2a43c1c3643fbe44d8 /LayoutTests
parent7f2a883e6aacf727dc60d0eb38622ca99826a75f (diff)
downloadexternal_webkit-98b7744e68d16f0e757de127aa47a06db10cda0b.zip
external_webkit-98b7744e68d16f0e757de127aa47a06db10cda0b.tar.gz
external_webkit-98b7744e68d16f0e757de127aa47a06db10cda0b.tar.bz2
Remove LayoutTests/fast/dom/StyleSheet
These tests were added in https://android-git.corp.google.com/g/#change,64773 but they don't all pass with the JSC JavaScript engine. Change-Id: I93e4b6778b826fc453f0cfc0e60a44938b17fa5d
Diffstat (limited to 'LayoutTests')
-rw-r--r--LayoutTests/fast/dom/StyleSheet/css-medialist-item-expected.txt14
-rw-r--r--LayoutTests/fast/dom/StyleSheet/css-medialist-item.html13
-rw-r--r--LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname-expected.txt10
-rw-r--r--LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html13
-rw-r--r--LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2-expected.txt3
-rw-r--r--LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2.html37
-rw-r--r--LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-expected.txt3
-rw-r--r--LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime.html33
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html13
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js16
-rw-r--r--LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js8
11 files changed, 0 insertions, 163 deletions
diff --git a/LayoutTests/fast/dom/StyleSheet/css-medialist-item-expected.txt b/LayoutTests/fast/dom/StyleSheet/css-medialist-item-expected.txt
deleted file mode 100644
index 1468f1b..0000000
--- a/LayoutTests/fast/dom/StyleSheet/css-medialist-item-expected.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-This tests indexing outside the range of the media list object.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS mediaList.length is 2
-PASS mediaList[0] is "screen"
-PASS mediaList[1] is "print"
-PASS mediaList[2] is null
-PASS mediaList[-1] is undefined.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/dom/StyleSheet/css-medialist-item.html b/LayoutTests/fast/dom/StyleSheet/css-medialist-item.html
deleted file mode 100644
index 4d0c598..0000000
--- a/LayoutTests/fast/dom/StyleSheet/css-medialist-item.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href="../../js/resources/js-test-style.css">
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="script-tests/css-medialist-item.js"></script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname-expected.txt b/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname-expected.txt
deleted file mode 100644
index 31fb4c8..0000000
--- a/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname-expected.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-This test verifies that a StyleSheet object will be returned instead of a HTMLStyleElement when calling document.styleSheets named property getter.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS document.styleSheets["test"] is styleElement.sheet
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html b/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html
deleted file mode 100644
index ed23080..0000000
--- a/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href="../../js/resources/js-test-style.css">
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="script-tests/get-stylesheet-byname.js"></script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2-expected.txt b/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2-expected.txt
deleted file mode 100644
index 5e51726..0000000
--- a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2-expected.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This test verifies that style sheet do not outlive their elements. Since you can get back to the element with the ownerNode attribute, it's important to keep the element alive.
-
-Test passed.
diff --git a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2.html b/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2.html
deleted file mode 100644
index ca6fa16..0000000
--- a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<link rel="stylesheet" type="text/css" href="theme.css"/>
-
-<script>
-function runTest() {
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- var linkElement = document.getElementsByTagName('link')[0];
- var styleSheet = linkElement.sheet;
-
- // delete link element
- linkElement.parentNode.removeChild(linkElement);
- linkElement = null;
-
- if (window.gc) {
- window.gc();
- } else if (GCController) {
- GCController.collect();
- } else {
- for (var i = 0; i < 10000; i++)
- new Object();
- }
- styleSheet.ownerNode.cloneNode();
-
- document.getElementById("result").innerHTML = "Test passed.";
-}
-</script>
-<body onload="runTest()">
-<p>
-This test verifies that style sheet do not outlive their elements.
-Since you can get back to the element with the ownerNode attribute,
-it's important to keep the element alive.
-</p>
-<p id="result">TEST HAS NOT RUN YET.</p>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-expected.txt b/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-expected.txt
deleted file mode 100644
index d92e2d7..0000000
--- a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-expected.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-This test verifies that style sheets do not outlive their elements. Since you can get back to the element with the ownerNode attribute, it's important to keep the element alive.
-
-Test passed.
diff --git a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime.html b/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime.html
deleted file mode 100644
index 54b1ac4..0000000
--- a/LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<head>
-<script>
-function runTest()
-{
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- var styleElement = document.createElement('style');
- var styleSheet = styleElement.sheet;
- styleElement = null;
-
- // create lots of objects to force a garbage collection
- var i = 0;
- var s;
- while (i < 5000) {
- i = i+1.11;
- s = s + " ";
- }
-
- styleSheet.ownerNode.cloneNode();
-
- document.getElementById("result").innerHTML = "Test passed.";
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>
-This test verifies that style sheets do not outlive their elements.
-Since you can get back to the element with the ownerNode attribute,
-it's important to keep the element alive.
-</p>
-<p id="result">TEST HAS NOT RUN YET.</p>
-</body>
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
deleted file mode 100644
index 1951c43..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href="../../js/resources/js-test-style.css">
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="YOUR_JS_FILE_HERE"></script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js b/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js
deleted file mode 100644
index 22974e7..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/css-medialist-item.js
+++ /dev/null
@@ -1,16 +0,0 @@
-description("This tests indexing outside the range of the media list object.");
-
-var styleElement = document.createElement('style');
-styleElement.setAttribute('media', 'screen, print');
-document.documentElement.appendChild(styleElement)
-var mediaList = document.styleSheets[document.styleSheets.length - 1].media;
-
-shouldEvaluateTo('mediaList.length', 2);
-shouldBeEqualToString('mediaList[0]', 'screen');
-shouldBeEqualToString('mediaList[1]', 'print');
-shouldBeNull('mediaList[2]');
-shouldBeUndefined('mediaList[-1]')
-
-document.documentElement.removeChild(styleElement);
-
-successfullyParsed = true;
diff --git a/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js b/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
deleted file mode 100644
index 793ed65..0000000
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/get-stylesheet-byname.js
+++ /dev/null
@@ -1,8 +0,0 @@
-description("This test verifies that a StyleSheet object will be returned instead of a HTMLStyleElement when calling document.styleSheets named property getter.");
-
-var styleElement = document.createElement("style");
-styleElement.setAttribute("id", "test");
-document.head.appendChild(styleElement);
-shouldBe('document.styleSheets["test"]', 'styleElement.sheet');
-
-var successfullyParsed = true;