commit | 068f13cc5aa5f7a6e9faf28d8731275e64cb657b | [log] [tgz] |
---|---|---|
author | Marijn Kruisselbrink <mek@chromium.org> | Tue Apr 05 07:00:37 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 05 07:00:37 2022 |
tree | c496813ea844d6dbd9ec6c98e58bc8ab6c7b1f7f | |
parent | c7419fcd71878925726e48c58b9ed93a3d94c720 [diff] |
Close a MessagePort if it is created in a destroyed context. MessagePort assumes it is only destroyed either after ContextDestroyed, or after the port has been closed explicitly. As it turns out ports that were created in an already detached iframe would violate this invariant, causing issues. Bug: 1228661 Change-Id: Ib1abce15f1d1d15f044de19fe0534767db488af0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3561845 Reviewed-by: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/main@{#988859}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.