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

Side by Side Diff: third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement.html

Issue 2641953005: ShapeDetection: LayoutTests correction: s/imported/external/ (Closed)
Patch Set: Removed strange third_party/WebKit/LayoutTests/shapedetection/detection-HTMLVideoElement-expected.t… 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="../resources/mojo-helpers.js"></script> 4 <script src="../resources/mojo-helpers.js"></script>
5 <script src="resources/mock-barcodedetection.js"></script> 5 <script src="resources/mock-barcodedetection.js"></script>
6 <script src="resources/mock-facedetection.js"></script> 6 <script src="resources/mock-facedetection.js"></script>
7 <script src="resources/mock-textdetection.js"></script> 7 <script src="resources/mock-textdetection.js"></script>
8 <script> 8 <script>
9 9
10 var createTestForVideoElement = function(createDetector, mockReady, 10 var createTestForVideoElement = function(createDetector, mockReady,
11 detectionResultTest) { 11 detectionResultTest) {
12 async_test(function(t) { 12 async_test(function(t) {
13 var video = document.createElement("video"); 13 var video = document.createElement("video");
14 video.src = "../imported/wpt/media/white.webm"; 14 video.src = "../external/wpt/media/white.webm";
15 video.loop = true; 15 video.loop = true;
16 video.autoplay = true; 16 video.autoplay = true;
17 video.onerror = this.unreached_func("<video> error"); 17 video.onerror = this.unreached_func("<video> error");
18 video.onplay = this.step_func(function() { 18 video.onplay = this.step_func(function() {
19 var theMock = null; 19 var theMock = null;
20 mockReady() 20 mockReady()
21 .then(mock => { 21 .then(mock => {
22 theMock = mock; 22 theMock = mock;
23 var detector = createDetector(); 23 var detector = createDetector();
24 return detector; 24 return detector;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ], 80 ],
81 [ 81 [
82 "Text", 82 "Text",
83 () => { return new TextDetector(); }, 83 () => { return new TextDetector(); },
84 () => { return mockTextDetectionReady; }, 84 () => { return mockTextDetectionReady; },
85 TextDetectorDetectionResultTest 85 TextDetectorDetectionResultTest
86 ] 86 ]
87 ]); 87 ]);
88 88
89 </script> 89 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698