| 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");
|
|
|