mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add origin-clean flag tracking for canvas
This commit is contained in:
parent
c6ae32abdd
commit
b8e9064fe6
15 changed files with 135 additions and 86 deletions
|
@ -0,0 +1,5 @@
|
|||
[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.drawImage.canvas.sub.html]
|
||||
type: testharness
|
||||
[drawImage of unclean canvas makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.drawImage.image.sub.html]
|
||||
type: testharness
|
||||
[drawImage of different-origin image makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.canvas.fillStyle.sub.html]
|
||||
type: testharness
|
||||
[Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.canvas.strokeStyle.sub.html]
|
||||
type: testharness
|
||||
[Setting strokeStyle to a pattern of an unclean canvas makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.cross.sub.html]
|
||||
type: testharness
|
||||
[Using an unclean pattern makes the target canvas origin-unclean, not the pattern canvas]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.image.fillStyle.sub.html]
|
||||
type: testharness
|
||||
[Setting fillStyle to a pattern of a different-origin image makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.pattern.image.strokeStyle.sub.html]
|
||||
type: testharness
|
||||
[Setting strokeStyle to a pattern of a different-origin image makes the canvas origin-unclean]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[security.reset.sub.html]
|
||||
type: testharness
|
||||
[Resetting the canvas state does not reset the origin-clean flag]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[toDataURL.jpeg.primarycolours.html]
|
||||
type: testharness
|
||||
[toDataURL with JPEG handles simple colours correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[toDataURL.png.complexcolours.html]
|
||||
type: testharness
|
||||
[toDataURL with PNG handles non-primary and non-solid colours correctly]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[toDataURL.png.primarycolours.html]
|
||||
type: testharness
|
||||
[toDataURL with PNG handles simple colours correctly]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue