browser_check_identity_state.js is pretty close to what you want to do, [it loads different sites like example.com](https://searchfox.org/mozilla-central/source/browser/base/content/test/siteIdentity/browser_check_identity_state.js#64) and checks their security indicators. You might want to do the same for something URL like `about:reader?url=http://example.com`, but then we also would like to verify that `identity-popup-mainView-panel-header-span` contains the right URL (and doesn't contain `about:reader`). Does that make sense? Thanks!
Bug 1511834 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
browser_check_identity_state.js is pretty close to what you want to do, [it loads different sites like example.com](https://searchfox.org/mozilla-central/source/browser/base/content/test/siteIdentity/browser_check_identity_state.js#64) and checks their security indicators. You might want to do the same for some URL like `about:reader?url=http://example.com`, but then we also would like to verify that `identity-popup-mainView-panel-header-span` contains the right URL (and doesn't contain `about:reader`). Does that make sense? Thanks!