Closed
Bug 1297082
Opened 8 years ago
Closed 8 years ago
Convert the Curl.jsm module to curl.js, use it in HAR builder
Categories
(DevTools :: Netmonitor, defect, P1)
DevTools
Netmonitor
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: jsnajdr, Assigned: jsnajdr)
References
Details
Attachments
(3 files)
- convert the Curl.jsm module to CommonJS (curl.js) - start using it in the HAR builder, remove duplicate code (getHeadersFromMultipartText, isUrlEncodedRequest) This is one of changes I did for bug 1176050 (Netmonitor performance optimizations), but it's uncertain if that patch will ever land - it failed to deliver the promised performance improvements so far. Therefore, I want to land some valuable parts of it separately.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
Part 1: - rename Curl.jsm to curl.js and fix the imports Part 2: - use CurlUtils in har-builder.js, remove duplicate functions - using CurlUtils.getHeadersFromMultipartText to extract upload stream headers fixes issue discussed in bug 1278923 (see [1]) Part 3: - make the curl.js file eslint-clean You need to apply this patch on top of the fix from bug 1297068 (multipart boundaries) [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1278923#c17
Updated•8 years ago
|
Priority: -- → P1
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8783897 [details] Bug 1297082 - Part 1: Convert Curl.jsm to a CommonJS module https://reviewboard.mozilla.org/r/73552/#review72030 LGTM
Attachment #8783897 -
Flags: review?(odvarko) → review+
Comment 6•8 years ago
|
||
Btw. I assume there are no changes in the curl.js file, correct? Honza
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8783898 [details] Bug 1297082 - Part 2: Use curl.js utility functions in HAR builder https://reviewboard.mozilla.org/r/73554/#review72032 R+ assuming try is green.
Attachment #8783898 -
Flags: review?(odvarko) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8783899 [details] Bug 1297082 - Part 3: Fix eslint issues in curl.js https://reviewboard.mozilla.org/r/73556/#review72034
Attachment #8783899 -
Flags: review?(odvarko) → review+
Pushed by jsnajdr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/bf02a86c242d Part 1: Convert Curl.jsm to a CommonJS module r=Honza https://hg.mozilla.org/integration/autoland/rev/47874267eb44 Part 2: Use curl.js utility functions in HAR builder r=Honza https://hg.mozilla.org/integration/autoland/rev/4dd3a3052ef0 Part 3: Fix eslint issues in curl.js r=Honza
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bf02a86c242d https://hg.mozilla.org/mozilla-central/rev/47874267eb44 https://hg.mozilla.org/mozilla-central/rev/4dd3a3052ef0
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•