Bug 239817
| Summary: | builtins_model.py should be more resilient against unbalanced characters in RegEx | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Patrick Angle <pangle> |
| Component: | JavaScriptCore | Assignee: | 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
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
<rdar://problem/92747377>