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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-validity.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-validity.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-validity.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-validity.js
deleted file mode 100644
index 687bf5511f6f531462daa093e4d7f4181cbc4abc..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/script-tests/htmloutputelement-validity.js
+++ /dev/null
@@ -1,25 +0,0 @@
-description('Tests for the validation APIs of output elements.');
-
-var container;
-var output;
-
-container = document.createElement('div');
-document.body.appendChild(container);
-
-debug('- Ensures whether the willValidate is defined and it always returns false.');
-container.innerHTML = '<form><output id="outputElement">aValue</output></form>';
-output = document.getElementById('outputElement');
-shouldBe('typeof output.willValidate', '"boolean"');
-shouldBeFalse('output.willValidate');
-container.innerHTML = '<output id="outputElement">aValue</output>';
-output = document.getElementById('outputElement');
-shouldBeFalse('output.willValidate');
-
-debug('- Ensures validity is always "valid" and validationMessage() always returns an empty string.');
-container.innerHTML = '<form><output id="outputElement">aValue</output></form>';
-output = document.getElementById('outputElement');
-shouldBeEqualToString('output.validationMessage', '');
-shouldBeTrue('output.checkValidity()');
-output.setCustomValidity('This should not be affected.');
-shouldBeEqualToString('output.validationMessage', '');
-shouldBeTrue('output.checkValidity()');

Powered by Google App Engine
This is Rietveld 408576698