Bug 187996

Summary: [GTK] http/tests/security/canvas-remote-read-remote-video-hls.html fails
Product: WebKit Reporter: Ms2ger (he/him; ⌚ UTC+1/+2) <Ms2ger>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: beidson, cgarcia, dino, jer.noble, pnormand, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ms2ger (he/him; ⌚ UTC+1/+2) 2018-07-25 02:35:16 PDT
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/canvas-remote-read-remote-video-hls-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/canvas-remote-read-remote-video-hls-actual.txt
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 1: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
 Ensure that data cannot be retrieved from a canvas tainted by a video resource with remote subresources when CORS is not enabled.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -9,8 +8,8 @@
 PASS canvas.toDataURL() did not throw exception.
 
 Testing data retrieval on a canvas tainted by a pattern generated by a hls video resource containing remote contents:
-PASS context.getImageData(0, 0, 100, 100) threw exception SecurityError: The operation is insecure..
-PASS canvas.toDataURL() threw exception SecurityError: The operation is insecure..
+FAIL context.getImageData(0, 0, 100, 100) should throw a SecurityError. Did not throw.
+FAIL canvas.toDataURL() should throw a SecurityError. Did not throw.
 PASS successfullyParsed is true
 
 TEST COMPLETE

Started failing in r234140, where the code from r234055 was updated to work as intended.
Comment 1 Philippe Normand 2018-10-09 03:10:09 PDT

*** This bug has been marked as a duplicate of bug 190003 ***