Files
servo/components/script/dom/performance/performancemark.rs
Josh Matthews ffa0a2fdab script: Replace strings for performance entry types with dedicated enum. (#40812)
This both reduces unnecessary string comparisons and fixes several cases
where two string arguments were passed in the wrong order.

Depends on https://github.com/servo/servo/pull/40811.

Testing: New passing tests.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-11-23 06:54:46 +00:00

6 lines
297 B
Rust

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
impl_performance_entry_struct!(PerformanceMarkBinding, PerformanceMark, EntryType::Mark);