Make about:processes localizable
Categories
(Core :: DOM: Content Processes, enhancement, P5)
Tracking
()
People
(Reporter: Yoric, Assigned: Yoric)
References
Details
Attachments
(8 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Bug 1632794 brings about partial localization for about:processes, but not for e.g. numbers, percentages, etc. We should work on this.
Updated•5 years ago
|
Comment 1•5 years ago
|
||
We should make about:processes localizable before we ship Fission MVP, but it's a low priority for now because it is an internal developer tool.
Comment 2•5 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #1)
We should make about:processes localizable before we ship Fission MVP, but it's a low priority for now because it is an internal developer tool.
Moving to Fission M7 Beta milestone because we want to be feature complete before Fission rides from Nightly to Beta. All features and tests should be Fission compatible (or granted an exception) before Beta. The Fission MVP milestone is for critical bugs we find in Firefox Beta that will block Fission from riding to Release.
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Comment 7•5 years ago
|
||
I don't think this bug should be closed, given about:processes is not localizable yet.
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #7)
I don't think this bug should be closed, given about:processes is not localizable yet.
It's getting there :)
But yeah, we're still missing localization of numbers.
Updated•5 years ago
|
Comment 9•5 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #7)
I don't think this bug should be closed, given about:processes is not localizable yet.
Could you please specify what work is left?
Comment 10•5 years ago
|
||
I have no visibility about what features are still missing (e.g. the reference to numbers in comment 8). Looking at the file as a whole, there are a handful of IDs that should be fixed and got missed in review (they're using CamelCase, when they should only be lowercase).
When the content is ready, the FTL file needs to be moved in a localizable path, and all references to it updated. Currently it's in toolkit/components/aboutprocesses/content/
, and not exposed for localization. For that to happen, it should move to toolkit/locales/en-US/toolkit/about/
.
Assignee | ||
Comment 11•5 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #10)
I have no visibility about what features are still missing (e.g. the reference to numbers in comment 8).
I'll try and work on localizing numbers.
Looking at the file as a whole, there are a handful of IDs that should be fixed and got missed in review (they're using CamelCase, when they should only be lowercase).
Could you elaborate?
When the content is ready, the FTL file needs to be moved in a localizable path, and all references to it updated. Currently it's in
toolkit/components/aboutprocesses/content/
, and not exposed for localization. For that to happen, it should move totoolkit/locales/en-US/toolkit/about/
.
Ok.
Comment 12•5 years ago
•
|
||
(In reply to David Teller [:Yoric] - last day is October 30th from comment #11)
Looking at the file as a whole, there are a handful of IDs that should be fixed and got missed in review (they're using CamelCase, when they should only be lowercase).
Could you elaborate?
We ask to only use lowercase letters and hyphens for IDs, CamelCase should be limited to files where the IDs are generated automatically, and there are a lot of them (that's the case for about:policies, for example).
https://firefox-source-docs.mozilla.org/l10n/fluent/tutorial.html?highlight=lowercase
about-processes-forkServer-process-name
about-processes-gmpPlugin-process-name
about-processes-remoteSandboxBroker-process-name
about-processes-webIsolated-process-name
about-processes-webLargeAllocation
about-processes-withCoopCoep-process-name
These IDs should be updated, e.g. about-processes-fork-server-process-name
.
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Depends on D94758
Assignee | ||
Comment 15•5 years ago
|
||
Depends on D94759
Assignee | ||
Comment 16•5 years ago
|
||
Depends on D94760
Assignee | ||
Comment 17•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
Backed out for bc failures on browser_aboutprocesses_show_all_frames.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4ef5e2c8e4e41b9814d3d2b6abc346f5aa426957
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=320040091&repo=autoland&lineNumber=2237
Assignee | ||
Comment 20•5 years ago
|
||
This looks like a timeout.
Was this only on ASAN builds?
Comment 21•5 years ago
|
||
Comment 22•5 years ago
|
||
Backed out for failures on browser_aboutprocesses_show_threads.js
backout: https://hg.mozilla.org/integration/autoland/rev/a7b7d089d5c362b8324d341eb59611829cf4087a
push: https://treeherder.mozilla.org/jobs?repo=autoland&revision=d6225550a9a3805424da1d838b79b6657a01e2bc
failure log: https://treeherder.mozilla.org/logviewer?job_id=320238842&repo=autoland&lineNumber=6234
[task 2020-10-30T09:48:26.428Z] 09:48:26 INFO - TEST-PASS | toolkit/components/aboutprocesses/tests/browser/browser_aboutprocesses_show_threads.js | {} == true -
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - Setting up fake process hang detector
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - Buffered messages logged at 09:48:12
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - Console message: [JavaScript Error: "uncaught exception: [fluent][resolver] errors in en-US/about-processes-cpu-user-and-kernel: ReferenceError: Unknown variable: $unit."]
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - Buffered messages finished
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/aboutprocesses/tests/browser/browser_aboutprocesses_show_threads.js | Uncaught exception - The table should be populated - timed out after 50 tries.
[task 2020-10-30T09:48:26.429Z] 09:48:26 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/aboutprocesses/tests/browser/browser_aboutprocesses_show_threads.js | A promise chain failed to handle a rejection: [fluent][resolver] errors in en-US/about-processes-cpu-user-and-kernel: ReferenceError: Unknown variable: $unit. - stack: (No stack available.)
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - Rejection date: Fri Oct 30 2020 09:48:12 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - Stack trace:
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1100
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - Leaving test bound testShowThreads
[task 2020-10-30T09:48:26.430Z] 09:48:26 INFO - Not taking screenshot here: see the one that was previously logged
Assignee | ||
Comment 23•5 years ago
|
||
With ASAN, we get intermittent internal timeouts. Deactivating ASAN tests.
Assignee | ||
Comment 24•5 years ago
|
||
We encounter intermittent errors with about:processes tests during which tab switching seems to fail. This patch tweaks the tests to try harder to switch tabs.
Depends on D95308
Assignee | ||
Updated•5 years ago
|
Comment 25•5 years ago
|
||
Updated•5 years ago
|
Comment 26•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6359518c05a9
https://hg.mozilla.org/mozilla-central/rev/9b72d9db5a05
https://hg.mozilla.org/mozilla-central/rev/0f1b2e7e8b91
https://hg.mozilla.org/mozilla-central/rev/695f232f1abc
https://hg.mozilla.org/mozilla-central/rev/53725bf4f557
https://hg.mozilla.org/mozilla-central/rev/98b2b8588747
https://hg.mozilla.org/mozilla-central/rev/1fee8d805e6f
Comment 27•5 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Description
•