summaryrefslogtreecommitdiff
path: root/caps/nsPrincipal.h
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-01-06 21:07:37 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-01-06 22:13:08 +0800
commitb5f8fa64790d0ef75bfd79e72c9cd4a4098277f5 (patch)
tree9c92133410d592e3e953faa3d602c5263b62f2f2 /caps/nsPrincipal.h
parentaf3a27e8388fbb8cca9b30f2e8cbc0eb8ad9a336 (diff)
downloaduxp-b5f8fa64790d0ef75bfd79e72c9cd4a4098277f5.tar.gz
Issue #2084 - Part 1: Remove CSSUnprefixingService.js and associated code
It's effectively dead code since it's been supplanted by built-in webkit-prefixed-CSS support (landed before fork point in Firefox 49). Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1259348
Diffstat (limited to 'caps/nsPrincipal.h')
-rw-r--r--caps/nsPrincipal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/caps/nsPrincipal.h b/caps/nsPrincipal.h
index d20d81ee3b..c122952c70 100644
--- a/caps/nsPrincipal.h
+++ b/caps/nsPrincipal.h
@@ -25,7 +25,6 @@ public:
NS_IMETHOD GetDomain(nsIURI** aDomain) override;
NS_IMETHOD SetDomain(nsIURI* aDomain) override;
NS_IMETHOD GetBaseDomain(nsACString& aBaseDomain) override;
- virtual bool IsOnCSSUnprefixingWhitelist() override;
bool IsCodebasePrincipal() const override { return true; }
nsresult GetOriginInternal(nsACString& aOrigin) override;
@@ -55,7 +54,6 @@ public:
bool mCodebaseImmutable;
bool mDomainImmutable;
bool mInitialized;
- mozilla::Maybe<bool> mIsOnCSSUnprefixingWhitelist; // Lazily-computed
protected:
virtual ~nsPrincipal();
@@ -81,7 +79,6 @@ public:
NS_IMETHOD SetDomain(nsIURI* aDomain) override;
NS_IMETHOD GetBaseDomain(nsACString& aBaseDomain) override;
virtual bool AddonHasPermission(const nsAString& aPerm) override;
- virtual bool IsOnCSSUnprefixingWhitelist() override;
virtual nsresult GetScriptLocation(nsACString &aStr) override;
nsresult GetOriginInternal(nsACString& aOrigin) override;