Extract canvas operations for reuse by OffscreenCanvas.

This commit is contained in:
Maharsh 2019-05-14 02:15:20 -04:00 committed by Josh Matthews
parent 6fb7a8cdc7
commit 85c20db495
257 changed files with 1857 additions and 1870 deletions

View file

@ -297,9 +297,6 @@
[OffscreenCanvasRenderingContext2D interface: operation getLineDash()]
expected: FAIL
[CanvasGradient interface: existence and properties of interface object]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: attribute globalCompositeOperation]
expected: FAIL
@ -348,9 +345,6 @@
[OffscreenCanvasRenderingContext2D interface: attribute shadowColor]
expected: FAIL
[CanvasGradient interface: operation addColorStop(double, DOMString)]
expected: FAIL
[DedicatedWorkerGlobalScope interface: attribute name]
expected: FAIL
@ -396,9 +390,6 @@
[ImageBitmap interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[CanvasPattern interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[MessageEvent interface: operation initMessageEvent(DOMString, boolean, boolean, any, USVString, DOMString, MessageEventSource, [object Object\])]
expected: FAIL
@ -429,9 +420,6 @@
[WorkerGlobalScope interface: operation createImageBitmap(ImageBitmapSource, ImageBitmapOptions)]
expected: FAIL
[CanvasGradient interface object length]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation bezierCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@ -465,9 +453,6 @@
[OffscreenCanvasRenderingContext2D interface: attribute lineJoin]
expected: FAIL
[CanvasPattern interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation rect(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@ -495,9 +480,6 @@
[OffscreenCanvas interface: attribute height]
expected: FAIL
[CanvasPattern interface object name]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation setTransform(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@ -534,9 +516,6 @@
[WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL
[CanvasGradient interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation isPointInPath(Path2D, unrestricted double, unrestricted double, CanvasFillRule)]
expected: FAIL
@ -546,9 +525,6 @@
[OffscreenCanvasRenderingContext2D interface: operation createImageData(long, long)]
expected: FAIL
[CanvasPattern interface: existence and properties of interface prototype object]
expected: FAIL
[Path2D interface: operation lineTo(unrestricted double, unrestricted double)]
expected: FAIL
@ -585,9 +561,6 @@
[OffscreenCanvasRenderingContext2D interface: operation createPattern(CanvasImageSource, DOMString)]
expected: FAIL
[CanvasPattern interface: existence and properties of interface object]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation transform(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
@ -627,9 +600,6 @@
[Path2D interface: operation ellipse(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, boolean)]
expected: FAIL
[CanvasGradient interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[MessageEvent interface: new MessageEvent("message", { data: 5 }) must inherit property "ports" with the proper type]
expected: FAIL
@ -687,9 +657,6 @@
[Path2D interface: operation addPath(Path2D, DOMMatrix2DInit)]
expected: FAIL
[CanvasGradient interface: existence and properties of interface prototype object]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, ImageBitmapOptions)" with the proper type]
expected: FAIL
@ -705,9 +672,6 @@
[OffscreenCanvas interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[CanvasPattern interface object length]
expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type]
expected: FAIL
@ -720,9 +684,6 @@
[OffscreenCanvas interface: operation convertToBlob(ImageEncodeOptions)]
expected: FAIL
[CanvasGradient interface object name]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation clip(CanvasFillRule)]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.default.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.default]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.default.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.invalid.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.invalid]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.invalid.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.range.html]
[OffscreenCanvas test: 2d.composite.globalAlpha.range]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.globalAlpha.range.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.casesensitive.html]
[OffscreenCanvas test: 2d.composite.operation.casesensitive]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.casesensitive.worker.html]
[2d]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.clear.html]
[OffscreenCanvas test: 2d.composite.operation.clear]
expected: FAIL

View file

@ -0,0 +1,4 @@
[2d.composite.operation.clear.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.darker.html]
[OffscreenCanvas test: 2d.composite.operation.darker]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.darker.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.default.html]
[OffscreenCanvas test: 2d.composite.operation.default]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.default.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.highlight.html]
[OffscreenCanvas test: 2d.composite.operation.highlight]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.highlight.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.nullsuffix.html]
[OffscreenCanvas test: 2d.composite.operation.nullsuffix]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.nullsuffix.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.over.html]
[OffscreenCanvas test: 2d.composite.operation.over]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.over.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.unrecognised.html]
[OffscreenCanvas test: 2d.composite.operation.unrecognised]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.operation.unrecognised.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.destination-out.html]
[OffscreenCanvas test: 2d.composite.solid.destination-out]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.destination-out.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.source-out.html]
[OffscreenCanvas test: 2d.composite.solid.source-out]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.source-out.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.xor.html]
[OffscreenCanvas test: 2d.composite.solid.xor]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.solid.xor.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.copy.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.copy.worker.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.destination-atop.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.destination-atop.worker.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.destination-in.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.destination-in.worker.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.source-in.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.source-in.worker.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.source-out.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.composite.uncovered.fill.source-out.worker.html]
[fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.missingargs.html]
[Missing arguments cause TypeError]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.missingargs.worker.html]
[Missing arguments cause TypeError]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.clip.html]
[OffscreenCanvas test: 2d.drawImage.clip]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.clip.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.path.html]
[OffscreenCanvas test: 2d.drawImage.path]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.path.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.transform.html]
[OffscreenCanvas test: 2d.drawImage.transform]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.drawImage.transform.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.basic.html]
[clearRect clears to transparent black]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.basic.worker.html]
[clearRect clears to transparent black]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.globalalpha.html]
[clearRect is not affected by globalAlpha]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.globalalpha.worker.html]
[clearRect is not affected by globalAlpha]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.globalcomposite.html]
[clearRect is not affected by globalCompositeOperation]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.globalcomposite.worker.html]
[clearRect is not affected by globalCompositeOperation]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.negative.html]
[clearRect of negative sizes works]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.negative.worker.html]
[clearRect of negative sizes works]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.transform.html]
[clearRect is affected by transforms]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.clearRect.transform.worker.html]
[clearRect is affected by transforms]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.globalalpha.html]
[strokeRect is affected by globalAlpha]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.globalalpha.worker.html]
[strokeRect is affected by globalAlpha]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.globalcomposite.html]
[strokeRect is not affected by globalCompositeOperation]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.globalcomposite.worker.html]
[strokeRect is not affected by globalCompositeOperation]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.1.html]
[strokeRect of 0x0 pixels draws nothing]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.1.worker.html]
[strokeRect of 0x0 pixels draws nothing]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.2.html]
[strokeRect of 0x0 pixels draws nothing, including caps and joins]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.2.worker.html]
[strokeRect of 0x0 pixels draws nothing, including caps and joins]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.4.html]
[strokeRect of Nx0 pixels draws a closed line with no caps]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeRect.zero.4.worker.html]
[strokeRect of Nx0 pixels draws a closed line with no caps]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.default.html]
[OffscreenCanvas test: 2d.fillStyle.default]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.default.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.semitransparent.html]
[OffscreenCanvas test: 2d.fillStyle.get.semitransparent]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.semitransparent.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.solid.html]
[OffscreenCanvas test: 2d.fillStyle.get.solid]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.solid.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.transparent.html]
[OffscreenCanvas test: 2d.fillStyle.get.transparent]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.get.transparent.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.hsla-clamp-6.html]
[OffscreenCanvas test: 2d.fillStyle.parse.hsla-clamp-6]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.hsla-clamp-6.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.rgba-clamp-1.html]
[OffscreenCanvas test: 2d.fillStyle.parse.rgba-clamp-1]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.rgba-clamp-1.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.transparent-1.html]
[OffscreenCanvas test: 2d.fillStyle.parse.transparent-1]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.transparent-1.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.transparent-2.html]
[OffscreenCanvas test: 2d.fillStyle.parse.transparent-2]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.fillStyle.parse.transparent-2.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.compare.html]
[OffscreenCanvas test: 2d.gradient.object.compare]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.compare.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.invalidcolour.html]
[OffscreenCanvas test: 2d.gradient.object.invalidcolour]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.invalidcolour.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.invalidoffset.html]
[OffscreenCanvas test: 2d.gradient.object.invalidoffset]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.object.invalidoffset.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.radial.negative.html]
[createRadialGradient() throws INDEX_SIZE_ERR if either radius is negative]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.gradient.radial.negative.worker.html]
[createRadialGradient() throws INDEX_SIZE_ERR if either radius is negative]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeStyle.default.html]
[OffscreenCanvas test: 2d.strokeStyle.default]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.strokeStyle.default.worker.html]
[2d]
expected: FAIL

View file

@ -2,9 +2,6 @@
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with stroke() and createPattern().]
expected: FAIL
[When the context is created, imageSmoothingEnabled must be set to true.]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with drawImage().]
expected: FAIL

View file

@ -2,9 +2,6 @@
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with stroke() and createPattern().]
expected: FAIL
[When the context is created, imageSmoothingEnabled must be set to true.]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with drawImage().]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.line.cap.invalid.html]
[Setting lineCap to invalid values is ignored]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.line.cap.invalid.worker.html]
[Setting lineCap to invalid values is ignored]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.line.defaults.html]
[OffscreenCanvas test: 2d.line.defaults]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.line.defaults.worker.html]
[2d]
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.line.join.invalid.html]
[Setting lineJoin to invalid values is ignored]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more