mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibHTML: Don't crash when stringifying an unknown CSS property
Instead, just log that it happened, and then we can track it down.
This commit is contained in:
@@ -56,8 +56,7 @@ int main(int argc, char** argv)
|
||||
dbg() << " return \"" << name << "\";";
|
||||
});
|
||||
dbg() << " default:";
|
||||
dbg() << " ASSERT_NOT_REACHED();";
|
||||
dbg() << " return nullptr;";
|
||||
dbg() << " return \"(invalid CSS::PropertyID)\";";
|
||||
dbg() << " }";
|
||||
dbg() << "}";
|
||||
dbg() << "}";
|
||||
|
||||
Reference in New Issue
Block a user