Commit Graph
18 Commits
Author SHA1 Message Date
James Graham 5aa8b71c34 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-04 23:34:05 +01:00
Phil Ringnalda 48419535ac Back out 2 changesets (bug 1291312) for making Win7 debug wpt-e10s-2 permanently fail by taking more than 7200 seconds to run, a=backout
Backed out changeset 0267734ec297 (bug 1291312)
Backed out changeset 8232b0211660 (bug 1291312)
2016-08-03 18:50:40 -07:00
James Graham 4255c10e30 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-02 20:22:14 +01:00
Sebastian Hengst 92be3e18e3 Backed out changeset 6fbdadb91edf (bug 1291312) for timing out in encrypted-media-keystatuses-multiple-updates.html. r=backout 2016-08-02 20:45:48 +02:00
James Graham 44d6a9a253 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-02 16:51:47 +01:00
Andrew Sutherland 1a4f099a52 Bug 1272436 - P1 Fetch "only-if-cached" cache mode tests. r=bkelly
request-error.html:
- Add test verifying we enforce only-if-cached requires same-origin mode.

request-cache.html (only-if-cached does not hit network):
- Add comment block explaining the test dictionary arguments.
- Eliminate duplicated code in populate_cache which seems to have existed only
  for historical reasons and is now moot.
- Add `response` optional test dictionary array for cases where a network error
  is expected as the result of the fetch.  Normalize server results to handle
  this case since test cases may no longer talk to the server at all.
- Add only-if-cached tests that verify the network is not touched in any of
  the fresh cached, stale cached, and not cached cases.

request-cache.html (cross-origin redirects in the cache are not traversed):
- Tests added to request/request-cache.html instead of under redirect/ because
  redirect/ and redirect.py explicitly disable caching.  Also, the issue is
  about cache behavior, not the redirect-following logic.
- Enhance cache.py to accept a "redirect" parameter that generates a 302
  redirect using a Location header when received.
- Make the "error" handling generate a test failure if we don't fail when
  expected.
- Add "redirect" argument to request-cache.html test info dicts to tell
  cache.py to generate a redirect.
- Add test cases for "only-if-cached" to first prime with redirect, expecting
  success on same-origin redirects and failure on cross-origin redirects.
2016-06-08 12:10:21 -04:00
Ehsan Akhgari b0dc34b3e8 Bug 1120715 - Part 8: Expect a 304 response in the cases where we would do a successful revalidation in the RequestCache test; r=bkelly 2016-03-11 14:41:01 -05:00
Ehsan Akhgari 2dbfb52a04 Bug 1120715 - Part 7: Always use the same date representing 'now' in the RequestCache test; r=bkelly 2016-03-11 14:40:57 -05:00
Ehsan Akhgari 125e2788b0 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-11 14:40:49 -05:00
Ehsan Akhgari c404dfb7d4 Bug 1120715 - Part 4: Add tests for Request.cache; r=bkelly 2016-03-11 14:40:45 -05:00
Ryan VanderMeulen 29a0483afa Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)

CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari df9a9b34e0 Bug 1120715 - Part 8: Expect a 304 response in the cases where we would do a successful revalidation in the RequestCache test; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari 3e9a7cdce4 Bug 1120715 - Part 7: Always use the same date representing 'now' in the RequestCache test; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari 827c509d38 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-10 17:29:11 -05:00
Ehsan Akhgari f3f76bd6e6 Bug 1120715 - Part 4: Add tests for Request.cache; r=bkelly 2016-03-10 17:29:11 -05:00
Wes Kocher 59b783e560 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari e548024563 Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly 2016-03-09 16:44:58 -05:00
Ehsan Akhgari fc8965058c Bug 1120715 - Part 4: Add tests for Request.cache; r=bkelly 2016-03-09 16:44:50 -05:00