Files
firefox/devtools/client/webconsole/components
Nicolas Chevobbe 713ac4cdc2 Bug 1499289 - Allow to invoke getters from webconsole autocomplete function; r=bgrins,flod.
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
2019-01-07 17:53:55 +00:00
..