DescriptionAdd an extractor for DOM features to be used for client side phishing detection.
PhishingDOMFeatureExtractor iterates over the page elements and computes a
number of features. To avoid blocking the renderer for too long, the extractor
may run in several chunks of works, posting a task to continue processing if
necessary.
This CL only includes the feature extraction itself. I will add the logic to
cap the time per iteration in a follow-up CL.
BUG=none
TEST=PhishingDOMFeatureExtractorTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54082
Patch Set 1 #
Total comments: 21
Patch Set 2 : addressed comments from jhawkins, phajdan.jr, and brettw #
Total comments: 6
Patch Set 3 : added a check for unexpected feature values #Patch Set 4 : clarified comment in features.h #
Total comments: 4
Patch Set 5 : address marria's comments #
Messages
Total messages: 15 (0 generated)
|