Closed
Bug 1440740
Opened 7 years ago
Closed 7 years ago
"Warning: Calling PropTypes validators directly is not supported" when first opening Memory Tool
Categories
(DevTools :: Memory, defect, P2)
DevTools
Memory
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: miker, Assigned: miker)
Details
Attachments
(1 file)
STR:
1. Ensure .mozconfig contains `ac_add_options --enable-debug-js-modules`.
2. Build and run Firefox.
3. Open the DevTools Panel.
4. Select the Memory tab.
5. open the Browser Console.
This warning appears the first time the memory panel is selected:
"Warning: Failed prop type: Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types
in MemoryApp (created by Connect(MemoryApp))
in Connect(MemoryApp) (created by bound createElementWithValidation)
in bound createElementWithValidation
in Provider"
This appears to be an issue with `devtools/client/memory/app.js`
I suspect this has something to do with `childContextTypes()` and `getChildContext()`... not sure how it should be handled though.
Assignee | ||
Updated•7 years ago
|
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Assignee | ||
Updated•7 years ago
|
Summary: Calling PropTypes validators directly is not supported when first opening tool → Calling PropTypes validators directly is not supported when first opening Memory Tool
Assignee | ||
Comment 1•7 years ago
|
||
This could be a conflict with our current version of Redux.
Assignee | ||
Comment 2•7 years ago
|
||
I have logged bug 1441147 for the redux upgrade.
Assignee | ||
Comment 3•7 years ago
|
||
The redux upgrade made no difference
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Summary: Calling PropTypes validators directly is not supported when first opening Memory Tool → "Warning: Calling PropTypes validators directly is not supported" when first opening Memory Tool
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8954064 [details]
Bug 1440740 - Calling PropTypes validators directly is not supported when first opening Memory Tool
https://reviewboard.mozilla.org/r/223210/#review229476
Looks good
Attachment #8954064 -
Flags: review?(nchevobbe) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/808d909f106b
Calling PropTypes validators directly is not supported when first opening Memory Tool r=nchevobbe
Comment 9•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•