Bug 69508 - http/tests/security/redirect-BLOCKED-to-localURL.html failing
Summary: http/tests/security/redirect-BLOCKED-to-localURL.html failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 01:51 PDT by Philippe Normand
Modified: 2011-10-07 02:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2011-10-06 01:51:30 PDT
It seems it passes only in Chromium. Diff:

--- /home/slave/webkitgtk/gtk-linux-64-debug/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt 
+++ /home/slave/webkitgtk/gtk-linux-64-debug/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-actual.txt 
@@ -1,3 +1,2 @@
-CONSOLE MESSAGE: line 0: Not allowed to load local resource: file-redirect-target.html
 
 This attempts to open a redirect link to a file URL, which should be blocked.

http://trac.webkit.org/changeset/96610 introduced this test but I don't have access to the corresponding security bug 68706 :(
Comment 1 Philippe Normand 2011-10-06 04:54:00 PDT
GTK skipped this test in r96797.
Comment 2 Adam Barth 2011-10-06 07:34:18 PDT
This new result is fine.  It's not important whether the console message is displayed, only that the redirect doesn't succeed.
Comment 3 Philippe Normand 2011-10-06 07:44:37 PDT
(In reply to comment #2)
> This new result is fine.  It's not important whether the console message is displayed, only that the redirect doesn't succeed.

Ok I was confused then. So we need platform-specific baselines for this test?
Comment 4 Adam Barth 2011-10-06 07:50:03 PDT
> Ok I was confused then. So we need platform-specific baselines for this test?

It appears that way.
Comment 5 Philippe Normand 2011-10-07 02:35:10 PDT
Committed r96921: <http://trac.webkit.org/changeset/96921>