Closed
Bug 1350232
Opened 7 years ago
Closed 7 years ago
Removing quotes for properties view
Categories
(DevTools :: Netmonitor, enhancement)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1258628
People
(Reporter: gasolin, Assigned: moraveyo, Mentored)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
In Netmonitor sidebar panels, many properties has `quotes` for values. We'd like to remove "" around the properties.
Reporter | ||
Comment 1•7 years ago
|
||
Ricky, could you provide more details about how to solve this bug?
Updated•7 years ago
|
Flags: qe-verify?
Priority: P3 → P2
Comment 2•7 years ago
|
||
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)
Assignee | ||
Comment 3•7 years ago
|
||
Can I be assigned and work on this as my "good first bug"?
Reporter | ||
Comment 4•7 years ago
|
||
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
Updated•7 years ago
|
Status: NEW → ASSIGNED
Priority: P2 → P3
Whiteboard: [netmonitor] → [netmonitor-reserve]
Assignee | ||
Comment 5•7 years ago
|
||
Please help: how can I run test for /mozilla-central/source/devtools/client/netmonitor/shared/components/ ?
Updated•7 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: ciprian.georgiu
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
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.
Comment 8•7 years ago
|
||
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
Comment 9•7 years ago
|
||
BTW, for contributors you can join our public slack channel https://devtools-html.slack.com and join #netmonitor to ask any questions. Thanks!
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
No longer blocks: netmonitor-phaseII
Flags: qe-verify+
Priority: P3 → --
QA Contact: ciprian.georgiu
Whiteboard: [netmonitor-reserve]
Updated•7 years ago
|
Attachment #8852196 -
Flags: review?(rchien)
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•