Bug 239817

Summary: builtins_model.py should be more resilient against unbalanced characters in RegEx
Product: WebKit Reporter: Patrick Angle <pangle>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Patrick Angle
Reported 2022-04-27 12:14:04 PDT
For now as a workaround we reset the state of our being inside a string at the end of each line in case a RegEx contains an unbalanced quotation mark, like `StringPrototype.js`'s `createHTML` does. In the future, we may want the entire process of determining where a function begins and ends to be more resilient to this sort of parsing issues.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-05-04 12:15:13 PDT
Note You need to log in before you can comment on or make changes to this bug.