Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / profiler / canvas2d / canvas2d-api-changes.html
index 7f99cb0..99a1b0d 100644 (file)
@@ -27,7 +27,6 @@ CanvasRenderingContext2DResource.AttributeProperties = [
     "textBaseline",
     "lineDashOffset",
     "imageSmoothingEnabled",
-    "webkitImageSmoothingEnabled",
     // FIXME: Temporary properties implemented in JSC, but not in V8.
     "webkitLineDash",
     "webkitLineDashOffset"
@@ -67,7 +66,6 @@ CanvasRenderingContext2DResource.TransformationMatrixMethods = [
  */
 CanvasRenderingContext2DResource.IgnoreProperties = [
     "canvas",
-    "currentPath",
     "createLinearGradient",
     "createRadialGradient",
     "createPattern",
@@ -103,9 +101,6 @@ CanvasRenderingContext2DResource.IgnoreProperties = [
     "stroke",
     "strokeRect",
     "strokeText",
-    "webkitBackingStorePixelRatio",
-    "webkitGetImageDataHD",
-    "webkitPutImageDataHD"
 ];
 
 function collectPropertyNames(obj)
@@ -149,14 +144,17 @@ function test()
         output(property);
     }
 
-    var pattern = ctx.createPattern(new Image(), "repeat");
+    var pattern = ctx.createPattern(canvas, "repeat");
     if (!pattern) {
         output("ERROR: Could not create a pattern object.");
         return;
     }
     output("New properties and functions of CanvasPattern object that should be manually examined (should be empty to pass the test):");
-    for (var property in pattern)
+    for (var property in pattern) {
+        if (property == "setTransform")
+            continue;
         output(property);
+    }
 }
 
 function runTest()