зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1181976 - Rename WillChangeBudgetWarning in dom/dom.properties to reflect string change. r=flod
--HG-- extra : rebase_source : 3ddc463579bf1d405ad466538fd0cf2837926e60
This commit is contained in:
Родитель
9f3b16bf4c
Коммит
a831a0866d
|
@ -10,4 +10,4 @@
|
|||
* designed to be used as input to the C preprocessor *only*.
|
||||
*/
|
||||
|
||||
DOCUMENT_WARNING(WillChangeBudget)
|
||||
DOCUMENT_WARNING(WillChangeOverBudgetIgnored)
|
||||
|
|
|
@ -155,8 +155,8 @@ ImportXULIntoContentWarning=Importing XUL nodes into a content document is depre
|
|||
XMLDocumentLoadPrincipalMismatch=Use of document.load forbidden on Documents that come from other Windows. Only the Window in which a Document was created is allowed to call .load on that Document. Preferably, use XMLHttpRequest instead.
|
||||
# LOCALIZATION NOTE: Do not translate "IndexedDB".
|
||||
IndexedDBTransactionAbortNavigation=An IndexedDB transaction that was not yet complete has been aborted due to page navigation.
|
||||
# LOCALIZATION NOTE (WillChangeBudgetWarning): Do not translate Will-change, %1$S,%2$S,%3$S are numbers.
|
||||
WillChangeBudgetWarning=Will-change memory consumption is too high. Surface area covers %1$S pixels, budget is the document surface area multiplied by %2$S (%3$S pixels). Occurences of will-change over the budget will be ignored.
|
||||
# LOCALIZATION NOTE: Do not translate Will-change, %1$S,%2$S,%3$S are numbers.
|
||||
WillChangeOverBudgetIgnoredWarning=Will-change memory consumption is too high. Surface area covers %1$S px, budget is the document surface area multiplied by %2$S (%3$S px). Occurences of will-change over the budget will be ignored.
|
||||
# LOCALIZATION NOTE: Do not translate "ServiceWorker".
|
||||
HittingMaxWorkersPerDomain=A ServiceWorker could not be started immediately because other documents in the same origin are already using the maximum number of workers. The ServiceWorker is now queued and will be started after some of the other workers have completed.
|
||||
# LOCALIZATION NOTE: Do no translate "setVelocity", "PannerNode", "AudioListener", "speedOfSound" and "dopplerFactor"
|
||||
|
|
|
@ -1245,7 +1245,7 @@ nsDisplayListBuilder::IsInWillChangeBudget(nsIFrame* aFrame,
|
|||
|
||||
const char16_t* params[] = { usageStr.get(), multiplierStr.get(), limitStr.get() };
|
||||
aFrame->PresContext()->Document()->WarnOnceAbout(
|
||||
nsIDocument::eWillChangeBudget, false,
|
||||
nsIDocument::eWillChangeOverBudgetIgnored, false,
|
||||
params, ArrayLength(params));
|
||||
}
|
||||
return onBudget;
|
||||
|
|
Загрузка…
Ссылка в новой задаче