Closed
Bug 1409413
Opened 7 years ago
Closed 7 years ago
Split the styles needed to display requests in the webconsole into a separate css file
Categories
(DevTools :: Netmonitor, enhancement, P1)
DevTools
Netmonitor
Tracking
(firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
People
(Reporter: bgrins, Assigned: Honza)
References
Details
(Whiteboard: [reserve-console-html])
Attachments
(4 files, 2 obsolete files)
Right now we are loading the entire netmonitor.css file in the webconsole, which is causing extra reflow time (i.e. due to setting display:flex on the body).
Rather than tracking down individual issues and overriding them, it would be better if we could split out only necessary styles for displaying the request / response component and import those styles from both the netmonitor and webconsole.
Reporter | ||
Comment 1•7 years ago
|
||
An example of the jank I'm seeing in the console:
Enter `for (var i = 0; i < 1000; i++) { console.log(i) }`
Try typing in the console input - each character takes a long time to show up
Blocks: 1400176
Assignee | ||
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Priority: -- → P2
Updated•7 years ago
|
Priority: P2 → P3
Whiteboard: [console-html][triage] → [reserve-console-html]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Updated•7 years ago
|
Priority: P3 → P1
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
@Brian: I am attaching a patch the should solve the problem. Do you see any improvements?
Honza
Flags: needinfo?(bgrinstead)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8923800 [details]
Bug 1409413 - Split Netmonitor styles into more files;
https://reviewboard.mozilla.org/r/194934/#review200316
Attachment #8923800 -
Flags: review?(rchien) → review+
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8923801 [details]
Bug 1409413 - Put shared styles into network-monitor context;
https://reviewboard.mozilla.org/r/194936/#review200320
Attachment #8923801 -
Flags: review?(rchien) → review+
Assignee | ||
Comment 9•7 years ago
|
||
Try push is green
https://treeherder.mozilla.org/#/jobs?repo=try&revision=60df1f7d00333c2aadaed9987b876f06f275d98d
Honza
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 13•7 years ago
|
||
@Nicolas: I had to append one style that ensures vertical alignment in the command line.
See the attached screenshot that shows the issue (if the patch is not applied).
Honza
Comment 14•7 years ago
|
||
mozreview-review |
Comment on attachment 8924125 [details]
Bug 1409413 - Make sure text in the Console command line is v-centered;
https://reviewboard.mozilla.org/r/195366/#review200880
This looks good to me, both in new and old frontend (browser console)
Attachment #8924125 -
Flags: review?(nchevobbe) → review+
Reporter | ||
Comment 15•7 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] from comment #4)
> @Brian: I am attaching a patch the should solve the problem. Do you see any
> improvements?
Can you remove the `display: block !important;` I put added as a workaround in Bug 1400176? https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/webconsole.css#1137. Then I can confirm that we don't have any issues
Flags: needinfo?(bgrinstead) → needinfo?(odvarko)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 19•7 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #15)
> Can you remove the `display: block !important;` I put added as a workaround
> in Bug 1400176?
> https://dxr.mozilla.org/mozilla-central/source/devtools/client/themes/
> webconsole.css#1137. Then I can confirm that we don't have any issues
Thanks, done.
Honza
Flags: needinfo?(odvarko)
Comment 20•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s c3cad4aa58d6 -d dfc3f11935aa: rebasing 431895:c3cad4aa58d6 "Bug 1409413 - Split Netmonitor styles into more files; r=rickychien"
merging devtools/client/webconsole/webconsole.html
warning: conflicts while merging devtools/client/webconsole/webconsole.html! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 24•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s a7cf0ffc26cb -d bbbd75cd12a9: rebasing 431896:a7cf0ffc26cb "Bug 1409413 - Split Netmonitor styles into more files; r=rickychien"
merging devtools/client/webconsole/webconsole.html
warning: conflicts while merging devtools/client/webconsole/webconsole.html! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8923801 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
Attachment #8924125 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
Attachment #8923801 -
Attachment is obsolete: false
Assignee | ||
Updated•7 years ago
|
Attachment #8924125 -
Attachment is obsolete: false
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8923801 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
Attachment #8924125 -
Attachment is obsolete: true
Assignee | ||
Comment 29•7 years ago
|
||
mozreview-review |
Comment on attachment 8925474 [details]
Bug 1409413 - Put shared styles into network-monitor context;
https://reviewboard.mozilla.org/r/196590/#review201830
Attachment #8925474 -
Flags: review+
Assignee | ||
Comment 30•7 years ago
|
||
mozreview-review |
Comment on attachment 8925474 [details]
Bug 1409413 - Put shared styles into network-monitor context;
https://reviewboard.mozilla.org/r/196590/#review201832
Attachment #8925474 -
Flags: review+
Comment 31•7 years ago
|
||
mozreview-review |
Comment on attachment 8925475 [details]
Bug 1409413 - Make sure text in the Console command line is v-centered;
https://reviewboard.mozilla.org/r/196592/#review201836
Attachment #8925475 -
Flags: review?(nchevobbe) → review+
Comment 32•7 years ago
|
||
mozreview-review |
Comment on attachment 8925474 [details]
Bug 1409413 - Put shared styles into network-monitor context;
https://reviewboard.mozilla.org/r/196590/#review201866
Attachment #8925474 -
Flags: review?(rchien) → review+
Comment 33•7 years ago
|
||
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/263fbdbfba96
Split Netmonitor styles into more files; r=rickychien
https://hg.mozilla.org/integration/autoland/rev/2f4dd6186137
Put shared styles into network-monitor context; r=rickychien
https://hg.mozilla.org/integration/autoland/rev/3a63235751b8
Make sure text in the Console command line is v-centered; r=nchevobbe
Comment 34•7 years ago
|
||
Backed out 3 changesets (bug 1409413) for failing Devtools browser_net_headers-alignment.js
https://hg.mozilla.org/integration/autoland/rev/772f0ebc6889484d1e17daf9062dffd1a17455e2
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=3a63235751b83f6382e268794970cc1222681334&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=success&filter-resultStatus=usercancel
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=142405094&repo=autoland&lineNumber=6607
Flags: needinfo?(odvarko)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 38•7 years ago
|
||
Try is green, let's try to land this again.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e142416a6c76307b6fbcf28b73ffc48bdb1f5b0b
Honza
Flags: needinfo?(odvarko)
Comment 39•7 years ago
|
||
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ed21ce36c1b
Split Netmonitor styles into more files; r=rickychien
https://hg.mozilla.org/integration/autoland/rev/9958747d871d
Put shared styles into network-monitor context; r=rickychien
https://hg.mozilla.org/integration/autoland/rev/e96092796151
Make sure text in the Console command line is v-centered; r=nchevobbe
Comment 40•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5ed21ce36c1b
https://hg.mozilla.org/mozilla-central/rev/9958747d871d
https://hg.mozilla.org/mozilla-central/rev/e96092796151
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment 41•7 years ago
|
||
This caused a slight visual difference in the console, not sure if it was intended:
https://screenshots.mattn.ca/compare/?oldProject=mozilla-central&oldRev=4ea775c267be77107929d68799628a66027f3172&newProject=mozilla-central&newRev=62aeebcc676e93dc56a97d44753f4e2f963d43c3&filter=console
Assignee | ||
Comment 42•7 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #41)
> This caused a slight visual difference in the console, not sure if it was
> intended:
>
> https://screenshots.mattn.ca/compare/?oldProject=mozilla-
> central&oldRev=4ea775c267be77107929d68799628a66027f3172&newProject=mozilla-
> central&newRev=62aeebcc676e93dc56a97d44753f4e2f963d43c3&filter=console
I created a follow up: bug 1415137
Thanks!
Honza
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•