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

Issue 2441953002: Shape Detection: Add two layout tests for face detection (Closed)

Created:
4 years, 2 months ago by xianglu
Modified:
4 years, 1 month ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shape Detection: Add two layout tests for face detection. This CL includes security tests for empty image and undecodable image. BUG=646083 TEST=third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html Committed: https://crrev.com/3995eb71799c911b01c05f8c128f8065636591c3 Cr-Commit-Position: refs/heads/master@{#427234}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Use promise_test() instead of async_test() #

Total comments: 4

Patch Set 3 : Modify discription mcasas@comments #

Total comments: 1

Patch Set 4 : reillyg@ comments on naming and description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -19 lines) Patch
A third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp View 1 2 3 5 chunks +33 lines, -19 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 58 (44 generated)
xianglu
ptal.
4 years, 2 months ago (2016-10-21 03:49:41 UTC) #10
mcasas
Looking good, a few comments. https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html File third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html (right): https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html#newcode6 third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html:6: // TODO(xianglu): Consider tests ...
4 years, 2 months ago (2016-10-21 04:41:46 UTC) #11
xianglu
ptal. https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html File third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html (right): https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html#newcode6 third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html:6: // TODO(xianglu): Consider tests for image with only ...
4 years, 2 months ago (2016-10-21 21:08:30 UTC) #16
mcasas
https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp File third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp (right): https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp#newcode62 third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp:62: << allocationSize << "bytes. limit = 16777216"; On 2016/10/21 ...
4 years, 2 months ago (2016-10-21 23:43:16 UTC) #26
xianglu
mcasas@ ptal. https://codereview.chromium.org/2441953002/diff/100001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html File third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html (right): https://codereview.chromium.org/2441953002/diff/100001/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html#newcode9 third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-security-test.html:9: // Returns a promise that will resolve ...
4 years, 2 months ago (2016-10-22 02:19:09 UTC) #27
mcasas
lgtm % my comment being addressed https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp File third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp (right): https://codereview.chromium.org/2441953002/diff/20001/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp#newcode62 third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp:62: << allocationSize << ...
4 years, 1 month ago (2016-10-24 17:38:56 UTC) #32
xianglu
reillyg@ ptal
4 years, 1 month ago (2016-10-24 18:34:38 UTC) #40
xianglu
haraken@ ptal.
4 years, 1 month ago (2016-10-24 19:34:00 UTC) #42
haraken
LGTM I agree that we should improve the test coverage.
4 years, 1 month ago (2016-10-24 19:43:07 UTC) #43
Reilly Grant (use Gerrit)
lgtm, though I'm worried about putting too many implementation details into DOMExceptions. The message should ...
4 years, 1 month ago (2016-10-24 20:07:23 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441953002/180001
4 years, 1 month ago (2016-10-24 22:09:46 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441953002/200001
4 years, 1 month ago (2016-10-24 22:12:26 UTC) #54
commit-bot: I haz the power
Committed patchset #4 (id:200001)
4 years, 1 month ago (2016-10-25 01:54:41 UTC) #56
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 01:58:06 UTC) #58
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3995eb71799c911b01c05f8c128f8065636591c3
Cr-Commit-Position: refs/heads/master@{#427234}

Powered by Google App Engine
This is Rietveld 408576698