Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Issue 300103002: ScriptRegexp::match(): gracefully fail if regexp.exec() throws. (Closed)

Created:
6 years, 7 months ago by sof
Modified:
6 years, 7 months ago
Reviewers:
haraken, dcarney
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

ScriptRegexp::match(): gracefully fail if regexp.exec() throws. Check if the internal v8 call to do the actual regexp matching threw an exception and report that as a match failure. R=haraken@chromium.org BUG=377024 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174774

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
A LayoutTests/fast/js/regexp-match-exception-no-crash.html View 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/fast/js/regexp-match-exception-no-crash-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/js/script-tests/regexp-match-exception.js View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/bindings/v8/ScriptRegexp.cpp View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sof
Please take a look.
6 years, 7 months ago (2014-05-25 16:30:29 UTC) #1
haraken
LGTM
6 years, 7 months ago (2014-05-25 18:07:34 UTC) #2
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 7 months ago (2014-05-25 18:54:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/300103002/1
6 years, 7 months ago (2014-05-25 18:54:58 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-25 19:51:09 UTC) #5
Message was sent while issue was closed.
Change committed as 174774

Powered by Google App Engine
This is Rietveld 408576698