Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Issue 2337793002: Fix SSLUITest.TestGoodFrameNavigation with PlzNavigate. (Closed)

Created:
4 years, 3 months ago by jam
Modified:
4 years, 3 months ago
Reviewers:
scottmg
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix SSLUITest.TestGoodFrameNavigation with PlzNavigate. The problem was that this test was checking that it got the notification that insecure content was run. Without PlzNavigate, this notification was sent from the renderer before it starts loading the url (http://example.test/...). The content never actually loaded, because browser tests have a resolver that block all network requests to the outside world in order to avoid flaky tests which make network requests. With PlzNavigate, the request was being cancelled in the browser process and the renderer never got as far to be told that insecure content was run. The fix is to just the browser test to treat example.test as a local host. A small side effect is that it now also loads the image in that page, so we need to tweak the test to reflect that the page both loads and displays insecure content. BUG=504347 Committed: https://crrev.com/2a251cde325405c47fce08fb57ee771b95406ccb Cr-Commit-Position: refs/heads/master@{#418112}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M chrome/browser/ssl/ssl_browser_tests.cc View 1 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
jam
4 years, 3 months ago (2016-09-12 23:12:11 UTC) #3
scottmg
lgtm https://codereview.chromium.org/2337793002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2337793002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode2206 chrome/browser/ssl/ssl_browser_tests.cc:2206: // this also displayed images from the http ...
4 years, 3 months ago (2016-09-12 23:13:30 UTC) #5
jam
https://codereview.chromium.org/2337793002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/2337793002/diff/1/chrome/browser/ssl/ssl_browser_tests.cc#newcode2206 chrome/browser/ssl/ssl_browser_tests.cc:2206: // this also displayed images from the http page ...
4 years, 3 months ago (2016-09-12 23:21:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2337793002/20001
4 years, 3 months ago (2016-09-12 23:22:01 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 00:05:40 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/2a251cde325405c47fce08fb57ee771b95406ccb Cr-Commit-Position: refs/heads/master@{#418112}
4 years, 3 months ago (2016-09-13 00:08:07 UTC) #12
carlosk
4 years, 3 months ago (2016-09-13 17:24:10 UTC) #13
Message was sent while issue was closed.
On 2016/09/13 00:08:07, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/2a251cde325405c47fce08fb57ee771b95406ccb
> Cr-Commit-Position: refs/heads/master@{#418112}

FYI this behavior might change once I land the partial move of mixed content
checks to the browser (https://crrev.com/1905033002).

Powered by Google App Engine
This is Rietveld 408576698