From 3ce7c868d7800ad0933014a8cb791910151b408d Mon Sep 17 00:00:00 2001 From: Gregory Terzian Date: Wed, 24 Jan 2018 14:26:38 +0800 Subject: [PATCH] remove custom cache script, use trickle option instead --- tests/wpt/mozilla/meta/MANIFEST.json | 15 +---- .../mozilla/tests/mozilla/http-cache-xhr.html | 2 +- .../wpt/mozilla/tests/mozilla/http-cache.html | 1 - .../mozilla/resources/http-cache-trickle.py | 64 ------------------- .../tests/mozilla/resources/http-cache.js | 4 +- 5 files changed, 6 insertions(+), 80 deletions(-) delete mode 100644 tests/wpt/mozilla/tests/mozilla/resources/http-cache-trickle.py diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 22bc7212f2e..e67eed498a8 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -12478,11 +12478,6 @@ {} ] ], - "mozilla/resources/http-cache-trickle.py": [ - [ - {} - ] - ], "mozilla/resources/http-cache.js": [ [ {} @@ -66370,11 +66365,11 @@ "testharness" ], "mozilla/http-cache-xhr.html": [ - "d4747fdc9ec6acc50718c13a668451987a44d219", + "56c44d5100ec2b5a585192e4ec319bb133123c93", "testharness" ], "mozilla/http-cache.html": [ - "33827dc9bdb0efcbcae4f730086693be315cfc14", + "929fdc40e9a193d0ead4c95e2d21d030d27d4bf0", "testharness" ], "mozilla/iframe-unblock-onload.html": [ @@ -72049,12 +72044,8 @@ "78686147f85e4146e7fc58c1f67a613f65b099a2", "support" ], - "mozilla/resources/http-cache-trickle.py": [ - "48f4e32ec2e1c1b6d47e89254045b398c1d84d40", - "support" - ], "mozilla/resources/http-cache.js": [ - "4bf71e1f328e778990eb756741a3be58f4f57ef6", + "c6b1ee9def26d4e12a1b93e551c225f82b4717c2", "support" ], "mozilla/resources/iframe_contentDocument_inner.html": [ diff --git a/tests/wpt/mozilla/tests/mozilla/http-cache-xhr.html b/tests/wpt/mozilla/tests/mozilla/http-cache-xhr.html index 2e1bf9bae7e..fddb89ca081 100644 --- a/tests/wpt/mozilla/tests/mozilla/http-cache-xhr.html +++ b/tests/wpt/mozilla/tests/mozilla/http-cache-xhr.html @@ -28,7 +28,7 @@ ]; var uuid = token(); var url = make_url(uuid, requests, 0); - url += '&trickle=true'; + url += '&pipe=trickle(1:d1:r2)'; client.onprogress = test.step_func(function() { var client2 = new XMLHttpRequest(); client2.onloadend = test.step_func(function(event) { diff --git a/tests/wpt/mozilla/tests/mozilla/http-cache.html b/tests/wpt/mozilla/tests/mozilla/http-cache.html index 3254492e89a..c854aa35784 100644 --- a/tests/wpt/mozilla/tests/mozilla/http-cache.html +++ b/tests/wpt/mozilla/tests/mozilla/http-cache.html @@ -4,7 +4,6 @@ -