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

Unified Diff: LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt

Issue 22191002: Make ClientRectList.item() argument mandatory and drop [IsIndex] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « LayoutTests/fast/dom/Element/client-rect-list-argument.html ('k') | Source/core/dom/ClientRectList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt
diff --git a/LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt b/LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41c6da92b890adcec89bc2937311e4ef88069e43
--- /dev/null
+++ b/LayoutTests/fast/dom/Element/client-rect-list-argument-expected.txt
@@ -0,0 +1,22 @@
+Tests that the ClientRectList.item() argument is correctly validated.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS clientRects.__proto__ is ClientRectList.prototype
+PASS clientRects.length is 3
+PASS clientRects.item(0) is not null
+PASS clientRects.item(1) is not null
+PASS clientRects.item(2) is not null
+PASS clientRects.item() threw exception TypeError: Not enough arguments.
+PASS clientRects.item(-4294967294) is clientRects.item(2)
+PASS clientRects.item(3) is null
+PASS clientRects.item(999) is null
+PASS clientRects.item(-1) is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+14. Block in inline
+
+Lorem
+ipsum
« no previous file with comments | « LayoutTests/fast/dom/Element/client-rect-list-argument.html ('k') | Source/core/dom/ClientRectList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698