Closed Bug 1457701 Opened 7 years ago Closed 7 years ago

Use Reps with noGrip:true in netmonitor

Categories

(DevTools :: Netmonitor, enhancement, P2)

enhancement

Tracking

(firefox62 fixed)

RESOLVED FIXED
Firefox 62
Tracking Status
firefox62 --- fixed

People

(Reporter: Oriol, Assigned: Honza)

References

Details

Attachments

(1 file)

Thanks for the report Oriol! Honza
Priority: -- → P2
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Comment on attachment 8974056 [details] Bug 1457701 - Use Reps with noGrip:true in netmonitor; https://reviewboard.mozilla.org/r/242376/#review248244 Code analysis found 1 defect in this patch: - 1 defect found by mozlint You can run this analysis locally with: - `./mach lint path/to/file` (JS/Python) If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx ::: devtools/client/netmonitor/test/browser_net_json-nogrip.js:15 (Diff revision 1) > +add_task(async function() { > + let { tab, monitor } = await initNetMonitor(JSON_BASIC_URL + "?name=nogrip"); > + info("Starting test... "); > + > + let { document, store, windowRequire } = monitor.panelWin; > + let { L10N } = windowRequire("devtools/client/netmonitor/src/utils/l10n"); Error: 'l10n' is assigned a value but never used. [eslint: no-unused-vars]
With https://github.com/devtools-html/debugger.html/pull/6211, the existing browser_net_json-long.js test would have already failed without noGrip:true. So it would be nice if someone reviewed it.
Comment on attachment 8974056 [details] Bug 1457701 - Use Reps with noGrip:true in netmonitor; https://reviewboard.mozilla.org/r/242376/#review248254 Looks good! Thanks for adding the test as well. :)
Attachment #8974056 - Flags: review?(jryans) → review+
Thanks for quick review, try looks good. https://treeherder.mozilla.org/#/jobs?repo=try&revision=b9dcf613fc73620e66d51f3060a0e329b9a164bc (the ES error is fixed) (In reply to Oriol Brufau [:Oriol] from comment #5) > With https://github.com/devtools-html/debugger.html/pull/6211, the existing > browser_net_json-long.js test would have already failed without noGrip:true. > So it would be nice if someone reviewed it. I'll talk to Nicolas about it, thanks for the link. Not a blocker for this bug. Honza
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c68911c91fee Use Reps with noGrip:true in netmonitor; r=jryans
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: