Index: LayoutTests/http/tests/serviceworker/resource-timing.html |
diff --git a/LayoutTests/http/tests/serviceworker/resource-timing.html b/LayoutTests/http/tests/serviceworker/resource-timing.html |
index 29600aa1b1732a0a7af1c74f978b6d73c9534173..e72801ae59336cefde5a6c28e0a228a7fe41a361 100644 |
--- a/LayoutTests/http/tests/serviceworker/resource-timing.html |
+++ b/LayoutTests/http/tests/serviceworker/resource-timing.html |
@@ -12,13 +12,11 @@ function verify(performance, resource, description) { |
var entry = performance.getEntriesByName(resourceUrl(resource))[0]; |
assert_greater_than(entry.workerStart, 0, description); |
assert_greater_than_equal(entry.workerStart, entry.startTime, description); |
- assert_less_than_equal(entry.workerStart, entry.fetchStart, description); |
- if (resource.indexOf('redirect.php') != -1) { |
- assert_less_than_equal(entry.workerStart, entry.redirectStart, |
- description); |
- } else { |
+ assert_less_than(entry.workerStart, entry.fetchStart, description); |
+ if (resource.indexOf('redirect.php') != -1) |
+ assert_less_than(entry.workerStart, entry.redirectStart, description); |
+ else |
assert_equals(entry.redirectStart, 0, description); |
- } |
} |
async_test(function(t) { |