Title: [205428] trunk/LayoutTests
- Revision
- 205428
- Author
- commit-qu...@webkit.org
- Date
- 2016-09-04 23:49:33 -0700 (Sun, 04 Sep 2016)
Log Message
http/tests/fetch/clone-response-body.html uses an incorrect URL
https://bugs.webkit.org/show_bug.cgi?id=161382
Patch by Youenn Fablet <you...@apple.com> on 2016-09-04
Reviewed by Darin Adler.
* http/tests/fetch/clone-response-body.html: Fixing url, increasing delay to ensure non-flakiness.
Adding assertions to ensure load is successful.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (205427 => 205428)
--- trunk/LayoutTests/ChangeLog 2016-09-05 06:41:59 UTC (rev 205427)
+++ trunk/LayoutTests/ChangeLog 2016-09-05 06:49:33 UTC (rev 205428)
@@ -1,3 +1,13 @@
+2016-09-04 Youenn Fablet <you...@apple.com>
+
+ http/tests/fetch/clone-response-body.html uses an incorrect URL
+ https://bugs.webkit.org/show_bug.cgi?id=161382
+
+ Reviewed by Darin Adler.
+
+ * http/tests/fetch/clone-response-body.html: Fixing url, increasing delay to ensure non-flakiness.
+ Adding assertions to ensure load is successful.
+
2016-09-04 Michael Catanzaro <mcatanz...@igalia.com>
Miscellaneous unreviewed GTK test gardening
Modified: trunk/LayoutTests/http/tests/fetch/clone-response-body.html (205427 => 205428)
--- trunk/LayoutTests/http/tests/fetch/clone-response-body.html 2016-09-05 06:41:59 UTC (rev 205427)
+++ trunk/LayoutTests/http/tests/fetch/clone-response-body.html 2016-09-05 06:49:33 UTC (rev 205428)
@@ -11,6 +11,7 @@
promise_test(function(t) {
var clone;
return fetch('/resources/testharnessreport.js').then(function(res) {
+ assert_equals(res.status, 200);
var resolveFunction;
var promise = new Promise((resolve) => {
resolveFunction = resolve;
@@ -33,7 +34,8 @@
promise_test(function(t) {
var clone;
- return fetch('/download-json-with-delay.php?iteration=2&delay=1').then(function(res) {
+ return fetch('/resources/download-json-with-delay.php?iteration=2&delay=100').then(function(res) {
+ assert_equals(res.status, 200);
// All data should not be enqueued yet.
clone = res.clone();
var string;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes