Title: [92818] trunk/LayoutTests
- Revision
- 92818
- Author
- [email protected]
- Date
- 2011-08-10 21:02:34 -0700 (Wed, 10 Aug 2011)
Log Message
Test how TouchList behaves with too few arguments
https://bugs.webkit.org/show_bug.cgi?id=65815
Reviewed by Sam Weinig.
This API is very new and the compatibility cost of making this API
match the specification is minimal. We should align with the
specification and (future) implementations in other browsers by making
this argument required.
* fast/events/touch/document-create-touch-list-expected.txt:
* fast/events/touch/script-tests/document-create-touch-list.js:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (92817 => 92818)
--- trunk/LayoutTests/ChangeLog 2011-08-11 04:00:49 UTC (rev 92817)
+++ trunk/LayoutTests/ChangeLog 2011-08-11 04:02:34 UTC (rev 92818)
@@ -1,5 +1,20 @@
2011-08-10 Adam Barth <[email protected]>
+ Test how TouchList behaves with too few arguments
+ https://bugs.webkit.org/show_bug.cgi?id=65815
+
+ Reviewed by Sam Weinig.
+
+ This API is very new and the compatibility cost of making this API
+ match the specification is minimal. We should align with the
+ specification and (future) implementations in other browsers by making
+ this argument required.
+
+ * fast/events/touch/document-create-touch-list-expected.txt:
+ * fast/events/touch/script-tests/document-create-touch-list.js:
+
+2011-08-10 Adam Barth <[email protected]>
+
Test how AudioBufferSourceNode reacts when given too few arguments
https://bugs.webkit.org/show_bug.cgi?id=65816
Modified: trunk/LayoutTests/fast/events/touch/document-create-touch-list-expected.txt (92817 => 92818)
--- trunk/LayoutTests/fast/events/touch/document-create-touch-list-expected.txt 2011-08-11 04:00:49 UTC (rev 92817)
+++ trunk/LayoutTests/fast/events/touch/document-create-touch-list-expected.txt 2011-08-11 04:02:34 UTC (rev 92818)
@@ -8,6 +8,7 @@
PASS touchList.length is 0
PASS touchList.item(0) is null
PASS touchList.item(1) is null
+PASS touchList.item() threw exception TypeError: Not enough arguments.
PASS ts.touches.length is 2
PASS ts.touches[0].identifier is 12341
PASS ts.touches[0].clientX is 60
Modified: trunk/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js (92817 => 92818)
--- trunk/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js 2011-08-11 04:00:49 UTC (rev 92817)
+++ trunk/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js 2011-08-11 04:02:34 UTC (rev 92818)
@@ -8,6 +8,7 @@
shouldBe("touchList.length", "0");
shouldBeNull("touchList.item(0)");
shouldBeNull("touchList.item(1)");
+shouldThrow("touchList.item()");
// Test createTouchList with Touch objects as arguments.
try {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes