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

Issue 2501083004: Fix View Frame Source for iframe of a file:// URL shows main frame's filename (Closed)

Created:
4 years, 1 month ago by afakhry
Modified:
4 years ago
Reviewers:
Charlie Reis, sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix View Frame Source for iframe of a file:// URL shows main frame's filename View Frame Source for iframe of a file:// URL used to show the main frame's filename instead of the expected title derived from the iframe's page URL in the form of "view-source:url". This CL fixes this and adds a browser test. BUG=659040 TEST=browser_tests --gtest_filter=ChromeNavigationBrowserTest.TestViewFrameSource Committed: https://crrev.com/4d116bd4f43359ce057a60c82c2188c93d49a638 Cr-Commit-Position: refs/heads/master@{#435021}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding a browsertest #

Total comments: 10

Patch Set 3 : creis' comments #

Patch Set 4 : Excluding test in site-per-process #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
M chrome/browser/chrome_navigation_browsertest.cc View 1 2 2 chunks +51 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/filters/site-per-process.browser_tests.filter View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (28 generated)
Charlie Reis
Thanks for looking into a way forward! I'm not sure if this one will work, ...
4 years, 1 month ago (2016-11-17 23:04:24 UTC) #6
afakhry
I added a browsertest that fails without the fix. https://codereview.chromium.org/2501083004/diff/1/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): https://codereview.chromium.org/2501083004/diff/1/chrome/browser/ui/browser_commands.cc#newcode1207 chrome/browser/ui/browser_commands.cc:1207: ...
4 years, 1 month ago (2016-11-19 01:49:29 UTC) #10
Charlie Reis
On 2016/11/19 01:49:29, afakhry wrote: > I added a browsertest that fails without the fix. ...
4 years ago (2016-11-23 23:52:19 UTC) #13
afakhry
Thank you for the helpful comments! https://codereview.chromium.org/2501083004/diff/20001/chrome/browser/chrome_navigation_browsertest.cc File chrome/browser/chrome_navigation_browsertest.cc (right): https://codereview.chromium.org/2501083004/diff/20001/chrome/browser/chrome_navigation_browsertest.cc#newcode143 chrome/browser/chrome_navigation_browsertest.cc:143: StartServerWithExpiredCert(); On 2016/11/23 ...
4 years ago (2016-11-24 01:21:09 UTC) #16
afakhry
On 2016/11/28 18:30:06, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years ago (2016-11-28 18:35:12 UTC) #23
Charlie Reis
On 2016/11/28 18:35:12, afakhry wrote: > On 2016/11/28 18:30:06, commit-bot: I haz the power wrote: ...
4 years ago (2016-11-28 21:55:56 UTC) #24
afakhry
On 2016/11/28 21:55:56, Charlie Reis (slow) wrote: > On 2016/11/28 18:35:12, afakhry wrote: > > ...
4 years ago (2016-11-29 00:51:37 UTC) #28
sky
LGTM
4 years ago (2016-11-29 04:18:12 UTC) #31
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/2501083004/60001
4 years ago (2016-11-29 17:16:27 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-29 17:26:03 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-29 17:28:39 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4d116bd4f43359ce057a60c82c2188c93d49a638
Cr-Commit-Position: refs/heads/master@{#435021}

Powered by Google App Engine
This is Rietveld 408576698