mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement HTMLCanvasElement#toDataURL
This commit is contained in:
parent
e49c7a3acb
commit
a63c98c24a
31 changed files with 49 additions and 131 deletions
|
@ -1,5 +0,0 @@
|
|||
[security.dataURI.html]
|
||||
type: testharness
|
||||
[data: URIs do not count as different-origin, and do not taint the canvas]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.canvas.timing.sub.html]
|
||||
type: testharness
|
||||
[Pattern safety depends on whether the source was origin-clean, not on whether it still is clean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.create.sub.html]
|
||||
type: testharness
|
||||
[Creating an unclean pattern does not make the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.arguments.1.html]
|
||||
type: testharness
|
||||
[toDataURL ignores extra arguments]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.arguments.2.html]
|
||||
type: testharness
|
||||
[toDataURL ignores extra arguments]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.arguments.3.html]
|
||||
type: testharness
|
||||
[toDataURL ignores extra arguments]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.bogustype.html]
|
||||
type: testharness
|
||||
[toDataURL with a syntactically invalid type returns a PNG]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.default.html]
|
||||
type: testharness
|
||||
[toDataURL with no arguments returns a PNG]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpeg.alpha.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG composites onto black]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpeg.primarycolours.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG handles simple colours correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpeg.quality.basic.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG uses the quality parameter]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpeg.quality.notnumber.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG handles non-numeric quality parameters]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpeg.quality.outsiderange.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG handles out-of-range quality parameters]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.jpg.html]
|
||||
type: testharness
|
||||
[toDataURL with image/jpg is invalid type hence returns a PNG]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.lowercase.ascii.html]
|
||||
type: testharness
|
||||
[toDataURL type is case-insensitive]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.lowercase.unicode.html]
|
||||
type: testharness
|
||||
[toDataURL type is ASCII-case-insensitive]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.png.complexcolours.html]
|
||||
type: testharness
|
||||
[toDataURL with PNG handles non-primary and non-solid colours correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.png.html]
|
||||
type: testharness
|
||||
[toDataURL with image/png returns a PNG]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.png.primarycolours.html]
|
||||
type: testharness
|
||||
[toDataURL with PNG handles simple colours correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.unrecognised.html]
|
||||
type: testharness
|
||||
[toDataURL with an unhandled type returns a PNG]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.zeroheight.html]
|
||||
type: testharness
|
||||
[toDataURL on zero-size canvas returns 'data:,']
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.zerosize.html]
|
||||
type: testharness
|
||||
[toDataURL on zero-size canvas returns 'data:,']
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[toDataURL.zerowidth.html]
|
||||
type: testharness
|
||||
[toDataURL on zero-size canvas returns 'data:,']
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue