Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js |
| diff --git a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js |
| index bcf191dda27c2e2c8915e6d2e32bf941bfe0c346..24ac1d5d4fa708d421f59816867188b5fd90e0e7 100644 |
| --- a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js |
| +++ b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js |
| @@ -29,11 +29,23 @@ let mockBarcodeDetectionReady = define( |
| results: [ |
| { |
| raw_value : "cats", |
| - bounding_box: { x : 1.0, y: 1.0, width: 100.0, height: 100.0 }, |
| + bounding_box: { x: 1.0, y: 1.0, width: 100.0, height: 100.0 }, |
| + corner_points: [ |
| + { x: 1.0, y: 1.0}, |
| + { x: 1.0, y: 101.0}, |
| + { x: 101.0, y: 101.0}, |
| + { x: 101.0, y: 1.0} |
|
mcasas
2016/12/16 01:20:00
I just notice that it's not 100% clear in the
def
|
| + ], |
| }, |
| { |
| raw_value : "dogs", |
| - bounding_box: { x : 2.0, y: 2.0, width: 50.0, height: 50.0 }, |
| + bounding_box: { x: 2.0, y: 2.0, width: 50.0, height: 50.0 }, |
| + corner_points: [ |
| + { x: 2.0, y: 2.0}, |
| + { x: 2.0, y: 52.0}, |
| + { x: 52.0, y: 52.0}, |
| + { x: 52.0, y: 2.0} |
| + ], |
| }, |
| ], |
| }); |