| Index: third_party/WebKit/LayoutTests/fast/canvas/canvas-path-object.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-path-object.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-path-object.html
|
| index 94d4daed12fdd4d9f6cba3b6c3aa365d85f2c2c4..35e41ca31e414c0fde0b9e746804b23085e735ff 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-path-object.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-path-object.html
|
| @@ -1,10 +1,22 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| <body>
|
| <canvas id="canvas" width="200" height="200"></canvas>
|
| -<script src="script-tests/canvas-path-object.js"></script>
|
| +<script>
|
| +test(function(t) {
|
| + assert_equals(typeof document.getElementById, 'function');
|
| +
|
| + var path = new Path2D();
|
| + assert_true(path instanceof Path2D);
|
| + assert_equals(typeof path.closePath, 'function');
|
| + assert_equals(typeof path.moveTo, 'function');
|
| + assert_equals(typeof path.lineTo, 'function');
|
| + assert_equals(typeof path.quadraticCurveTo, 'function');
|
| + assert_equals(typeof path.bezierCurveTo, 'function');
|
| + assert_equals(typeof path.arcTo, 'function');
|
| + assert_equals(typeof path.arc, 'function');
|
| + assert_equals(typeof path.rect, 'function');
|
| + assert_equals(typeof path.ellipse, 'function');
|
| +}, "Ensure that the constructor for Path object and dependent functions exist.");
|
| +</script>
|
| </body>
|
| -</html>
|
|
|