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

Issue 2286773002: [ios] Use new JS execution API in browsing data partitioning test. (Closed)

Created:
4 years, 3 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 3 months ago
Reviewers:
Jackie Quinn
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Use new JS execution API in browsing data partitioning test. Use methods which returns id instead of deprecated methods which return NSString. JS execution API returned NSString because that was the only supported option from UIWebView. Now WKWebView returns id which should be used everywhere. BUG=None Committed: https://crrev.com/3c2c00cc8ae5cfd0afd8eafd8bc4d760ca9d5861 Cr-Commit-Position: refs/heads/master@{#415367}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed review comments #

Total comments: 2

Patch Set 3 : Make GetLocalStorageItem return id. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -26 lines) Patch
M ios/web/browser_state_web_view_partition_inttest.mm View 1 2 5 chunks +11 lines, -23 lines 0 comments Download
M ios/web/public/test/js_test_util.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ios/web/public/test/js_test_util.mm View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
Eugene But (OOO till 7-30)
4 years, 3 months ago (2016-08-26 16:53:56 UTC) #2
Eugene But (OOO till 7-30)
Jackie?
4 years, 3 months ago (2016-08-29 18:39:48 UTC) #3
Jackie Quinn
https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm File ios/web/browser_state_web_view_partition_inttest.mm (right): https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm#newcode79 ios/web/browser_state_web_view_partition_inttest.mm:79: return web::ExecuteJavaScript(web_view, @"document.cookie"); Does this need to be cast, ...
4 years, 3 months ago (2016-08-29 20:16:02 UTC) #4
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm File ios/web/browser_state_web_view_partition_inttest.mm (right): https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm#newcode79 ios/web/browser_state_web_view_partition_inttest.mm:79: return web::ExecuteJavaScript(web_view, @"document.cookie"); On 2016/08/29 20:16:02, Jackie Quinn wrote: ...
4 years, 3 months ago (2016-08-29 21:22:58 UTC) #6
Jackie Quinn
lgtm, with one more return case. https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm File ios/web/browser_state_web_view_partition_inttest.mm (right): https://codereview.chromium.org/2286773002/diff/1/ios/web/browser_state_web_view_partition_inttest.mm#newcode89 ios/web/browser_state_web_view_partition_inttest.mm:89: web::ExecuteJavaScript(web_view, set_local_storage_item, &unused_error); ...
4 years, 3 months ago (2016-08-29 21:42:11 UTC) #7
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2286773002/diff/20001/ios/web/browser_state_web_view_partition_inttest.mm File ios/web/browser_state_web_view_partition_inttest.mm (right): https://codereview.chromium.org/2286773002/diff/20001/ios/web/browser_state_web_view_partition_inttest.mm#newcode98 ios/web/browser_state_web_view_partition_inttest.mm:98: return web::ExecuteJavaScript(web_view, get_local_storage_value); On 2016/08/29 21:42:11, Jackie Quinn wrote: ...
4 years, 3 months ago (2016-08-29 21:50:04 UTC) #9
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/2286773002/40001
4 years, 3 months ago (2016-08-30 18:33:05 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-30 18:38:24 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 18:39:44 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3c2c00cc8ae5cfd0afd8eafd8bc4d760ca9d5861
Cr-Commit-Position: refs/heads/master@{#415367}

Powered by Google App Engine
This is Rietveld 408576698