Revision 6668ff3716086d3f8efead0f5db2d8d2864c3563 authored by Robert Ma on 21 March 2018, 17:35:46 UTC, committed by Robert Ma on 21 March 2018, 17:35:46 UTC
1. Check the HTTP port of wptserve instead of HTTPS to avoid the
   unnecessary complexities of setting up SSL context (which may fail in
   some environments).
2. Use exponential backoff when waiting for wptserve and specify a
   maximum retry to avoid indefinite hang.
3. Use `terminate` instead of `kill` to give wptserve a chance to clean
   up, which is especially useful when running locally.
1 parent dbb38a6
History
File Mode Size
cache-storage
service-worker
tools
OWNERS -rw-r--r-- 58 bytes
specgen.json -rw-r--r-- 25.1 KB
stub-3.1-service-worker-obj.html -rw-r--r-- 1.9 KB
stub-3.1.1-service-worker-scope.html -rw-r--r-- 1.3 KB
stub-3.1.2-service-worker-url.html -rw-r--r-- 1.1 KB
stub-3.1.3-service-worker-state.html -rw-r--r-- 2.8 KB
stub-3.1.4-service-worker-on-state-change.html -rw-r--r-- 886 bytes
stub-3.2-navigator-service-worker.html -rw-r--r-- 2.9 KB
stub-3.2.1-navigator-service-worker-installing.html -rw-r--r-- 1.2 KB
stub-3.2.10-navigator-service-worker-oncontrollerchange.html -rw-r--r-- 1.4 KB
stub-3.2.11-navigator-service-worker-onreloadpage.html -rw-r--r-- 1.2 KB
stub-3.2.12-navigator-service-worker-onerror.html -rw-r--r-- 954 bytes
stub-3.2.2-navigator-service-worker-waiting.html -rw-r--r-- 848 bytes
stub-3.2.3-navigator-service-worker-active.html -rw-r--r-- 1.1 KB
stub-3.2.4-navigator-service-worker-controller.html -rw-r--r-- 995 bytes
stub-3.2.5-navigator-service-worker-ready.html -rw-r--r-- 2.2 KB
stub-3.2.6-navigator-service-worker-getAll.html -rw-r--r-- 699 bytes
stub-3.2.7-navigator-service-worker-register.html -rw-r--r-- 697 bytes
stub-3.2.8-navigator-service-worker-unregister.html -rw-r--r-- 681 bytes
stub-3.2.9-navigator-service-worker-onupdatefound.html -rw-r--r-- 1.2 KB
stub-4.1-service-worker-global-scope.html -rw-r--r-- 2.5 KB
stub-4.1.1-service-worker-global-scope-caches.html -rw-r--r-- 933 bytes
stub-4.1.2-service-worker-global-scope-clients.html -rw-r--r-- 785 bytes
stub-4.1.3-service-worker-global-scope-scope.html -rw-r--r-- 938 bytes
stub-4.1.4-service-worker-global-scope-fetch.html -rw-r--r-- 1.5 KB
stub-4.1.5-service-worker-global-scope-update.html -rw-r--r-- 982 bytes
stub-4.1.6-service-worker-global-scope-unregister.html -rw-r--r-- 676 bytes
stub-4.1.7-service-worker-global-scope-onmessage.html -rw-r--r-- 1.3 KB
stub-4.2-client.html -rw-r--r-- 1.9 KB
stub-4.3-service-worker-clients.html -rw-r--r-- 1.4 KB
stub-4.3.1-get-serviced-method.html -rw-r--r-- 777 bytes
stub-4.3.2-reloadall-method.html -rw-r--r-- 997 bytes
stub-4.4-request-objects.html -rw-r--r-- 2.0 KB
stub-4.5-response-objects.html -rw-r--r-- 2.2 KB
stub-4.5.2-response.html -rw-r--r-- 1017 bytes
stub-4.5.4-opaque-response.html -rw-r--r-- 942 bytes
stub-4.6-cache-objects.html -rw-r--r-- 1.0 KB
stub-4.6.1-cache-lifetimes.html -rw-r--r-- 1.2 KB
stub-4.6.2-cache.html -rw-r--r-- 2.1 KB
stub-4.6.3-cache-storage.html -rw-r--r-- 2.0 KB
stub-4.7.1-install-phase-event.html -rw-r--r-- 1.5 KB
stub-4.7.1.1-wait-until-method.html -rw-r--r-- 1.2 KB
stub-4.7.2-install-event.html -rw-r--r-- 832 bytes
stub-4.7.2.1-install-event-section.html -rw-r--r-- 1.3 KB
stub-4.7.2.2-replace-method.html -rw-r--r-- 921 bytes
stub-4.7.3-activate-event.html -rw-r--r-- 959 bytes
stub-4.7.4.1-fetch-event-section.html -rw-r--r-- 1.8 KB
stub-4.7.4.2-respond-with-method.html -rw-r--r-- 1.3 KB
stub-4.7.4.3-default-method.html -rw-r--r-- 1.3 KB
stub-4.7.4.4-is-reload-attribute.html -rw-r--r-- 824 bytes
stub-5.1-origin-relativity.html -rw-r--r-- 970 bytes
stub-5.2-cross-origin-resources.html -rw-r--r-- 1.7 KB

back to top