summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/general/browser_bug435035.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/general/browser_bug435035.js')
-rw-r--r--browser/base/content/test/general/browser_bug435035.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/browser/base/content/test/general/browser_bug435035.js b/browser/base/content/test/general/browser_bug435035.js
new file mode 100644
index 000000000..7570ef0d7
--- /dev/null
+++ b/browser/base/content/test/general/browser_bug435035.js
@@ -0,0 +1,17 @@
+function test() {
+ waitForExplicitFinish();
+
+ gBrowser.selectedTab = gBrowser.addTab();
+ BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser).then(() => {
+ is(document.getElementById("identity-box").className,
+ "unknownIdentity mixedDisplayContent",
+ "identity box has class name for mixed content");
+
+ gBrowser.removeCurrentTab();
+ finish();
+ });
+
+ gBrowser.loadURI(
+ "https://example.com/browser/browser/base/content/test/general/test_bug435035.html"
+ );
+}