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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html
deleted file mode 100644
index 268be0be1aa6e33a1b01dd22954849cd441d7f30..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-link-element/link-style-error-01.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<title>link: error events</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-link-element">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="test">
-<script>
-//var t404 = async_test("Should get an error event for a 404 error.")
-//t404.step(function() {
-// var elt = document.createElement("link");
-// elt.onerror = t404.step_func(function() {
-// assert_true(true, "Got error event for 404 error.")
-// t404.done()
-// })
-// elt.rel = "stylesheet";
-// elt.href = 404 error;
-// document.getElementsByTagName("head")[0].appendChild(elt);
-//})
-var tText = async_test("Should get an error event for a text/plain response.")
-tText.step(function() {
- var elt = document.createElement("link");
- elt.onerror = tText.step_func(function() {
- assert_true(true, "Got error event for 404 error.")
- tText.done()
- })
- elt.rel = "stylesheet";
- elt.href = "../../../../../common/css-red.txt";
- document.getElementsByTagName("head")[0].appendChild(elt);
-})
-</script>

Powered by Google App Engine
This is Rietveld 408576698