Chromium Code Reviews
DescriptionSwitch RegularExpression from YARR to V8
Make RegularExpression use V8 instead of YARR. This removes all but one
last usage of YARR in ContentSearchUtils which can be removed in a follow
up patch.
It's a little awkward to use V8's regular expression features from C++ since
you need to interact with the JS object fields, but this is the best we can do
for now. Eventually it'd be nice if V8 exposed a RegExp API directly.
For this patch we need to stop using static RegularExpressions in the web
inspector code because RegularExpression is no longer thread safe and the
web inspector would previously use the same instance between multiple
workers in InspectorStyleSheet.cpp.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148958
Patch Set 1 #
Total comments: 15
Patch Set 2 : Review from adamk and abarth #
Total comments: 2
Patch Set 3 : Make it more clear you get an empty handle on failed regex compile #Patch Set 4 : Make RegularExpression work when !isMainThread() #Patch Set 5 : Rebase #Patch Set 6 : Rebase again, don't mess with BaseTextInputType #Patch Set 7 : Remove the test I added, the same kind of test was added in r148951 #
Messages
Total messages: 15 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||