Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
No EOL
761 B
Text
22 lines
No EOL
761 B
Text
// Copyright 2025 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
import * as Platform from '../../../core/platform/platform.js';
|
|
import * as Types from '../types/types.js';
|
|
const domStatsByFrameId = new Map();
|
|
export function reset() {
|
|
domStatsByFrameId.clear();
|
|
}
|
|
export function handleEvent(event) {
|
|
if (!Types.Events.isDOMStats(event)) {
|
|
return;
|
|
}
|
|
const domStatEvents = Platform.MapUtilities.getWithDefault(domStatsByFrameId, event.args.data.frame, () => []);
|
|
domStatEvents.push(event);
|
|
}
|
|
export async function finalize() {
|
|
}
|
|
export function data() {
|
|
return { domStatsByFrameId };
|
|
}
|
|
//# sourceMappingURL=DOMStatsHandler.js.map |