ServiceWorker: Shows a warning when adding event handlers asynchronously
As shown at 15 on [1], "The user agents are encouraged to show a warning that the event listeners must be added on the very first evaluation of the worker script.". This patch adds warning messages for the events. [1]: https://w3c.github.io/ServiceWorker/spec/service_worker/index.html#run-service-worker-algorithm BUG=594160 Review-Url: https://codereview.chromium.org/2319563003 Cr-Commit-Position: refs/heads/master@{#419967}
Showing
Please register or sign in to comment