Bug: Intermittent browser/base/content/test/about/browser_aboutCertError.js | Uncaught exception - undefined - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-06-05 06:32:02+00:00
Resolved: 2020-07-21 17:06:49+00:00

**Filed by:** cbrindusan [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=305173922&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MQbhI9LgRR2jXUhViurUtA/runs/0/artifacts/public/logs/live_backing.log

---

[task 2020-06-05T05:22:35.537Z] 05:22:35     INFO - TEST-START | browser/base/content/test/about/browser_aboutCertError.js
[task 2020-06-05T05:22:49.328Z] 05:22:49     INFO - TEST-INFO | started process screenshot
[task 2020-06-05T05:22:49.408Z] 05:22:49     INFO - TEST-INFO | screenshot: exit 0
[task 2020-06-05T05:22:49.409Z] 05:22:49     INFO - <snipped 48 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2020-06-05T05:22:49.409Z] 05:22:49     INFO - Buffered messages logged at 05:22:37
[task 2020-06-05T05:22:49.410Z] 05:22:49     INFO - Loading a bad cert page and verifying the main error and advanced details section
[task 2020-06-05T05:22:49.410Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.411Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.411Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Should list hostname in error message. - true == true - 
[task 2020-06-05T05:22:49.411Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Exception button is not disabled by default. - true == true - 
[task 2020-06-05T05:22:49.412Z] 05:22:49     INFO - Buffered messages logged at 05:22:38
[task 2020-06-05T05:22:49.412Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.413Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-06-05T05:22:49.413Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-06-05T05:22:49.413Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-06-05T05:22:49.414Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.414Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-06-05T05:22:49.415Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-06-05T05:22:49.415Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-06-05T05:22:49.416Z] 05:22:49     INFO - Loading cert error page in an iframe
[task 2020-06-05T05:22:49.416Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.417Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Should list hostname in error message. - true == true - 
[task 2020-06-05T05:22:49.417Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Exception button is not disabled by default. - true == true - 
[task 2020-06-05T05:22:49.417Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.418Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-06-05T05:22:49.419Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-06-05T05:22:49.419Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-06-05T05:22:49.419Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.419Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-06-05T05:22:49.419Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - [task 2020-06-05T05:22:49.420Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-06-05T05:22:49.420Z] 05:22:49     INFO - Leaving test bound checkAdvancedDetails
[task 2020-06-05T05:22:49.421Z] 05:22:49     INFO - Entering test bound checkAdvancedDetailsForHSTS
[task 2020-06-05T05:22:49.421Z] 05:22:49     INFO - Loading a bad STS cert page and verifying the advanced details section
[task 2020-06-05T05:22:49.422Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.422Z] 05:22:49     INFO - Buffered messages logged at 05:22:39
[task 2020-06-05T05:22:49.423Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.423Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct cert_domain_link contents found - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | cert_domain_link is a link - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - 
[task 2020-06-05T05:22:49.424Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - Loading cert error page in an iframe
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.425Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Error message is a link - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct cert_domain_link contents found - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | cert_domain_link is a link - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Debug information is visible - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct URL found - [task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct error message found - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HSTS value found - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Correct HPKP value found - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Found certificate chain - 
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - Leaving test bound checkAdvancedDetailsForHSTS
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - Entering test bound checkUnknownIssuerLearnMoreLink
[task 2020-06-05T05:22:49.426Z] 05:22:49     INFO - Loading a cert error for self-signed pages and checking the correct link is shown
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Buffered messages logged at 05:22:40
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | security-error in the Learn More URL - 
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Loading cert error page in an iframe
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | security-error in the Learn More URL - 
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Leaving test bound checkUnknownIssuerLearnMoreLink
[task 2020-06-05T05:22:49.427Z] 05:22:49     INFO - Entering test bound checkCautionClass
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - Checking that are potentially more dangerous get a 'caution' class
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has  caution class - true == true - 
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - Buffered messages logged at 05:22:41
[task 2020-06-05T05:22:49.428Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - true == true - 
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Loading cert error page in an iframe[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - false == false - 
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Loading cert error page in an iframe
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Buffered messages logged at 05:22:42
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.429Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Cert error body has no caution class - true == true - 
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Leaving test bound checkCautionClass
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Entering test bound checkViewCertificate
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Loading a cert error and checking that the certificate can be shown.
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "about:certerror?e=nssBadCert&u=https%3A//self-signed.example.com/&c=UTF-8&d=%20" line: 0}]
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | about:certificate is the new opened tab - true == true - 
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | infoGroup found - {} == true - 
[task 2020-06-05T05:22:49.430Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | The correct item was selected - "certificate-viewer-common-name" == "certificate-viewer-common-name" - 
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Shows the correct certificate in the page - "self-signed.example.com" == "self-signed.example.com" - 
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Leaving test bound checkViewCertificate
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Entering test bound checkBadStsCertHeadline
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Loading a bad sts cert error page and checking that the correct headline is shown
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Loading and waiting for the cert error
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Buffered messages logged at 05:22:43
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 492}]
[task 2020-06-05T05:22:49.431Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Warning: Potential Security Risk Ahead - true == true - 
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Loading cert error page in an iframe[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - TEST-PASS | browser/base/content/test/about/browser_aboutCertError.js | Did Not Connect: Potential Security Issue - true == true - 
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Leaving test bound checkBadStsCertHeadline
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Entering test bound checkSandboxedIframe
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Loading a bad sts cert error in a sandboxed iframe and check that the correct headline is shown
[task 2020-06-05T05:22:49.432Z] 05:22:49     INFO - Loading cert error page in an iframe
[task 2020-06-05T05:22:49.433Z] 05:22:49     INFO - Buffered messages logged at 05:22:44
[task 2020-06-05T05:22:49.433Z] 05:22:49     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutNetError.js" line: 496}]
[task 2020-06-05T05:22:49.433Z] 05:22:49     INFO - Buffered messages finished
[task 2020-06-05T05:22:49.433Z] 05:22:49     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/about/browser_aboutCertError.js | Uncaught exception - undefined - timed out after 50 tries.