Closed Bug 796006 Opened 10 years ago Closed 10 years ago
[markup panel] Don't fully expand nodes with large amounts of children in markup panel (performance)
Try inspecting a page with a ton of nodes, like http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js, where span#the-code has a bunch of children. We should just show the first fifty or so of the children, with a link to show more at the end.
I run into this issue very often.
Priority: -- → P2
Summary: Don't fully expand nodes with large amounts of children in markup panel → [markup panel] Don't fully expand nodes with large amounts of children in markup panel (performance)
In the future DevTools toobox, the markup view won't be toggable anymore, and will be shown as soon as the inspector is started. This makes this bug a blocker.
Priority: P2 → P1
Dave, iirc, you had a plan for that.
Any update on this?
Working on it.
https://github.com/campd/mozilla-central/commits/markup-limits has my current work. Needs some tests and a real patch.
I added tests to that branch, should have a patch up today.
(In reply to Dave Camp (:dcamp) from comment #8) > https://github.com/joewalker/devtools-window/pull/323 Is it ready for a review?
(In reply to Paul Rouget [:paul] from comment #9) > (In reply to Dave Camp (:dcamp) from comment #8) > > https://github.com/joewalker/devtools-window/pull/323 > > Is it ready for a review? Yeah - I was going to ping Joe for it (since he reviewed MarkupView to begin with) but feel free to chime in.
I would like to land that today. Dave, I think you got a r+ from Joe (github). Can you update and attach a patch here?
As reviewed in the pull request, plus fixes.
Attachment #693694 - Flags: review?(jwalker)
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Backed out (orange): https://hg.mozilla.org/integration/fx-team/rev/6ee0e3a037e4
Test was bit-rotted by the API patch. Fixed and re-landed as https://hg.mozilla.org/integration/fx-team/rev/538602f4cb51
Backed out again (orange): https://hg.mozilla.org/integration/fx-team/rev/dfd316f5c81d
One more try...
Attachment #693694 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/538602f4cb51 https://hg.mozilla.org/mozilla-central/rev/dfd316f5c81d https://hg.mozilla.org/mozilla-central/rev/4d709ea729b3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
10 years ago
Hi. As I said in the mailing list, I found that the "Shaw all %S nodes" isn't marked as a plural, and that makes the translations look really bad. Can someone solve it?  https://groups.google.com/forum/#!topic/mozilla.dev.l10n/Lt437W2D8ag
You need to log in before you can comment on or make changes to this bug.