Closed Bug 1553473 Opened 4 months ago Closed 4 months ago

Warning: Failed prop type: The prop * is marked as required

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
Firefox 69
Tracking Status
firefox69 --- fixed

People

(Reporter: Honza, Assigned: nchevobbe)

Details

Attachments

(2 files)

Attached image image.png

I am seeing couple of React warnings in the Browser Console that are related to the Console panel UI.

STR:

  1. Start Firefox
  2. Open the Browser Console

Honza


Warning: Failed prop type: The prop attachRefToWebConsoleUI is marked as required in FilterBar, but its value is undefined.
in FilterBar (created by Connect(FilterBar))
in Connect(FilterBar) (created by App)
in div (created by App)
in div (created by App)
in App
in VisibilityHandler
in Unknown (created by Connect(Component))
in Connect(Component)
in Provider

init resource://devtools/client/webconsole/webconsole-wrapper.js:383
init resource://devtools/client/webconsole/webconsole-wrapper.js:58
init resource://devtools/client/webconsole/webconsole-ui.js:66

Warning: Failed prop type: The prop type is marked as required in SearchBox, but its value is undefined.
in SearchBox (created by FilterBar)
in FilterBar (created by Connect(FilterBar))
in Connect(FilterBar) (created by App)
in div (created by App)
in div (created by App)
in App
in VisibilityHandler
in Unknown (created by Connect(Component))
in Connect(Component)
in Provider

render resource://devtools/client/webconsole/components/FilterBar.js:251
init resource://devtools/client/webconsole/webconsole-wrapper.js:383
init resource://devtools/client/webconsole/webconsole-wrapper.js:58
init resource://devtools/client/webconsole/webconsole-ui.js:66

Priority: -- → P2

The FilterBar propType was a leftover from a
previous patch where the prop was removed.
The SearchBox one was added in a recent patch,
but shouldn't have been required (as we have
a default in the render function for it).

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Assignee: nobody → nchevobbe
You need to log in before you can comment on or make changes to this bug.