Closed Bug 1311614 Opened 8 years ago Closed 8 years ago

Move CustomRequestView to its own module

Categories

(DevTools :: Netmonitor, defect, P1)

defect

Tracking

(firefox52 fixed)

RESOLVED FIXED
Firefox 52
Iteration:
52.3 - Nov 14
Tracking Status
firefox52 --- fixed

People

(Reporter: gasolin, Assigned: gasolin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [netmonitor])

Attachments

(2 files)

Move the CustomRequestView class out of netmonitor-view.js into its own module. Move shared functions and constants to shared modules as needed.
Flags: qe-verify?
Whiteboard: [netmonitor] → [netmonitor] [triage]
Assignee: gasolin → nobody
Status: ASSIGNED → NEW
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Iteration: --- → 52.3 - Nov 7
Priority: -- → P1
Whiteboard: [netmonitor] [triage] → [netmonitor]
try green. I can't find CustomRequestView.populate is called anywhere, though the related event(EVENTS.CUSTOMREQUESTVIEW_POPULATED) is used in test cases, so I keep it unchanged. We can figure it out when we convert it to the react component.
Ok, `CustomRequestView.populate` is called by `NetmonitorView._onTabSelect`, which will call view's populate method when switching to the target tab. So `CustomRequestView.populate` is functional.
Flags: qe-verify? → qe-verify-
Comment on attachment 8802838 [details] Bug 1311614 - Move CustomRequestView to its own module; https://reviewboard.mozilla.org/r/87134/#review86534 LGTM! R+ assuming try is green. Honza
Attachment #8802838 - Flags: review?(odvarko) → review+
try green, thanks
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6434461d1252 Move CustomRequestView to its own module;r=Honza
Keywords: checkin-needed
This broke eslint which was unfortunately hidden over the weekend: TEST-UNEXPECTED-ERROR | /home/worker/checkouts/gecko/devtools/client/netmonitor/custom-request-view.js:216:2 | Newline required at end of file but not found. (eol-last) Its simple, so I'll get a bustage fix for it landed in a moment.
Attachment #8803806 - Flags: review+
Comment on attachment 8803806 [details] Follow up to bug 1311614 - Fix missing newline at end of custom-request-view.js to fix eslint. rs=bustage-fix. https://reviewboard.mozilla.org/r/87962/#review86940 rs=Standard8
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/47efa3e76f69 Follow up to bug 1311614 - Fix missing newline at end of custom-request-view.js to fix eslint. rs=bustage-fix. r=standard8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: