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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html

Issue 2360123002: Import wpt@3801ab5834101113e5f53bfb57e3c76b2b87ecbb (Closed)
Patch Set: Mark the failing test to Win only Created 4 years, 3 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/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html
index 160b70af994e6930a46e7843d9bb29030543385b..7a85bd26a1f273519a51f534acad13fdc05996c3 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-textarea-element/cloning-steps.html
@@ -13,19 +13,19 @@
<script>
"use strict";
-test(() => {
- const textarea = document.createElement("textarea");
+test(function() {
+ var textarea = document.createElement("textarea");
textarea.value = "foo bar";
- const copy = textarea.cloneNode();
+ var copy = textarea.cloneNode();
assert_equals(copy.value, "foo bar");
}, "textarea element's value should be cloned");
-test(() => {
- const textarea = document.createElement("textarea");
+test(function() {
+ var textarea = document.createElement("textarea");
textarea.value = "foo bar";
- const copy = textarea.cloneNode();
+ var copy = textarea.cloneNode();
copy.setAttribute("value", "something else");
assert_equals(copy.value, "foo bar");

Powered by Google App Engine
This is Rietveld 408576698