Bug 1446093 [wpt PR 10051] - Improve wpt testing on OffscreenCanvas convertToBlob, a=testonly
authorxlai <xlai@chromium.org>
Mon, 09 Apr 2018 17:19:42 +0000
changeset 413579 38ee726b5521728639f046148cb071bed69306ed
parent 413578 d91f85063f75c681c8310bd73a1ef39c86f1c191
child 413580 2a6220e4ae749024aeb3ff31de5544e4195d398f
push id33850
push userapavel@mozilla.com
push dateMon, 16 Apr 2018 09:53:48 +0000
treeherdermozilla-central@6276ec7ebbf3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1446093, 10051, 817091, 964395, 544036
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1446093 [wpt PR 10051] - Improve wpt testing on OffscreenCanvas convertToBlob, a=testonly Automatic update from web-platform-testsImprove wpt testing on OffscreenCanvas convertToBlob Same as canvas.toBlob(), the OffscreenCanvas.convertToBlob() are running on idle tasks by default. When idle tasks do not begin for a long time, they force encoding on the current thread. As idle tasks are not enabled on layout tests unless "--enable-threaded-compositing" flag is turned on, we therefore do both virtual and non-virtual tests to ensure complete test coverage of both execution paths--idle-task mode and force-encoding mode. The non-virtual tests need to be marked as [Slow] as the CanvasAsyncBlobCreator is waiting for the idle tasks for a threshold time before switching to force-encoding mode. Bug: 817091 Change-Id: I2c7da9e27ee2d24e1a5e6ee1c36597b46f052aca Reviewed-on: https://chromium-review.googlesource.com/964395 Reviewed-by: Justin Novosad <junov@chromium.org> Commit-Queue: Olivia Lai <xlai@chromium.org> Cr-Commit-Position: refs/heads/master@{#544036} wpt-commits: 919015df88121d50623584f5dd02986721dbc3ab wpt-pr: 10051 wpt-commits: 919015df88121d50623584f5dd02986721dbc3ab wpt-pr: 10051
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html
testing/web-platform/tests/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html
testing/web-platform/tests/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html
testing/web-platform/tests/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.w.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -342578,16 +342578,28 @@
     ]
    ],
    "offscreen-canvas/conformance-requirements/2d.voidreturn.worker.js": [
     [
      "/offscreen-canvas/conformance-requirements/2d.voidreturn.worker.html",
      {}
     ]
    ],
+   "offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html": [
+    [
+     "/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html",
+     {}
+    ]
+   ],
+   "offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html": [
+    [
+     "/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html",
+     {}
+    ]
+   ],
    "offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.3arg.html": [
     [
      "/offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.3arg.html",
      {}
     ]
    ],
    "offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js": [
     [
@@ -349622,28 +349634,16 @@
     ]
    ],
    "offscreen-canvas/the-offscreen-canvas/offscreencanvas.constructor.worker.js": [
     [
      "/offscreen-canvas/the-offscreen-canvas/offscreencanvas.constructor.worker.html",
      {}
     ]
    ],
-   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html": [
-    [
-     "/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html",
-     {}
-    ]
-   ],
-   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.w.html": [
-    [
-     "/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.w.html",
-     {}
-    ]
-   ],
    "offscreen-canvas/the-offscreen-canvas/offscreencanvas.getcontext.html": [
     [
      "/offscreen-canvas/the-offscreen-canvas/offscreencanvas.getcontext.html",
      {}
     ]
    ],
    "offscreen-canvas/the-offscreen-canvas/offscreencanvas.getcontext.worker.js": [
     [
@@ -576445,16 +576445,24 @@
   "offscreen-canvas/conformance-requirements/2d.voidreturn.html": [
    "00df5ab8374db621c9ad1cf4f2f82f210c646549",
    "testharness"
   ],
   "offscreen-canvas/conformance-requirements/2d.voidreturn.worker.js": [
    "aebe4c1ad096a35fce7aa8c12d7655b525b5cd2a",
    "testharness"
   ],
+  "offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html": [
+   "4268a275ad695dfded9f6ed8de1850fafb649f95",
+   "testharness"
+  ],
+  "offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html": [
+   "8466fb824c584d343ca20a52fd8d316fc2cd0d1c",
+   "testharness"
+  ],
   "offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.3arg.html": [
    "f2e95967ca89ad85787c121f3cae4ed35e825b44",
    "testharness"
   ],
   "offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.3arg.worker.js": [
    "08b03beb3bed572f0c20a7767af77161217f98e3",
    "testharness"
   ],
@@ -581145,24 +581153,16 @@
   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.constructor.html": [
    "560497e4bb707302ce01d65bf27ce112f24f4a63",
    "testharness"
   ],
   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.constructor.worker.js": [
    "ca1cedea429efabeaaf1132b54fe45a7626f7f86",
    "testharness"
   ],
-  "offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html": [
-   "4268a275ad695dfded9f6ed8de1850fafb649f95",
-   "testharness"
-  ],
-  "offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.w.html": [
-   "8466fb824c584d343ca20a52fd8d316fc2cd0d1c",
-   "testharness"
-  ],
   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.getcontext.html": [
    "2961422d4081a0fc55cb8bde62e6d33cb2877832",
    "testharness"
   ],
   "offscreen-canvas/the-offscreen-canvas/offscreencanvas.getcontext.worker.js": [
    "12571ef1b3a9b751accccdaa4e22196a860b4a59",
    "testharness"
   ],
rename from testing/web-platform/tests/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.html
rename to testing/web-platform/tests/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html
rename from testing/web-platform/tests/offscreen-canvas/the-offscreen-canvas/offscreencanvas.convert.to.blob.w.html
rename to testing/web-platform/tests/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html