Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: webkit/data/layout_tests/chrome/fast/dom/htmlcollection-detectability.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/data/layout_tests/chrome/fast/dom/htmlcollection-detectability.html
===================================================================
--- webkit/data/layout_tests/chrome/fast/dom/htmlcollection-detectability.html (revision 12664)
+++ webkit/data/layout_tests/chrome/fast/dom/htmlcollection-detectability.html (working copy)
@@ -1,43 +0,0 @@
-<html>
-<body>
-
-<p>
-This test verified that only document.all is undetectable. Other
-HTMLCollections should be detectable.
-</p>
-
-<script>
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
-}
-
-function shouldBeUndetectable(name) {
- if (document[name]) {
- document.write("Failed: document." + name + " is detectable.<br>");
- } else {
- document.write("Passed: document." + name + " is undetectable.<br>");
- }
-};
-
-function shouldBeDetectable(name) {
- if (document[name]) {
- document.write("Passed: document." + name + " is detectable.<br>");
- } else {
- document.write("Failed: document." + name + " is detectable.<br>");
- }
-};
-
-var undetectable = ["all"];
-var detectable = ["images", "applets", "links", "forms", "anchors",
- "embeds", "plugins", "scripts"];
-
-for (var i = 0; i < undetectable.length; i++) {
- shouldBeUndetectable(undetectable[i]);
-}
-
-for (var i = 0; i < detectable.length; i++) {
- shouldBeDetectable(detectable[i]);
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698