Update page title in about:buildconfig
Categories
(Firefox :: General, enhancement)
Tracking
()
People
(Reporter: suriyaa, Assigned: suriyaa, Mentored)
References
()
Details
(Whiteboard: [bugday-20190327])
Attachments
(2 files)
The about:buildconfig site doesn't have an appropriate page title. This bug is based on bug 1051846.
Assignee | ||
Comment 1•6 years ago
|
||
Fixes also partially bug 1051846.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Backed out changeset dc2ae28a117f (bug 1534003) for causing mochitest failures on test_docload_embedded.html CLOSED TREE
Backout revision https://hg.mozilla.org/integration/autoland/rev/a1e3236f2f5307571e516f55994f8c088ddb204f
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=235012995&repo=autoland
mconley can you please take a look?
Comment 4•6 years ago
|
||
Hey yzen, do you know what test_docload_embedded.html is trying to do here, and why this test is failing now? I'm having a hard time piecing it together, and why it'd be sensitive to about:buildconfig changes like this. :/
Comment 5•6 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #4)
Hey yzen, do you know what test_docload_embedded.html is trying to do here, and why this test is failing now? I'm having a hard time piecing it together, and why it'd be sensitive to about:buildconfig changes like this. :/
Looks like we are hardcoding the expected accessible name for the "about:buildconfig" document (essentially the title). It should be fine to change that to the new title value.
Comment 6•6 years ago
|
||
Hey yzen,
Does that mean adding another condition here, like we do for about:license?: https://searchfox.org/mozilla-central/rev/7c20ad925005fbad7b8e08813115f1ec7fa1c248/accessible/tests/mochitest/events/docload/test_docload_embedded.html#43
Comment 7•6 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #6)
Hey yzen,
Does that mean adding another condition here, like we do for about:license?: https://searchfox.org/mozilla-central/rev/7c20ad925005fbad7b8e08813115f1ec7fa1c248/accessible/tests/mochitest/events/docload/test_docload_embedded.html#43
Ah sorry, I should've pointed you there, indeed. I would suggest changing the signature of the changeIframeSrc function to:
function changeIframeSrc(aIdentifier, aURL, aTitle) {
...
{
role: ROLE_DOCUMENT,
name: aTitle,
},
...
}
and then calling it in the test as:
gQueue.push(new changeIframeSrc("iframe", "about:license", "Licenses"));
gQueue.push(new changeIframeSrc("iframe", "about:buildconfig", "Build Configuration"));
Comment 8•6 years ago
|
||
Okay, thanks.
Hi suriyaa! I'm afraid your patch bounced because of a test that I didn't know about that seems to rely on about:buildconfig having a title that matches its URL. yzen has given some advice on how to update the test to be less fragile - see comment 7.
Is that enough information for you to modify the patch?
Assignee | ||
Comment 9•6 years ago
|
||
Thanks for the information. I'm working on it.
Assignee | ||
Comment 10•6 years ago
|
||
Fixes BMO bug 1534003 and phab commit D22848.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 11•6 years ago
|
||
Done.
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
Comment 15•6 years ago
|
||
I have reproduced this bug with Nightly 67.0a1 (2019-03-09) Windows 10, 64 Bit !
This bug's fix is Verified with latest Nightly !
- Build ID 20190402083512
- User Agent ::--- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Updated•6 years ago
|
Description
•