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

Unified Diff: LayoutTests/editing/execCommand/non-html-document-expected.txt

Issue 1155353002: Throw DOMException when invoked Document::execCommand on non-{X,}HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add test Created 5 years, 7 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: LayoutTests/editing/execCommand/non-html-document-expected.txt
diff --git a/LayoutTests/accessibility/aria-help-expected.txt b/LayoutTests/editing/execCommand/non-html-document-expected.txt
similarity index 52%
copy from LayoutTests/accessibility/aria-help-expected.txt
copy to LayoutTests/editing/execCommand/non-html-document-expected.txt
index 16c83066528ca32eb8fdf4d053cd372b21d752d1..654fad95bfb0c738c5abd0d2a2e4650cdf80dbe9 100644
--- a/LayoutTests/accessibility/aria-help-expected.txt
+++ b/LayoutTests/editing/execCommand/non-html-document-expected.txt
@@ -1,10 +1,9 @@
-button
-This tests that aria-help attribute works as expected.
+Non HTMLDocument such as XMLDocument shouldn't support execCommand
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS button.helpText is 'AXHelp: click here'
+PASS xmldoc.execCommand('bold, false, null') is false
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698