Closed
Bug 837735
Opened 11 years ago
Closed 11 years ago
Remove or replace loading progress strings from the profiler
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect, P3)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox21 verified, firefox22 verified)
VERIFIED
FIXED
Firefox 21
People
(Reporter: anton, Assigned: anton)
Details
Attachments
(1 file, 1 obsolete file)
1.94 KB,
patch
|
anton
:
review+
|
Details | Diff | Splinter Review |
I don't think seeing "Processing worker requests..." helps web (Firefox OS) developers in any way but it might confuse them. So I propose killing these strings or replacing them with "Loading...".
Assignee | ||
Comment 1•11 years ago
|
||
I basically forked enterProgressUI function and replaced text reporting with our localized string.
Attachment #710442 -
Flags: review?(rcampbell)
Comment 2•11 years ago
|
||
Comment on attachment 710442 [details] [diff] [review] Replace Cleopatra progress strings with "Loading profile..." Review of attachment 710442 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/profiler/cleopatra/js/devtools.js @@ +226,5 @@ > + > + var reporter = new ProgressReporter(); > + reporter.addListener(function (rep) { > + var progress = rep.getProgress(); > + label.innerHTML = gStrings.getStr("profiler.loading"); label.textContent = ... do we need to change the contents of the label on every progress tick? ::: browser/locales/en-US/chrome/browser/devtools/profiler.properties @@ +63,4 @@ > > # LOCALIZATION NOTE (profiler.stop) > # This string is displayed on the button that stops the profiler. > +profiler.stop=Stop same except for whitespace, right?
Attachment #710442 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Thanks! (In reply to Rob Campbell [:rc] (:robcee) from comment #2) > Comment on attachment 710442 [details] [diff] [review] > Replace Cleopatra progress strings with "Loading profile..." > > Review of attachment 710442 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/devtools/profiler/cleopatra/js/devtools.js > @@ +226,5 @@ > > + > > + var reporter = new ProgressReporter(); > > + reporter.addListener(function (rep) { > > + var progress = rep.getProgress(); > > + label.innerHTML = gStrings.getStr("profiler.loading"); > > label.textContent = ... > > do we need to change the contents of the label on every progress tick? You're right, we don't. > ::: browser/locales/en-US/chrome/browser/devtools/profiler.properties > @@ +63,4 @@ > > > > # LOCALIZATION NOTE (profiler.stop) > > # This string is displayed on the button that stops the profiler. > > +profiler.stop=Stop > > same except for whitespace, right? I think it shows the line as modified because of the added newline character at the end.
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #710442 -
Attachment is obsolete: true
Attachment #711476 -
Flags: review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/f367b0119446
Whiteboard: [fixed-in-fx-team]
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f367b0119446
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 21
Comment 7•11 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20130311 Firefox/21.0, Build ID: 20130311042011 Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20130311 Firefox/22.0, Build ID: 20130311030946 Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20130312 Firefox/21.0, Build ID: 20130312042013 Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20130312 Firefox/22.0, Build ID: 20130312031046 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20130312 Firefox/21.0, Build ID: 20130312042013 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20130307 Firefox/22.0, Build ID: 20130312031046 VErified the fix on latest Nightly and Aurora builds across platforms: "Loading profile..." message is displayed after clicking "Stop" button.
Status: RESOLVED → VERIFIED
status-firefox21:
--- → verified
status-firefox22:
--- → verified
OS: Mac OS X → All
Hardware: x86 → All
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•