summaryrefslogtreecommitdiff
path: root/dom/base/domerr.msg
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-04-13 17:22:41 +0200
committerMoonchild <moonchild@palemoon.org>2023-04-13 17:22:41 +0200
commiteb5c4089913459e1c2de5326a0bc528dc488d67d (patch)
tree108a87d351d434986779c3bd14be8385a335b844 /dom/base/domerr.msg
parent69868a9ad6db1104a0859d1560ae80d65c19bab5 (diff)
downloaduxp-eb5c4089913459e1c2de5326a0bc528dc488d67d.tar.gz
Issue #2053 - Follow-up: Clear the performance entries buffer if full.
Also enlarged the buffer to 16k entries which should be enough for all legitimate use of performance measurements (and then some). This throws a quota exceeded error if sites want to record more entries into the buffer and just clears it (similar to Moz's behaviour under memory pressure) ready for fresh entries to be added again.
Diffstat (limited to 'dom/base/domerr.msg')
-rw-r--r--dom/base/domerr.msg1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/domerr.msg b/dom/base/domerr.msg
index baf1f05735..44f2815dbe 100644
--- a/dom/base/domerr.msg
+++ b/dom/base/domerr.msg
@@ -162,6 +162,7 @@ DOM4_MSG_DEF(SyntaxError, "An unknown mark name was provided.", NS_ERROR_DOM_UT_
DOM4_MSG_DEF(SyntaxError, "markName cannot be a performance timing attribute.", NS_ERROR_DOM_UT_INVALID_TIMING_ATTR)
DOM4_MSG_DEF(InvalidAccessError, "A PerformanceTiming attribute which isn't available yet was provided.", NS_ERROR_DOM_UT_UNAVAILABLE_ATTR)
DOM4_MSG_DEF(InvalidStateError, "Global object is unavailable.", NS_ERROR_DOM_UT_UNAVAILABLE_GLOBAL_OBJECT)
+DOM4_MSG_DEF(QuotaExceededError, "Performance measurements exceeded the allotted space limitations.", NS_ERROR_DOM_UT_QUOTA_ERR)
/* XMLHttpRequest errors. */
DOM4_MSG_DEF(InvalidStateError, "XMLHttpRequest has an invalid context.", NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT)