Bug 187996 - [GTK] http/tests/security/canvas-remote-read-remote-video-hls.html fails
Summary: [GTK] http/tests/security/canvas-remote-read-remote-video-hls.html fails
Status: RESOLVED DUPLICATE of bug 190003
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 02:35 PDT by Ms2ger (he/him; ⌚ UTC+1/+2)
Modified: 2018-10-09 03:10 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***