diff --git a/extensions/permissions/test/PermissionTestUtils.jsm b/extensions/permissions/test/PermissionTestUtils.jsm index e17836530569..1968d1697a41 100644 --- a/extensions/permissions/test/PermissionTestUtils.jsm +++ b/extensions/permissions/test/PermissionTestUtils.jsm @@ -29,7 +29,7 @@ function convertToPrincipal(subject) { if (typeof subject === "string") { return secMan.createContentPrincipalFromOrigin(subject); } - if (subject == null || subject instanceof Ci.nsIURI) { + if (subject === null || subject instanceof Ci.nsIURI) { return secMan.createContentPrincipal(subject, {}); } throw new Error(