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

Unified Diff: LayoutTests/editing/selection/extend-expected.txt

Issue 1195833002: Selection attributes changes from long to unsigned long (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixes offset error message Created 5 years, 6 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/selection/extend-expected.txt
diff --git a/LayoutTests/editing/selection/extend-expected.txt b/LayoutTests/editing/selection/extend-expected.txt
index d96a1a922c7156c03ded411cc476a73e36e3f07f..cb952323b5987b34f2457756fccda2720d1d8806 100644
--- a/LayoutTests/editing/selection/extend-expected.txt
+++ b/LayoutTests/editing/selection/extend-expected.txt
@@ -1,7 +1,7 @@
foobarbaz
Success: window.getSelection() is ar.
Success: s.extend(span2.firstChild, 4) raised IndexSizeError: Failed to execute 'extend' on 'Selection': 4 is larger than the given node's length..
-Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Failed to execute 'extend' on 'Selection': -1 is not a valid offset..
+Success: s.extend(span2.firstChild, -1) raised IndexSizeError: Failed to execute 'extend' on 'Selection': 4294967295 is larger than the given node's length..
Success: window.getSelection() is b.
Success: window.getSelection() is arbaz.
Success: s.extend() raised TypeError: Failed to execute 'extend' on 'Selection': 1 argument required, but only 0 present..
« no previous file with comments | « no previous file | LayoutTests/editing/selection/selection-invalid-offset.html » ('j') | Source/core/editing/DOMSelection.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698