On 2014/09/26 11:38:14, philipj wrote: > http://code.google.com/p/chromium/issues/detail?id=417841 is 403 so I can't look > into ...
6 years, 2 months ago
(2014-09-26 11:50:03 UTC)
#4
On 2014/09/26 11:38:14, philipj wrote:
> http://code.google.com/p/chromium/issues/detail?id=417841 is 403 so I can't
look
> into the details, but the Chromium-side CL and this seems to add up, so LGTM.
The bug says, basically: "Hey, Mike. You broke redirect checking for mixed
content." :)
Mike West
On 2014/09/26 11:50:03, Mike West wrote: > On 2014/09/26 11:38:14, philipj wrote: > > http://code.google.com/p/chromium/issues/detail?id=417841 ...
6 years, 2 months ago
(2014-09-26 11:50:14 UTC)
#5
On 2014/09/26 11:50:03, Mike West wrote:
> On 2014/09/26 11:38:14, philipj wrote:
> > http://code.google.com/p/chromium/issues/detail?id=417841 is 403 so I can't
> look
> > into the details, but the Chromium-side CL and this seems to add up, so
LGTM.
>
> The bug says, basically: "Hey, Mike. You broke redirect checking for mixed
> content." :)
Thanks for taking a look!
mmal
Hi! https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt File LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt (right): https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt#newcode1 LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1: CONSOLE WARNING: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html' ...
6 years, 2 months ago
(2014-09-26 12:10:41 UTC)
#6
Thanks! https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt File LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt (right): https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt#newcode1 LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1: CONSOLE WARNING: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html' ...
6 years, 2 months ago
(2014-09-26 12:58:48 UTC)
#7
Thanks!
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
File
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt
(right):
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1:
CONSOLE WARNING: Mixed Content: The page at
'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html'
was loaded over HTTPS, but requested an insecure script
'http://127.0.0.1:8000/security/mixedContent/resources/script.js'. This content
should also be served over HTTPS.
On 2014/09/26 12:10:41, mmal wrote:
> Is it only a warning we now shows for scripts?
In layout tests, yes. Which is silly. I don't know the historical context, but
the "allow_running_of_insecure_content" flag is set to true in
TestPreferences::Reset. You have to add
`testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);` to
the test to see the blocking behavior. *shrug*
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
File
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection.html
(left):
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection.html:6:
testRunner.dumpAsText();
On 2014/09/26 12:10:41, mmal wrote:
> Somehow review system shows this as rename.
Reuploaded with '--no-find-copies'. Git is weird. :)
mmal
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt File LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt (right): https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt#newcode1 LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1: CONSOLE WARNING: Mixed Content: The page at 'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html' was ...
6 years, 2 months ago
(2014-09-26 13:32:29 UTC)
#8
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
File
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt
(right):
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1:
CONSOLE WARNING: Mixed Content: The page at
'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html'
was loaded over HTTPS, but requested an insecure script
'http://127.0.0.1:8000/security/mixedContent/resources/script.js'. This content
should also be served over HTTPS.
On 2014/09/26 12:58:48, Mike West wrote:
> On 2014/09/26 12:10:41, mmal wrote:
> > Is it only a warning we now shows for scripts?
>
> In layout tests, yes. Which is silly. I don't know the historical context, but
> the "allow_running_of_insecure_content" flag is set to true in
> TestPreferences::Reset. You have to add
> `testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);`
to
> the test to see the blocking behavior. *shrug*
Is it the case when only http server is started but the test is opened on chrome
canary? I saw warning there, while chrome stable blocked the script.
6 years, 2 months ago
(2014-09-26 13:34:09 UTC)
#9
On 2014/09/26 13:32:29, mmal wrote:
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
> File
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt
> (right):
>
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1:
> CONSOLE WARNING: Mixed Content: The page at
>
'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html'
> was loaded over HTTPS, but requested an insecure script
> 'http://127.0.0.1:8000/security/mixedContent/resources/script.js'. This
content
> should also be served over HTTPS.
> On 2014/09/26 12:58:48, Mike West wrote:
> > On 2014/09/26 12:10:41, mmal wrote:
> > > Is it only a warning we now shows for scripts?
> >
> > In layout tests, yes. Which is silly. I don't know the historical context,
but
> > the "allow_running_of_insecure_content" flag is set to true in
> > TestPreferences::Reset. You have to add
> > `testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);`
> to
> > the test to see the blocking behavior. *shrug*
>
> Is it the case when only http server is started but the test is opened on
chrome
> canary? I saw warning there, while chrome stable blocked the script.
This is true only when you're running content shell with the
'--dump-render-tree' flag. It shouldn't be true for any build of
Chromium/Chrome.
Mike West
On 2014/09/26 13:34:09, Mike West wrote: > On 2014/09/26 13:32:29, mmal wrote: > > > ...
6 years, 2 months ago
(2014-09-26 13:34:34 UTC)
#10
On 2014/09/26 13:34:09, Mike West wrote:
> On 2014/09/26 13:32:29, mmal wrote:
> >
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
> > File
> >
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt
> > (right):
> >
> >
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
> >
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1:
> > CONSOLE WARNING: Mixed Content: The page at
> >
>
'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html'
> > was loaded over HTTPS, but requested an insecure script
> > 'http://127.0.0.1:8000/security/mixedContent/resources/script.js'. This
> content
> > should also be served over HTTPS.
> > On 2014/09/26 12:58:48, Mike West wrote:
> > > On 2014/09/26 12:10:41, mmal wrote:
> > > > Is it only a warning we now shows for scripts?
> > >
> > > In layout tests, yes. Which is silly. I don't know the historical context,
> but
> > > the "allow_running_of_insecure_content" flag is set to true in
> > > TestPreferences::Reset. You have to add
> > > `testRunner.overridePreference("WebKitAllowRunningInsecureContent",
false);`
> > to
> > > the test to see the blocking behavior. *shrug*
> >
> > Is it the case when only http server is started but the test is opened on
> chrome
> > canary? I saw warning there, while chrome stable blocked the script.
>
> This is true only when you're running content shell with the
> '--dump-render-tree' flag. It shouldn't be true for any build of
> Chromium/Chrome.
(If it is, then please file a bug and I will fix it ASAP.)
mmal
On 2014/09/26 13:34:34, Mike West wrote: > On 2014/09/26 13:34:09, Mike West wrote: > > ...
6 years, 2 months ago
(2014-09-26 13:40:00 UTC)
#11
On 2014/09/26 13:34:34, Mike West wrote:
> On 2014/09/26 13:34:09, Mike West wrote:
> > On 2014/09/26 13:32:29, mmal wrote:
> > >
> >
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
> > > File
> > >
> >
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt
> > > (right):
> > >
> > >
> >
>
https://codereview.chromium.org/608733002/diff/20001/LayoutTests/http/tests/s...
> > >
> >
>
LayoutTests/http/tests/security/mixedContent/insecure-script-through-redirection-expected.txt:1:
> > > CONSOLE WARNING: Mixed Content: The page at
> > >
> >
>
'https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-script-through-redirection.html'
> > > was loaded over HTTPS, but requested an insecure script
> > > 'http://127.0.0.1:8000/security/mixedContent/resources/script.js'. This
> > content
> > > should also be served over HTTPS.
> > > On 2014/09/26 12:58:48, Mike West wrote:
> > > > On 2014/09/26 12:10:41, mmal wrote:
> > > > > Is it only a warning we now shows for scripts?
> > > >
> > > > In layout tests, yes. Which is silly. I don't know the historical
context,
> > but
> > > > the "allow_running_of_insecure_content" flag is set to true in
> > > > TestPreferences::Reset. You have to add
> > > > `testRunner.overridePreference("WebKitAllowRunningInsecureContent",
> false);`
> > > to
> > > > the test to see the blocking behavior. *shrug*
> > >
> > > Is it the case when only http server is started but the test is opened on
> > chrome
> > > canary? I saw warning there, while chrome stable blocked the script.
> >
> > This is true only when you're running content shell with the
> > '--dump-render-tree' flag. It shouldn't be true for any build of
> > Chromium/Chrome.
>
> (If it is, then please file a bug and I will fix it ASAP.)
I described it in the first one. I can file another but after the weekend,
formally I'm OOO today.
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 2 months ago
(2014-09-27 06:44:45 UTC)
#12
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/26695)
6 years, 2 months ago
(2014-09-27 07:03:49 UTC)
#15
AssociatedURLLoaderTests unit tests seemingly in need of some WebURLRequest resource context initializations, as they're now ...
6 years, 2 months ago
(2014-09-28 18:55:48 UTC)
#16
AssociatedURLLoaderTests unit tests seemingly in need of some WebURLRequest
resource context initializations, as they're now copied along on redirects.
Mike West
On 2014/09/28 18:55:48, sof wrote: > AssociatedURLLoaderTests unit tests seemingly in need of some WebURLRequest ...
6 years, 2 months ago
(2014-09-28 20:40:09 UTC)
#17
On 2014/09/28 18:55:48, sof wrote:
> AssociatedURLLoaderTests unit tests seemingly in need of some WebURLRequest
> resource context initializations, as they're now copied along on redirects.
Indeed. Something I plan to look at in the morning. :)
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 2 months ago
(2014-09-30 15:07:13 UTC)
#18
Issue 608733002: Mixed Content: Don't override a request's context during redirects.
(Closed)
Created 6 years, 2 months ago by Mike West
Modified 6 years, 2 months ago
Reviewers: mmal, philipj_slow, sof
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 5