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

Issue 1563593002: Don't navigate in WebContentsDelegate::OpenURLFromTab. (Closed)

Created:
4 years, 11 months ago by alexmos
Modified:
4 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, darin-cc_chromium.org, jam, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't navigate in WebContentsDelegate::OpenURLFromTab. This behavior was originally introduced in https://codereview.chromium.org/1473423002 to support process transfers for frame navigations in background pages. It is no longer needed for that purpose, as there's now a better fix in place (shortcutting transfers, https://codereview.chromium.org/1519943002). This CL reverts this behavior, as it is causing a regression where dragging links within the Chrome's sign-in popup causes unnecessary navigations. BUG=562389 TEST=ExtensionApiTest.(WindowOpenPopupIframe|ContentScriptExtensionProcess|DontInjectContentScriptsInBackgroundPages) still pass with --isolate-extensions or --site-per-process Committed: https://crrev.com/5a98a052d0d369da615393d3bc26d2db9745f34d Cr-Commit-Position: refs/heads/master@{#367711}

Patch Set 1 #

Patch Set 2 : Add back Shell::OpenURLFromTab #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M content/public/browser/web_contents_delegate.cc View 1 chunk +1 line, -27 lines 0 comments Download
M content/shell/browser/shell.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/browser/shell.cc View 1 2 1 chunk +31 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
alexmos
Charlie, can you please take a look?
4 years, 11 months ago (2016-01-05 23:43:02 UTC) #3
Charlie Reis
Thanks for following up on this. I guess there are delegates that depend on not ...
4 years, 11 months ago (2016-01-06 00:03:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1563593002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1563593002/40001
4 years, 11 months ago (2016-01-06 00:08:21 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-06 00:15:09 UTC) #7
commit-bot: I haz the power
4 years, 11 months ago (2016-01-06 00:16:04 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5a98a052d0d369da615393d3bc26d2db9745f34d
Cr-Commit-Position: refs/heads/master@{#367711}

Powered by Google App Engine
This is Rietveld 408576698