tree: d9ddb0d0a9b76698ea60af053690469c81607303 [path history] [tgz]
  1. chromium/
  2. navigation-preload/
  3. resources/
  4. webexposed/
  5. chromium.csp-fetch-from-installed-service-worker-connect.html
  6. chromium.csp-fetch-from-installed-service-worker-default.html
  7. chromium.csp-fetch-from-installed-service-worker-script.html
  8. chromium.fetch-canvas-tainting.html
  9. chromium.fetch-cors-xhr.html
  10. chromium.fetch-csp-expected.txt
  11. chromium.fetch-csp.html
  12. chromium.fetch-event-headers.html
  13. chromium.fetch-event-request-body.html
  14. chromium.http-to-https-redirect-and-register-iframe.html
  15. chromium.performance-timeline.html
  16. chromium.redirected-response.html
  17. chromium.register-wait-forever-in-install-worker.html
  18. chromium.request-end-to-end.html
  19. chromium.respond-to-same-origin-request-with-cross-origin-response.html
  20. chromium.respond-to-same-origin-request-with-redirected-cross-origin-response.html
  21. chromium.update-served-from-cache.html
  22. insecure-parent-frame.html
  23. OWNERS
  24. README.md
third_party/WebKit/LayoutTests/http/tests/serviceworker/README.md

This directory contains Chromium-specific tests for service workers, i.e., tests that are not suitable for adding to Web Platform Tests. Generally, new tests should be added to external/wpt/service-workers instead of here.

Tests in this directory should have a comment explaining why the test cannot be upstreamed to WPT. Tests here fall into one or more of the following categories:

  1. Tests that should be upstreamed to WPT, but we just have not done so. Eventually this category should be eliminated. See https://crbug.com/688116.

  2. Tests that assert behavior that contradicts the specification. Ideally we would fix Chromium's behavior, but in the meantime sometimes need to maintain the deprecated behavior until it can be fixed.

Instead of a Chromium-only test, it‘s preferable to have a WPT test that asserts the correct things, and an -expected.txt file for Chromium’s failing expectations. However, in some cases that would not provide sufficient test coverage for Chromium's spec-violating behavior.

When tests like this are added, they should have a comment at the top pointing to the correct WPT test, and link to the bug tracking removal of the Chromium test.

  1. Tests that exercise implementation specific behavior like (not) crashing and garbage collection.

  2. Tests that require use of the Internals API or other Chromium-specific APIs.