Closed Bug 1520865 Opened 2 years ago Closed 2 years ago

Use the return of Array.concat in exceptionDialog.js

Categories

(Core :: Security: PSM, enhancement, P1)

57 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: jaws, Assigned: jaws)

References

Details

Attachments

(1 file)

Bug 1518786 landed a patch, in which the elements that are having their localization text updated are returned from updateCertStatus(). This result is then concatenated with an array of other elements that are getting updated. However, the result of the call to concat() is ignored and thus the return value is not actually used.

We can also do a little clean-up in the checkCert() function to use await in another place since the function is async and we don't need to use .then().

Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/188f7a851811
Use the return value of Array.concat when building the list of nodes that are being localized before window.sizeToContent. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.