Skip to content

Commit

Permalink
Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4a…
Browse files Browse the repository at this point in the history
…b50ad4326
  • Loading branch information
jdm committed Oct 12, 2017
1 parent 462c272 commit 1f531f6
Show file tree
Hide file tree
Showing 5,377 changed files with 173,753 additions and 83,206 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 3 additions & 5 deletions python/servo/testing_commands.py
Expand Up @@ -496,14 +496,12 @@ def update_manifest(self, **kwargs):
description='Update the web platform tests',
category='testing',
parser=updatecommandline.create_parser())
@CommandArgument('--patch', action='store_true', default=False,
help='Create an mq patch or git commit containing the changes')
def update_wpt(self, patch, **kwargs):
def update_wpt(self, **kwargs):
self.ensure_bootstrapped()
run_file = path.abspath(path.join("tests", "wpt", "update.py"))
kwargs["no_patch"] = not patch
patch = kwargs.get("patch", False)

if kwargs["no_patch"] and kwargs["sync"]:
if not patch and kwargs["sync"]:
print("Are you sure you don't want a patch?")
return 1

Expand Down
@@ -0,0 +1,5 @@
[2d.voidreturn.html]
type: testharness
[void methods return undefined]
expected: FAIL

@@ -0,0 +1,26 @@
[drawimage_canvas.html]
type: testharness
[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,70 should be blue.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,99 should be blue.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,70 should be blue.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 82,82 should be blue.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 84,99 should be black.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,84 should be black.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,99 should be black.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,69 should be red.]
expected: FAIL

@@ -0,0 +1,17 @@
[drawimage_html_image.html]
type: testharness
[Draw 100x100 image to 100x100 canvas at 0,0.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 70,99 should be light purple.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,70 should be light purple.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 99,99 should be light purple.]
expected: FAIL

[Test scenario 12: sx = -20, sy = -20, sw = 50, sh = 50, dx = 20, dy = 20, dw = 125, dh = 125 --- Pixel 69,69 should be red.]
expected: FAIL

@@ -0,0 +1,5 @@
[drawimage_svg_image_1.html]
type: testharness
[Load a 100x100 image to a SVG image and draw it to a 100x100 canvas.]
expected: FAIL

@@ -0,0 +1,86 @@
[createImageBitmap-invalid-args.html]
type: testharness
[createImageBitmap with a HTMLImageElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLImageElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLImageElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a HTMLVideoElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLVideoElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLVideoElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a HTMLCanvasElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLCanvasElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a HTMLCanvasElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a OffscreenCanvas source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a OffscreenCanvas source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a OffscreenCanvas source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a ImageData source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a ImageData source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a ImageData source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a ImageBitmap source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a ImageBitmap source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a ImageBitmap source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with a Blob source and sw set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a Blob source and sh set to 0 rejects with a RangeError.]
expected: FAIL

[createImageBitmap with a Blob source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL

[createImageBitmap with undefined image source rejects with a TypeError.]
expected: FAIL

[createImageBitmap with null image source rejects with a TypeError.]
expected: FAIL

[createImageBitmap with empty image source rejects with a InvalidStateError.]
expected: FAIL

[createImageBitmap with empty video source rejects with a InvalidStateError.]
expected: FAIL

[createImageBitmap with an oversized canvas source rejects with a RangeError.]
expected: FAIL

[createImageBitmap with an invalid OffscreenCanvas source rejects with a RangeError.]
expected: FAIL

[createImageBitmap with an undecodable blob source rejects with an InvalidStateError.]
expected: FAIL

@@ -0,0 +1,17 @@
[createImageBitmap-sizeOverflow.html]
type: testharness
[createImageBitmap does not crash or reject the promise when passing very large sx]
expected: FAIL

[createImageBitmap does not crash or reject the promise when passing very large sy]
expected: FAIL

[createImageBitmap does not crash or reject the promise when passing very large sw]
expected: FAIL

[createImageBitmap does not crash or reject the promise when passing very large sh]
expected: FAIL

[createImageBitmap does not crash or reject the promise when passing very large sx, sy, sw and sh]
expected: FAIL

@@ -0,0 +1,5 @@
[2d.transformation.setTransform.multiple.html]
type: testharness
[Canvas test: 2d.transformation.setTransform.multiple]
expected: FAIL

3 changes: 3 additions & 0 deletions tests/wpt/metadata/FileAPI/idlharness.html.ini
Expand Up @@ -12,3 +12,6 @@
[FileReader interface: calling readAsBinaryString(Blob) on new FileReader() with too few arguments must throw TypeError]
expected: FAIL

[FileReader interface: new FileReader() must inherit property "readAsBinaryString(Blob)" with the proper type]
expected: FAIL

21 changes: 21 additions & 0 deletions tests/wpt/metadata/FileAPI/idlharness.worker.js.ini
Expand Up @@ -57,3 +57,24 @@
[FileReaderSync interface: calling readAsDataURL(Blob) on new FileReaderSync() with too few arguments must throw TypeError]
expected: FAIL

[FileReader interface: new FileReader() must inherit property "readAsBinaryString(Blob)" with the proper type]
expected: FAIL

[FileReaderSync interface: operation readAsText(Blob, DOMString)]
expected: FAIL

[FileReaderSync interface: new FileReaderSync() must inherit property "readAsArrayBuffer(Blob)" with the proper type]
expected: FAIL

[FileReaderSync interface: new FileReaderSync() must inherit property "readAsBinaryString(Blob)" with the proper type]
expected: FAIL

[FileReaderSync interface: new FileReaderSync() must inherit property "readAsText(Blob, DOMString)" with the proper type]
expected: FAIL

[FileReaderSync interface: calling readAsText(Blob, DOMString) on new FileReaderSync() with too few arguments must throw TypeError]
expected: FAIL

[FileReaderSync interface: new FileReaderSync() must inherit property "readAsDataURL(Blob)" with the proper type]
expected: FAIL

0 comments on commit 1f531f6

Please sign in to comment.