mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibWeb: Specify snake case names for navigation timing entries too
This will be used by performance.measure to read the value of a given entry in the NavigationTiming interface.
This commit is contained in:
parent
404804db36
commit
f62bcba56a
3 changed files with 27 additions and 27 deletions
|
@ -34,8 +34,8 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<PerformanceMark>> PerformanceMark::construc
|
|||
if (is<HTML::Window>(current_global_object)) {
|
||||
bool matched = false;
|
||||
|
||||
#define __ENUMERATE_NAVIGATION_TIMING_ENTRY_NAME(name) \
|
||||
if (mark_name == NavigationTiming::EntryNames::name) \
|
||||
#define __ENUMERATE_NAVIGATION_TIMING_ENTRY_NAME(name, _) \
|
||||
if (mark_name == NavigationTiming::EntryNames::name) \
|
||||
matched = true;
|
||||
ENUMERATE_NAVIGATION_TIMING_ENTRY_NAMES
|
||||
#undef __ENUMERATE_NAVIGATION_TIMING_ENTRY_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue