commit | be28fe26931bdea248ce47dd1500397b76c4ebf3 | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adithyas@chromium.org> | Fri Mar 22 21:04:15 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 22 21:04:15 2019 |
tree | 087549058bc7f7d16b3f2a138e6087960e028fc1 | |
parent | d2b6b216eec33310411c81e3891cf496b7e6d3c1 [diff] |
Portals: Add checks for failure scenarios for activate() The promise returned by activate() rejects with an error if: - activate() is called on a portal that is already activating - activate() is called on a portal when another portal in the document is already activating - activate() is called on a nested portal Bug: 914122 Change-Id: I43136bc363be9f710dae6c107058b7b1a6674263 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1496482 Commit-Queue: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#643545}
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 .