mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #21 - Remove use counters telemetry
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?) For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
This commit is contained in:
parent
136f38ba8c
commit
8ca9db6b65
45 changed files with 36 additions and 1128 deletions
|
|
@ -143,8 +143,6 @@ public:
|
|||
|
||||
nsresult SetStyleSheet(CSSStyleSheet* aSheet);
|
||||
|
||||
nsIDocument* GetDocument();
|
||||
|
||||
nsresult SetQuirkMode(bool aQuirkMode);
|
||||
|
||||
nsresult SetChildLoader(mozilla::css::Loader* aChildLoader);
|
||||
|
|
@ -1651,15 +1649,6 @@ CSSParserImpl::SetStyleSheet(CSSStyleSheet* aSheet)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsIDocument*
|
||||
CSSParserImpl::GetDocument()
|
||||
{
|
||||
if (!mSheet) {
|
||||
return nullptr;
|
||||
}
|
||||
return mSheet->GetDocument();
|
||||
}
|
||||
|
||||
nsresult
|
||||
CSSParserImpl::SetQuirkMode(bool aQuirkMode)
|
||||
{
|
||||
|
|
@ -1981,8 +1970,7 @@ CSSParserImpl::ParseTransformProperty(const nsAString& aPropValue,
|
|||
declaration->ExpandTo(&mData);
|
||||
changed = mData.TransferFromBlock(mTempData, eCSSProperty_transform,
|
||||
EnabledState(), false,
|
||||
true, false, declaration,
|
||||
GetDocument());
|
||||
true, false, declaration);
|
||||
declaration->CompressFrom(&mData);
|
||||
}
|
||||
|
||||
|
|
@ -2063,8 +2051,7 @@ CSSParserImpl::ParseProperty(const nsCSSPropertyID aPropID,
|
|||
aDeclaration->ExpandTo(&mData);
|
||||
*aChanged = mData.TransferFromBlock(mTempData, aPropID,
|
||||
EnabledState(), aIsImportant,
|
||||
true, false, aDeclaration,
|
||||
GetDocument());
|
||||
true, false, aDeclaration);
|
||||
aDeclaration->CompressFrom(&mData);
|
||||
}
|
||||
CLEAR_ERROR();
|
||||
|
|
@ -7532,7 +7519,7 @@ CSSParserImpl::ParseDeclaration(css::Declaration* aDeclaration,
|
|||
*aChanged |= mData.TransferFromBlock(mTempData, propID, EnabledState(),
|
||||
status == ePriority_Important,
|
||||
false, aMustCallValueAppended,
|
||||
aDeclaration, GetDocument());
|
||||
aDeclaration);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -15337,17 +15324,17 @@ CSSParserImpl::ParseFontFeatureSettings(nsCSSValue& aValue)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
CSSParserImpl::ParseFontVariationSettings(nsCSSValue& aValue)
|
||||
{
|
||||
// TODO: Actually implement this.
|
||||
|
||||
// This stub is here because websites insist on considering this
|
||||
// very hardware-dependent and O.S.-variable low-level font-control
|
||||
// as a "critical feature" which it isn't as there is 0 guarantee
|
||||
// that font variation settings are supported or honored by any
|
||||
// operating system used by the client.
|
||||
return true;
|
||||
bool
|
||||
CSSParserImpl::ParseFontVariationSettings(nsCSSValue& aValue)
|
||||
{
|
||||
// TODO: Actually implement this.
|
||||
|
||||
// This stub is here because websites insist on considering this
|
||||
// very hardware-dependent and O.S.-variable low-level font-control
|
||||
// as a "critical feature" which it isn't as there is 0 guarantee
|
||||
// that font variation settings are supported or honored by any
|
||||
// operating system used by the client.
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue