Title: [185821] trunk/LayoutTests
- Revision
- 185821
- Author
- [email protected]
- Date
- 2015-06-22 01:57:58 -0700 (Mon, 22 Jun 2015)
Log Message
[Streams API] Correct releaseLock test in readable-stream-templated.html
https://bugs.webkit.org/show_bug.cgi?id=146101
Reviewed by Darin Adler.
* streams/reference-implementation/readable-stream-templated-expected.txt: Rebased changed test.
* streams/reference-implementation/readable-stream-templated.html: Removed testharness wrapper around function.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (185820 => 185821)
--- trunk/LayoutTests/ChangeLog 2015-06-22 08:36:38 UTC (rev 185820)
+++ trunk/LayoutTests/ChangeLog 2015-06-22 08:57:58 UTC (rev 185821)
@@ -1,3 +1,13 @@
+2015-06-22 Xabier Rodriguez Calvar <[email protected]> and Youenn Fablet <[email protected]>
+
+ [Streams API] Correct releaseLock test in readable-stream-templated.html
+ https://bugs.webkit.org/show_bug.cgi?id=146101
+
+ Reviewed by Darin Adler.
+
+ * streams/reference-implementation/readable-stream-templated-expected.txt: Rebased changed test.
+ * streams/reference-implementation/readable-stream-templated.html: Removed testharness wrapper around function.
+
2015-06-22 Adam Bergkvist <[email protected]>
WebRTC: Navigator.webkitGetUserMedia() requires three arguments
Modified: trunk/LayoutTests/streams/reference-implementation/readable-stream-templated-expected.txt (185820 => 185821)
--- trunk/LayoutTests/streams/reference-implementation/readable-stream-templated-expected.txt 2015-06-22 08:36:38 UTC (rev 185820)
+++ trunk/LayoutTests/streams/reference-implementation/readable-stream-templated-expected.txt 2015-06-22 08:57:58 UTC (rev 185821)
@@ -8,7 +8,7 @@
PASS two read()s should both never settle
PASS read() should return distinct promises each time
PASS getReader() again on the stream should fail
-FAIL releasing the lock with pending read requests should throw but the read requests should stay pending Type error
+PASS releasing the lock with pending read requests should throw but the read requests should stay pending
PASS releasing the lock should cause further read() calls to resolve as if the stream is closed
PASS releasing the lock should cause closed to fulfill
PASS releasing the lock should cause locked to become false
Modified: trunk/LayoutTests/streams/reference-implementation/readable-stream-templated.html (185820 => 185821)
--- trunk/LayoutTests/streams/reference-implementation/readable-stream-templated.html 2015-06-22 08:36:38 UTC (rev 185820)
+++ trunk/LayoutTests/streams/reference-implementation/readable-stream-templated.html 2015-06-22 08:57:58 UTC (rev 185821)
@@ -239,7 +239,7 @@
test3.step_func(function() { assert_unreached('closed should not reject'); })
);
- assert_throws(new TypeError(), test3.step_func(function() { reader.releaseLock(); }, 'releaseLock should throw a TypeError'));
+ assert_throws(new TypeError(), function() { reader.releaseLock(); }, 'releaseLock should throw a TypeError');
setTimeout(test3.step_func(function() { test3.done(); }), 1000);
});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes