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

Issue 2669303004: Removed externalRequest code from CRWWebController. (Closed)

Created:
3 years, 10 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 10 months ago
Reviewers:
kkhorimoto, michaeldo
CC:
chromium-reviews, marq+watch_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed externalRequest code from CRWWebController. This code was needed for UIWebView-based app to support target="blank" links. WKWebView natively supports opening windows by DOM and old workaround was harmful, because it created child windows without piping them through WKWebView callbacks which breaks sessionStorage and cross-window scripting. Enabled testLinkWithBlankTargetSessionStorage. Disabled testBrowsingPreventDefaultWithLinkOpenedByJavascript because WKWebView does not open new windows after stopPropagation() call (crbug.com/688223). BUG=681434, 579697 Review-Url: https://codereview.chromium.org/2669303004 Cr-Commit-Position: refs/heads/master@{#448696} Committed: https://chromium.googlesource.com/chromium/src/+/3652d80d4a010ce23b317bcadcf0f064c07c53e1

Patch Set 1 #

Patch Set 2 : Disabled test #

Patch Set 3 : Disabled test #

Patch Set 4 : Merged #

Total comments: 2

Patch Set 5 : Removed kWindowNameSeparator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -220 lines) Patch
M ios/chrome/browser/web/browsing_egtest.mm View 1 1 chunk +3 lines, -1 line 0 comments Download
M ios/chrome/browser/web/window_open_by_dom_egtest.mm View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M ios/web/web_state/js/resources/core.js View 2 chunks +0 lines, -83 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 12 chunks +0 lines, -131 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
Eugene But (OOO till 7-30)
3 years, 10 months ago (2017-02-04 03:01:26 UTC) #11
michaeldo
lgtm https://codereview.chromium.org/2669303004/diff/60001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (left): https://codereview.chromium.org/2669303004/diff/60001/ios/web/web_state/ui/crw_web_controller.mm#oldcode2782 ios/web/web_state/ui/crw_web_controller.mm:2782: base::SysUTF8ToNSString(href + web::kWindowNameSeparator + target); It looks like ...
3 years, 10 months ago (2017-02-07 17:55:30 UTC) #12
kkhorimoto
lgtm. Awesome to see all this old code finally removed!
3 years, 10 months ago (2017-02-07 18:58:14 UTC) #13
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2669303004/diff/60001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (left): https://codereview.chromium.org/2669303004/diff/60001/ios/web/web_state/ui/crw_web_controller.mm#oldcode2782 ios/web/web_state/ui/crw_web_controller.mm:2782: base::SysUTF8ToNSString(href + web::kWindowNameSeparator + target); On 2017/02/07 17:55:30, ...
3 years, 10 months ago (2017-02-07 19:14:11 UTC) #14
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/2669303004/80001
3 years, 10 months ago (2017-02-07 19:16:53 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 19:37:17 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3652d80d4a010ce23b317bcadcf0...

Powered by Google App Engine
This is Rietveld 408576698