Closed Bug 1614912 Opened 6 years ago Closed 6 years ago

Warning: Failed prop type: The prop `networkActionBarOpen` is marked as required in `Toolbar`

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox75 verified)

VERIFIED FIXED
Firefox 75
Tracking Status
firefox75 --- verified

People

(Reporter: Honza, Assigned: kritisingh1.ks)

Details

(Keywords: good-first-bug)

Attachments

(1 file, 1 obsolete file)

47 bytes, text/x-phabricator-request
Details | Review

STR:

  1. Open the Browser Console
  2. Open the DevTools Toolbox
  3. Select the Network panel
  4. Check the Browser Console for the following warning:
Warning: Failed prop type: The prop `networkActionBarOpen` is marked as required in `Toolbar`, but its value is `undefined`.
    in Toolbar
    in Unknown (created by Connect(Component))
    in Connect(Component) (created by MonitorPanel)
    in div (created by MonitorPanel)
    in MonitorPanel
    in VisibilityHandler
    in Unknown (created by Connect(Component))
    in Connect(Component) (created by App)
    in div (created by DropHarHandler)
    in DropHarHandler (created by App)
    in div (created by App)
    in App
    in VisibilityHandler
    in Unknown (created by Connect(Component))
    in Connect(Component)
    in Provider

Also note that you need ac_add_options --enable-debug-js-modules in your .mozconfig to see the warning.

Honza

I'll have a go at this one. :)

Hmm, I cannot reproduce this warning. I did configure and build with ac_add_options --enable-debug-js-modules option too. 🤔
I might be missing something.

Flags: needinfo?(odvarko)

I can still see it. Did you make full rebuild after adding ac_add_options --enable-debug-js-modules into your .mozconfig?

Honza

Flags: needinfo?(odvarko)

Hmm. I recall doing a full rebuild but I will check later today at home (that computer has my personal dev environment).

Make sure to remove the obj dir (with built files) and run mach build again

Honza

Any luck with reproducing this?

I am seeing it all the time (Firefox Nightly, Win10)

Honza

Flags: needinfo?(duncangleeddean)

Hmm. I still cannot reproduce on MacOS. 🤔

I have followed your instructions above but no luck.

Flags: needinfo?(duncangleeddean)

Hubert, can you reproduce this bug?

Honza

Flags: needinfo?(hmanilla)

Yes I can reproduce (Firefox Nightly Mac OS)

Flags: needinfo?(hmanilla)

Duncan, are you looking into the Browser Console ?
https://developer.mozilla.org/en-US/docs/Tools/Browser_Console

Honza

Flags: needinfo?(duncangleeddean)

Hi Honza,

Ah. Was looking at the web console 🤦‍♂️
Sorry about that.

I can reproduce now.

Flags: needinfo?(duncangleeddean)
Attached file Bug 1614912: Updated patch (obsolete) —

Depends on D64594

Assignee: nobody → kritisingh1.ks
Attachment #9129503 - Attachment description: Bug 1614912: Prop not required in Toolbar → Bug 1614912: Prop not required in Toolbar
Status: NEW → ASSIGNED
Attachment #9129508 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

I have verified the issue with Firefox 75.0b1 and it is no longer reproducible.

The verification took place on Windows 10 x64 Ubuntu 18.04 and macOS 10.15.

Awesome!
Updating status for the bug as well.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: