WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
239817
builtins_model.py should be more resilient against unbalanced characters in RegEx
https://bugs.webkit.org/show_bug.cgi?id=239817
Summary
builtins_model.py should be more resilient against unbalanced characters in R...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-05-04 12:15:13 PDT
<
rdar://problem/92747377
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug