mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
03639d8ea6
This patch introduces a new component, ConfirmDialog, that will be rendered on screen when the autocomplete service indicates that there's an unsafe getter in the completion path. The component is rendered in the toolbox document, like the autocomplete popup. In order to still write it in React, it uses a React portal, which allow to render an element outside of the React component tree. Tests are added to make sure the dialog works as expected. Differential Revision: https://phabricator.services.mozilla.com/D12943 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |