commit | 8d8db0e01951c9e6bcc41a026ddb50d9b88809f0 | [log] [tgz] |
---|---|---|
author | Matt Falkenhagen <falken@chromium.org> | Wed May 22 09:59:35 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 22 09:59:35 2019 |
tree | 1bf1da1b94fffaa6226e1b089db52b757172daea | |
parent | 25591d8dbe7d4bfc597c5c1450be3eb6e402fa28 [diff] |
service worker: Don't crash when UI thread is shutdown. In some tests, the DevToolsProxy can destruct after the UI thread shuts down, so PostTaskWithTraits crashes. Use a TaskRunner instead, which safely does nothing in that case. Bug: 963702 Change-Id: I46a1647a9cfddd25ca0354fc95d4cbc4b43211a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1624074 Reviewed-by: Alex Clarke <alexclarke@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#662120}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .