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

Issue 1416743008: [ios] Do not copy JS evaluation handlers before passing to WKWebView. (Closed)

Created:
5 years, 1 month ago by Eugene But (OOO till 7-30)
Modified:
5 years, 1 month ago
Reviewers:
shreyasv1
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Do not copy JS evaluation handlers before passing to WKWebView. WKWebView used to crash on deallocation when flushing scripts that did not finish the execution but had a completion handler. This crash has been fixed in iOS9, so this CL removes a crash workaround. BUG=None Committed: https://crrev.com/8a75e248a594471fbf75d84f404f9450e3fa3315 Cr-Commit-Position: refs/heads/master@{#358924}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M ios/web/web_state/ui/web_view_js_utils.mm View 1 1 chunk +8 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416743008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416743008/1
5 years, 1 month ago (2015-11-10 19:08:41 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-10 19:31:47 UTC) #4
Eugene But (OOO till 7-30)
5 years, 1 month ago (2015-11-10 21:28:13 UTC) #6
shreyasv1
https://codereview.chromium.org/1416743008/diff/1/ios/web/web_state/ui/web_view_js_utils.mm File ios/web/web_state/ui/web_view_js_utils.mm (right): https://codereview.chromium.org/1416743008/diff/1/ios/web/web_state/ui/web_view_js_utils.mm#newcode62 ios/web/web_state/ui/web_view_js_utils.mm:62: // deallocation, which will be inefficient use of resources. ...
5 years, 1 month ago (2015-11-10 21:34:04 UTC) #7
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1416743008/diff/1/ios/web/web_state/ui/web_view_js_utils.mm File ios/web/web_state/ui/web_view_js_utils.mm (right): https://codereview.chromium.org/1416743008/diff/1/ios/web/web_state/ui/web_view_js_utils.mm#newcode62 ios/web/web_state/ui/web_view_js_utils.mm:62: // deallocation, which will be inefficient use of resources. ...
5 years, 1 month ago (2015-11-10 21:44:05 UTC) #8
shreyasv1
LGTM.
5 years, 1 month ago (2015-11-10 21:45:09 UTC) #9
Eugene But (OOO till 7-30)
Thanks for quick review!
5 years, 1 month ago (2015-11-10 21:51:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416743008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416743008/20001
5 years, 1 month ago (2015-11-10 21:51:40 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-10 22:06:55 UTC) #13
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 22:07:37 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8a75e248a594471fbf75d84f404f9450e3fa3315
Cr-Commit-Position: refs/heads/master@{#358924}

Powered by Google App Engine
This is Rietveld 408576698