commit | b32ae43ec080625156769457e0dd705d3a54c7b8 | [log] [tgz] |
---|---|---|
author | Matt Falkenhagen <falken@chromium.org> | Mon Mar 04 04:41:40 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 04 04:41:40 2019 |
tree | c004d4f11b8d2efd749bf9152fd084015dea508c | |
parent | e590d4e0ae6d3cbdabee199ea6fabe152a3eea83 [diff] |
service worker: Bind Mojo interfaces using the WorkerThread's task runner. Attempted fix for the linked bugs. Based on crash reports, it appears some Mojo calls are happening on the wrong thread or on the service worker thread after it's started being destructed/terminated. To try to fix this, explicitly bind the interfaces using the WorkerThread's task runner, which seems to have guarantees about safely dropping tasks when the worker thread starts being destructed/terminated. Bug: 927149, 907311, 934622 Change-Id: I4d8e59ada9cd28aa22039fbbb77f5aa0d149ff28 Reviewed-on: https://chromium-review.googlesource.com/c/1496264 Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#637204}
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 .