Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 1223031]
Blink>JavaScript>Regexp
Supplemental component tags only. Set main component first. [ID: 1222907]
[ID: 1223136]
Design doc to be reviewed. [ID: 1223032]
[ID: 1223087]
[ID: 1223134]
Milestone(s) impacted by this issue. [ID: 1223085]
[ID: 1223084]
[ID: 1223086]
[ID: 1223034]
Link to incidents in IRM as a result of this ticket. [ID: 1300460]
[ID: 1223088]
This field contains Gerrit urls of code changes that ‘fix’ a security bug (i.e., excluding logging/cleanup commits) and is used when a singular fix cannot be uniquely identified from the existing “Code Changes” field. The change can be in the chromium repo or any other third_party repo. [ID: 1358989]
[ID: 1305533]
Blink
Blink>JavaScript
[ID: 1253656]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Attachment actions
Estimated effort
Description
Steps to reproduce the problem
see the description of problem in the next textarea
Problem Description
复现步骤(Steps to Reproduce):
实际结果(Actual Result): lastIndex 保持为 1,导致后续匹配陷入死循环。
Additional Comments
It's newest version of Chrome for now. You can check the snipshot.
Summary
[V8] RegExp with global flag fails to update lastIndex after zero-length match
Additional Data
Category: JavaScript
Chrome Channel: Stable
Regression: N/A