[Certificate Viewer] The same certificate is opened in different tabs
Categories
(Firefox :: Security, enhancement, P3)
Tracking
()
People
(Reporter: cbaica, Assigned: carolina.jimenez.g)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
[Affected platforms]:
- win 10
- macOS 10.14
- ubuntu 18.04
[Steps to reproduce]:
- Launch Firefox.
- Navigate to about:preferences#privacy, scroll down to the Certificates section.
- Click View Certificates button.
- Select the first certificate and click the 'View...' button.
- Switch back to the about:preferences tab, and click the 'View...' button again, for the same certificate.
[Expected result]:
- The user is redirected to the already open tab of that certificate.
[Actual result]:
- A new about:certificate tab is opened.
[Regression range]:
- This is not a regression
[Additional notes]:
- This issue occurs if the about:certificate page is opened from the page information panel of the a website.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Changing to enhancement, as I don't think this situation will come up terribly often.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Comment 5•5 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=277726662&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=277750295&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/af28127350c3414debefb0489beecfc85b6730b1
Assignee | ||
Comment 7•5 years ago
|
||
When I run those tests locally they pass (I think they failed just in windows?), I'm not sure what may be wrong with these changes.
Johann, can you give me any insights on how to solve this issues please?
Comment 8•5 years ago
|
||
The test log shows TypeError: window.switchToTabHavingURI is not a function
on viewCert@chrome://browser/content/pageinfo/security.js:42:14
, you probably need to use Services.wm.getMostRecentWindow("navigator:browser");
to get the actual browser window (as opposed to the pageinfo window) here as well.
Assignee | ||
Comment 9•5 years ago
|
||
Thank you! I got lost on the test log but now I know where to read
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Comment 12•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
|
Comment 13•5 years ago
•
|
||
Reproduced the initial issue using Release version 72.0.1 (Build id: 20200107212822).
Verified - Fixed in latest Nightly build 74.0a1 (Build id: 20200108215606) and latest Beta 73.0b2 (Build id: 20200107212705) using Windows 10, Mac OS 10.14 and Ubuntu 18.04.
Description
•