Bug 239817 - builtins_model.py should be more resilient against unbalanced characters in RegEx
Summary: builtins_model.py should be more resilient against unbalanced characters in R...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-27 12:14 PDT by Patrick Angle
Modified: 2022-05-04 12:15 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Angle 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.
Comment 1 Radar WebKit Bug Importer 2022-05-04 12:15:13 PDT
<rdar://problem/92747377>