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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Node/append-child-error.html

Issue 1894103003: Remove superfluous "*-expected.txt" files in LayoutTests/fast/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/fast/dom/Node/append-child-error.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Node/append-child-error.html b/third_party/WebKit/LayoutTests/fast/dom/Node/append-child-error.html
index 863e165159facec9671db717cdc9700257ad2bf9..13dbf83fd19d3177d6da8534506b68179703aba9 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Node/append-child-error.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Node/append-child-error.html
@@ -1,17 +1,17 @@
<!DOCTYPE html>
<html>
<head>
+<title>Test that Node.appendChild throws TypeError when a wrong type of argument is passed.</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
</head>
<body>
-This test case verifies if relevant TypeError is thrown when invalid Node argument is given.
<script>
test(function() {
assert_throws(new TypeError(), function() { document.body.appendChild() })
assert_throws(new TypeError(), function() { document.body.appendChild(null) })
assert_throws(new TypeError(), function() { document.body.appendChild({'a':'b'}) })
-}, "Node.appendChild should throw TypeError when a wrong type of argument is passed.")
+})
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698