tree: 2a910117bbfac04fba59f37d5bb55f980c84e0b1 [path history] [tgz]
  1. navigation_preload/
  2. resources/
  3. webexposed/
  4. clients-openwindow.html
  5. csp-fetch-from-installed-service-worker-connect.html
  6. csp-fetch-from-installed-service-worker-default.html
  7. csp-fetch-from-installed-service-worker-script.html
  8. css-import-crash.html
  9. dedicated-worker-service-worker-interception.html
  10. dynamic-import.html
  11. fetch-canvas-tainting.html
  12. fetch-cors-xhr.html
  13. fetch-csp-expected.txt
  14. fetch-csp.html
  15. fetch-error-messages.html
  16. fetch-event-headers.html
  17. fetch-event-synthetic-respond-with.html
  18. fetch-request-with-gc.html
  19. fetch-script-onerror-expected.txt
  20. fetch-script-onerror.html
  21. force-refresh-ready.html
  22. force-refresh-registration.html
  23. http-to-https-redirect-and-register-iframe.html
  24. insecure-parent-frame.html
  25. invalid-code-cache.html
  26. load-flushed-script.html
  27. memory-cache.html
  28. no-filesystem.html
  29. notificationclick-can-focus.html
  30. notificationclick-can-openwindow.html
  31. OWNERS
  32. performance-timeline.html
  33. postmessage-after-terminate.html
  34. postmessage-cross-process.html
  35. README.md
  36. redirected-response.html
  37. register-different-script-many-times.html
  38. register-error-messages.html
  39. register-wait-forever-in-install-worker.html
  40. registration-stress.html
  41. request-body-blob-crash.html
  42. request-end-to-end.html
  43. resolve-after-window-close-expected.txt
  44. resolve-after-window-close.html
  45. service-worker-gc-expected.txt
  46. service-worker-gc.html
  47. service-worker-mixed-response.html
  48. stop-worker-during-respond-with.html
  49. stop-worker-with-pending-fetch.html
  50. update-no-controllee.https.html
  51. update-served-from-cache.html
  52. url-limits.html
  53. usecounter-fetch.html
  54. usecounter-on-claim.html
  55. usecounter-on-load.html
  56. usecounter-on-reload.html
  57. usecounter.html
  58. window-close-during-registration-expected.txt
  59. window-close-during-registration.html
  60. windowclient-focus.html
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. Most 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 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 behavior like (not) crashing and garbage collection that are only useful because of Chromium-specific details. Consider making any test that looks like it would be useful for other browsers a WPT test.

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