Bug 142482 - [GTK] Layout Test http/tests/security/mixedContent/insecure-audio-video-in-main-frame.html is failing
Summary: [GTK] Layout Test http/tests/security/mixedContent/insecure-audio-video-in-ma...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ms2ger (he/him; ⌚ UTC+1/+2)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-09 04:26 PDT by Marcos Chavarría Teijeiro (irc: chavaone)
Modified: 2017-08-28 04:20 PDT (History)
8 users (show)

See Also:


Attachments
Patch (2.80 KB, patch)
2017-08-28 03:10 PDT, Ms2ger (he/him; ⌚ UTC+1/+2)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Chavarría Teijeiro (irc: chavaone) 2015-03-09 04:26:25 PDT
The http/tests/security/mixedContent/insecure-audio-video-in-main-frame.html layout test is failing on GTK+ since r181134 (https://trac.webkit.org/changeset/r181134).

The diff is the following:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/insecure-audio-video-in-main-frame-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/security/mixedContent/insecure-audio-video-in-main-frame-actual.txt
@@ -1,5 +1,5 @@
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-audio-video.html displayed insecure content from http://127.0.0.1:8080/resources/test.mp4.
+CONSOLE MESSAGE: [blocked] The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-audio-video.html was not allowed to display insecure content from http://127.0.0.1:8080/resources/test.mp4.
 
-CONSOLE MESSAGE: The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-audio-video.html displayed insecure content from http://127.0.0.1:8080/resources/test.mp4.
+CONSOLE MESSAGE: [blocked] The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-audio-video.html was not allowed to display insecure content from http://127.0.0.1:8080/resources/test.mp4.
 
 This test opens a window that loads insecure HTML5 audio and video. We should trigger a mixed content callback because the main frame in the window is HTTPS but is displaying insecure content.
Comment 1 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-08-28 03:10:58 PDT
Created attachment 319172 [details]
Patch
Comment 2 WebKit Commit Bot 2017-08-28 04:02:59 PDT
Comment on attachment 319172 [details]
Patch

Clearing flags on attachment: 319172

Committed r221237: <http://trac.webkit.org/changeset/221237>
Comment 3 WebKit Commit Bot 2017-08-28 04:03:00 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2017-08-28 04:04:04 PDT
<rdar://problem/34108248>
Comment 5 Michael Catanzaro 2017-08-28 04:20:37 PDT
Good find, thanks!

In this case, the global expectation is outdated because the console message changed, but the test result never got updated because the test has been failing on macOS this whole time. So we should update the global expectation instead of adding a platform-specific one. I'll handle it.