Bug: Perma Windows shippable browser/base/content/test/siteIdentity/browser_check_identity_state.js | A promise chain failed to handle a rejection: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "<unknown>"
Status: RESOLVED
Priority: P3
Resolution: INCOMPLETE
Created: 2024-05-06 15:48:58+00:00
Resolved: 2025-02-14 12:00:46+00:00

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

---
```
[task 2024-05-06T14:04:53.950Z] 14:04:53     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should not be chromeUI - "notSecure" != "chromeUI" - 
[task 2024-05-06T14:04:53.951Z] 14:04:53     INFO - Buffered messages finished
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_check_identity_state.js | A promise chain failed to handle a rejection: [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "<unknown>"  data: no] - stack: (No stack available.)
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - Rejection date: Mon May 06 2024 14:04:49 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":620,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":587,"lineNumber":1167,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":587,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":587,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":587,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":611,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - Stack trace:
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-06T14:04:53.956Z] 14:04:53     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-06T14:04:53.957Z] 14:04:53     INFO - Leaving test bound chromeUITest
[task 2024-05-06T14:04:53.957Z] 14:04:53     INFO - Entering test bound test_webpage
[task 2024-05-06T14:04:54.103Z] 14:04:54     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/browser/browser/base/content/test/siteIdentity/dummy_page.html" line: 0}]
[task 2024-05-06T14:04:54.375Z] 14:04:54     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_check_identity_state.js | Identity should be not secure - 
```