New issue
Advanced search Search tips

Issue 601809 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 582525
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression

Blocking:
issue 477150



Sign in to add a comment

http/tests/security/referrer-policy-conflicting-policies.html fails in --site-per-process mode

Project Member Reported by lukasza@chromium.org, Apr 8 2016

Issue description

Site Isolation FYI bot has caught a regression in https://build.chromium.org/p/chromium.fyi/builders/Site%20Isolation%20Linux/builds/8706

Repro (--additional-drt-flag=--site-per-process is the important bit):

$ third_party/WebKit/Tools/Scripts/run-webkit-tests -t gn -v --additional-drt-flag=--site-per-process --additional-drt-flag=--no-sandbox http/tests/security/referrer-policy-conflicting-policies.html


Expected behavior: test passes

Actual behavior: 

Regressions: Unexpected text-only failures (1)
  http/tests/security/referrer-policy-conflicting-policies.html [ Failure ]

 
Components: Blink>LayoutTests Internals>Sandbox>SiteIsolation
Owner: yhirano@chromium.org
yhirano@, could you please take a look?  I see that your https://crrev.com/1840643003 is present on the blamelist and that is has replaced 

third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-conflicting-policies-expected.html

with

third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-conflicting-policies-expected.txt
Cc: yhirano@chromium.org
Mergedinto: 582525
Owner: lukasza@chromium.org
Status: Duplicate (was: Untriaged)
Actually, after looking at the details of the test failure, this bug seems to be a duplicate of  issue 582525 .

Expected test output:

CONSOLE WARNING: Mixed Content: The page at 'https://127.0.0.1:8443/security/resources/referrer-policy-conflicting-policies.html' was loaded over HTTPS, but requested an insecure script 'http://127.0.0.1:8000/security/resources/echo-referrer-js.php?before'. This content should also be served over HTTPS.
CONSOLE MESSAGE: line 1: url = /security/resources/echo-referrer-js.php?before, referrer = [no-referrer]

Actual test output:

CONSOLE ERROR: Mixed Content: The page at 'https://127.0.0.1:8443/security/resources/referrer-policy-conflicting-policies.html' was loaded over HTTPS, but requested an insecure script 'http://127.0.0.1:8000/security/resources/echo-referrer-js.php?before'. This request has been blocked; the content must be served over HTTPS.
And just to confirm designation of this bug as a duplicate - there is indeed a call to testRunner.setAllowRunningOfInsecureContent(true) in third_party/WebKit/LayoutTests/http/tests/security/referrer-policy-conflicting-policies.html.
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 8 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7b0f2131da55f79c6d325f86e0034bf35c64c56e

commit 7b0f2131da55f79c6d325f86e0034bf35c64c56e
Author: lukasza <lukasza@chromium.org>
Date: Fri Apr 08 16:44:03 2016

Adding a test expectation for h/t/s/referrer-policy-conflicting-policies.html

BUG= 601809 
NOTRY=true
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/1874753002

Cr-Commit-Position: refs/heads/master@{#386099}

[modify] https://crrev.com/7b0f2131da55f79c6d325f86e0034bf35c64c56e/third_party/WebKit/LayoutTests/FlagExpectations/site-per-process

Comment 5 by sshru...@google.com, May 18 2016

Labels: Test-Layout

Sign in to add a comment