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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js
deleted file mode 100644
index 4d62d92bef3f7893f92c93d6a232ad25d060dcb0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-reset-event.js
+++ /dev/null
@@ -1,27 +0,0 @@
-description('A Test for sending a reset event to output elements.');
-
-var form = document.createElement('form');
-var output = document.createElement('output');
-output.defaultValue = 'defaultValue';
-form.appendChild(output);
-
-debug('- Sets the value attribute of the output element.');
-output.value = 'aValue';
-shouldBeEqualToString('output.defaultValue', 'defaultValue');
-shouldBeEqualToString('output.value', 'aValue');
-shouldBeEqualToString('output.innerText', 'aValue');
-shouldBeEqualToString('output.innerHTML', 'aValue');
-
-debug('- Sends a reset event to reset the value to the default value.');
-form.reset();
-shouldBeEqualToString('output.defaultValue', 'defaultValue');
-shouldBeEqualToString('output.value', 'defaultValue');
-shouldBeEqualToString('output.innerText', 'defaultValue');
-shouldBeEqualToString('output.innerHTML', 'defaultValue');
-
-debug('- Ensures that the value mode flags is in mode "default".');
-output.defaultValue = 'another defaultValue';
-shouldBeEqualToString('output.defaultValue', 'another defaultValue');
-shouldBeEqualToString('output.value', 'another defaultValue');
-shouldBeEqualToString('output.innerText', 'another defaultValue');
-shouldBeEqualToString('output.innerHTML', 'another defaultValue');

Powered by Google App Engine
This is Rietveld 408576698