mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1425458 - Resource timing entries Workers - part 5 - dispatch resourcetimingbufferfull on workers, r=smaug
This commit is contained in:
parent
f306e5c7bb
commit
b0815a186e
@ -430,7 +430,7 @@ void
|
||||
Performance::InsertResourceEntry(PerformanceEntry* aEntry)
|
||||
{
|
||||
MOZ_ASSERT(aEntry);
|
||||
MOZ_ASSERT(mResourceEntries.Length() < mResourceTimingBufferSize);
|
||||
MOZ_ASSERT(mResourceEntries.Length() <= mResourceTimingBufferSize);
|
||||
|
||||
// We won't add an entry when 'privacy.resistFingerprint' is true.
|
||||
if (nsContentUtils::ShouldResistFingerprinting()) {
|
||||
|
@ -68,7 +68,7 @@ protected:
|
||||
|
||||
void DispatchBufferFullEvent() override
|
||||
{
|
||||
MOZ_CRASH("This should not be called on workers.");
|
||||
// Nothing to do here. See bug 1432758.
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user