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

Unified Diff: third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html

Issue 2588293005: Shape Detection: Add Text Detection in Chrome Android (Closed)
Patch Set: jochen@ comments, rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
diff --git a/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html b/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
index 3569b4fb7e7827fa550bc02003abcdbc09454925..fc4ac42051e61c51bfeb2b74c981639eedfbb7f8 100644
--- a/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
+++ b/third_party/WebKit/LayoutTests/fast/shapedetection/shapedetection-creation.html
@@ -40,4 +40,16 @@ test(function() {
assert_true(barcodeDetector instanceof BarcodeDetector);
}, 'BarcodeDetector instance can be created.');
+// This test verifies that DetectedText can be created
+test(function() {
+ var detectedText = new DetectedText();
+ assert_true(detectedText instanceof DetectedText);
+}, 'DetectedText instance can be created.');
+
+// This test verifies that TextDetector can be created
+test(function() {
+ var textDetector = new TextDetector();
+ assert_true(textDetector instanceof TextDetector);
+}, 'TextDetector instance can be created.');
+
</script>

Powered by Google App Engine
This is Rietveld 408576698