Closed Bug 1350232 Opened 9 years ago Closed 9 years ago

Removing quotes for properties view

Categories

(DevTools :: Netmonitor, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1258628

People

(Reporter: gasolin, Assigned: moraveyo, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

In Netmonitor sidebar panels, many properties has `quotes` for values. We'd like to remove "" around the properties.
Ricky, could you provide more details about how to solve this bug?
Flags: needinfo?(rchien)
Keywords: good-first-bug
Priority: -- → P3
Whiteboard: [netmonitor]
Flags: qe-verify?
Priority: P3 → P2
I think we can simply remove Rep for representing the value at https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/shared/components/properties-view.js#120-126. but return member.value directly.
Flags: needinfo?(rchien)
Can I be assigned and work on this as my "good first bug"?
Sure, thanks for willing contribute! You can clone and build gecko by following instructions https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build If you need any help, just needinfo me or Ricky.
Assignee: nobody → moraveyo
Status: NEW → ASSIGNED
Priority: P2 → P3
Whiteboard: [netmonitor] → [netmonitor-reserve]
Please help: how can I run test for /mozilla-central/source/devtools/client/netmonitor/shared/components/ ?
Flags: qe-verify? → qe-verify+
QA Contact: ciprian.georgiu
I think I finally sorted out how to run the tests for this module. Am I right to use `./mach test devtools/client/netmonitor/test`? Sadly the tests are broken by my patch. I beleive it's things like `tabpanel.querySelectorAll("tr:not(.tree-section) .treeValueCell .objectBox");` returning null. I'm not so deep into this code, please give me some clue.
Hi Elena, thanks for your contribution. Here is our MDN doc for running mochitest https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#Running_select_tests Yes, you can use `./mach mochitest devtools/client/netmonitor/` for testing netmonitor. (./mach test or ./mach mochitest both are the same) or run only one or several tests by `./mach mochitest browser_net_api-calls browser_net_autoscroll` It's tricky way for selecting our text in PropertiesView component by accessing `tabpanel.querySelectorAll("tr:not(.tree-section) .treeValueCell .objectBox");` ".objectBox" belongs to Rep but as comment 2 mentioned, we're going to remove it. So you should select an existing element to get text from element. How to debug mochitest? Assuming browser_net_complex-params.js is broken. I usually insert a temporary debugger statement [1] and run `./mach mochitest browser_net_complex-params --jsdebugger`. You have to run mochitest suite manually after browser opened. [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger
BTW, for contributors you can join our public slack channel https://devtools-html.slack.com and join #netmonitor to ask any questions. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
No longer blocks: netmonitor-phaseII
Flags: qe-verify+
Priority: P3 → --
QA Contact: ciprian.georgiu
Whiteboard: [netmonitor-reserve]
Attachment #8852196 - Flags: review?(rchien)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: