Commit Graph
10 Commits
Author SHA1 Message Date
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Jan Odvarko f550f61eb4 Bug 1425538 - Use NotificationBox as regular React element; r=nchevobbe
MozReview-Commit-ID: AHvRWfRd1XY
2018-05-16 17:38:06 +02:00
Andreea Pavel fd5c74a55a Backed out changeset 8d0caf759080 (bug 1425538) for failing devtools/client/webconsole/test/mochitest/browser_jsterm_selfxss.js on a CLOSED TREE 2018-05-16 09:49:32 +03:00
Jan Odvarko 64e674c770 Bug 1425538 - Use NotificationBox as regular React element; r=nchevobbe
MozReview-Commit-ID: DRbxfnqMMvV
2018-05-16 07:12:40 +02:00
Michael Ratcliffe fdb9244b1b Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ
2017-11-03 13:34:41 +00:00
Narcis Beleuzu 6f6d04c41c Backed out changeset 9029ee56b1ad (bug 1413860) for mochitest clipboard failures on browser_jsterm_selfxss.js. r=backout on a CLOSED TREE 2017-11-13 14:16:40 +02:00
Michael Ratcliffe 658587160e Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ
2017-11-03 13:34:41 +00:00
Nicolas Chevobbe bb3b72922f Bug 1404850 - Fix self-XSS protection in new console and enable test; r=Honza.
The self-XSS protection was broken since the switch to an HTML document. We
went from using the XUL <notificationbox> tag to a simple div.
But notificationbox has method that a simple div has not, and when trying
to display the warning message, there was an error in terminal.
This patch uses the NotificationBox React component and create it when needed.
It also rename and enable the test that ensures that XSS is working.

MozReview-Commit-ID: BhxIqf7gzAG
2017-10-24 11:08:02 +02:00
Michael Ratcliffe 7b67c821d8 Bug 1412311 - DevTools Shared Components to ES6 classes r=nchevobbe
In devtools/client/shared/components/tree/TreeView.js I have had to leave defaultProps outside the getter as a temporary workaround for bug 1413167.

MozReview-Commit-ID: 1yaxqFnC92p
2017-10-27 15:33:10 +01:00
Dan Epstein c958bdf812 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK
2017-09-27 01:12:13 -04:00