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

Issue 316493002: [Mac] Add interactive App Shim test. (Closed)

Created:
6 years, 6 months ago by jackhou1
Modified:
6 years, 6 months ago
Reviewers:
Robert Sesek, tapted, Nico
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

[Mac] Add interactive App Shim test. This test creates shims in the user data dir and actually starts them up and expects them to connect to the IPC socket. BUG=168080, 386024 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276368 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277743 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277955

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address comments #

Total comments: 23

Patch Set 3 : Address comments #

Total comments: 12

Patch Set 4 : Address comments #

Patch Set 5 : Address comments #

Patch Set 6 : Sync and rebase. Fix a couple of comments. #

Patch Set 7 : Disable quarantine on app shims. #

Total comments: 4

Patch Set 8 : RemoveQuarantineAttribute on both bundle and exe #

Patch Set 9 : Sync and rebase #

Patch Set 10 : Don't run test on component builds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -5 lines) Patch
A apps/app_shim/app_shim_interactive_uitest_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +307 lines, -0 lines 0 comments Download
M apps/app_shim/chrome_main_app_mode_mac.mm View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M chrome/app/app_mode-Info.plist View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/mac/app_mode_common.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/mac/app_mode_common.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 51 (0 generated)
jackhou1
6 years, 6 months ago (2014-06-03 05:23:52 UTC) #1
tapted
https://codereview.chromium.org/316493002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode1 apps/app_shim/app_shim_interactive_uitest_mac.mm:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 6 months ago (2014-06-03 07:32:38 UTC) #2
jackhou1
https://codereview.chromium.org/316493002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode1 apps/app_shim/app_shim_interactive_uitest_mac.mm:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 6 months ago (2014-06-04 06:55:41 UTC) #3
tapted
https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode56 apps/app_shim/app_shim_interactive_uitest_mac.mm:56: content::BrowserThread::FILE, nit: indent 2 more spaces https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode81 apps/app_shim/app_shim_interactive_uitest_mac.mm:81: content::BrowserThread::UI, ...
6 years, 6 months ago (2014-06-04 09:36:04 UTC) #4
jackhou1
https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode56 apps/app_shim/app_shim_interactive_uitest_mac.mm:56: content::BrowserThread::FILE, On 2014/06/04 09:36:03, tapted wrote: > nit: indent ...
6 years, 6 months ago (2014-06-05 02:57:11 UTC) #5
tapted
I think it all lg, just need to do one more pass over the full ...
6 years, 6 months ago (2014-06-05 04:08:00 UTC) #6
jackhou1
https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/20001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode220 apps/app_shim/app_shim_interactive_uitest_mac.mm:220: [observer wait]; On 2014/06/05 04:08:01, tapted wrote: > On ...
6 years, 6 months ago (2014-06-05 05:11:00 UTC) #7
tapted
lgtm with those changes https://codereview.chromium.org/316493002/diff/40001/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/40001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode104 apps/app_shim/app_shim_interactive_uitest_mac.mm:104: : app_mode_id_(app_id) { observed_ needs ...
6 years, 6 months ago (2014-06-05 05:20:12 UTC) #8
jackhou1
https://codereview.chromium.org/316493002/diff/40001/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/316493002/diff/40001/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode104 apps/app_shim/app_shim_interactive_uitest_mac.mm:104: : app_mode_id_(app_id) { On 2014/06/05 05:20:12, tapted wrote: > ...
6 years, 6 months ago (2014-06-05 06:36:04 UTC) #9
jackhou1
thakis, please review for OWNERS: chrome/common/mac/app_mode_common.h chrome/common/mac/app_mode_common.mm
6 years, 6 months ago (2014-06-05 06:46:59 UTC) #10
jackhou1
Oops thakis is still OOO. rsesek, could you please review these for for OWNERS: chrome/common/mac/app_mode_common.h ...
6 years, 6 months ago (2014-06-06 06:41:29 UTC) #11
Robert Sesek
LGTM
6 years, 6 months ago (2014-06-06 13:43:55 UTC) #12
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-06 23:50:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/80001
6 years, 6 months ago (2014-06-06 23:53:28 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 03:54:58 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 03:58:20 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/11762) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/193128) chromium_presubmit ...
6 years, 6 months ago (2014-06-07 03:58:21 UTC) #17
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-07 05:15:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/80001
6 years, 6 months ago (2014-06-07 05:17:27 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 06:12:23 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 06:16:11 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/11781) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/193147) chromium_presubmit ...
6 years, 6 months ago (2014-06-07 06:16:12 UTC) #22
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-09 22:59:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/80001
6 years, 6 months ago (2014-06-09 23:01:35 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 11:07:14 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 11:50:51 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72657)
6 years, 6 months ago (2014-06-10 11:50:52 UTC) #27
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-11 01:26:10 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/100001
6 years, 6 months ago (2014-06-11 01:28:08 UTC) #29
commit-bot: I haz the power
Change committed as 276368
6 years, 6 months ago (2014-06-11 12:32:10 UTC) #30
please use gerrit instead
Appears to have broken http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%283%29/builds/1338. Reverting for now. If you feel that was a flake, ...
6 years, 6 months ago (2014-06-11 15:50:41 UTC) #31
please use gerrit instead
A revert of this CL has been created in https://codereview.chromium.org/329253002/ by rouslan@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-11 15:55:54 UTC) #32
jackhou1
tapted, PTAL This test seems to be hitting http://crbug.com/271347 on 10.7. (Or something similar that ...
6 years, 6 months ago (2014-06-12 05:00:37 UTC) #33
tapted
slgtm but rsesek should take a look in case of any security implications.. https://codereview.chromium.org/316493002/diff/120001/chrome/app/app_mode-Info.plist File ...
6 years, 6 months ago (2014-06-12 05:19:23 UTC) #34
jackhou1
rsesek, could you PTAL at changes in Patch 7 for security.
6 years, 6 months ago (2014-06-12 07:19:22 UTC) #35
jackhou1
thakis, please review for OWNERS: chrome/app/app_mode-Info.plist
6 years, 6 months ago (2014-06-12 07:20:07 UTC) #36
jackhou1
Ping rsesek, thakis BTW, mac_asan_64 failed but not on any shim related tests.
6 years, 6 months ago (2014-06-12 23:59:30 UTC) #37
Robert Sesek
https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm#newcode571 chrome/browser/web_applications/web_app_mac.mm:571: .Append("Contents").Append("MacOS").Append("app_mode_loader")); On 2014/06/12 05:19:22, tapted wrote: > Cool - ...
6 years, 6 months ago (2014-06-13 17:58:42 UTC) #38
jackhou1
https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm#newcode571 chrome/browser/web_applications/web_app_mac.mm:571: .Append("Contents").Append("MacOS").Append("app_mode_loader")); On 2014/06/13 17:58:41, rsesek wrote: > On 2014/06/12 ...
6 years, 6 months ago (2014-06-14 01:16:37 UTC) #39
tapted
On 2014/06/14 01:16:37, jackhou1 wrote: > https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm > File chrome/browser/web_applications/web_app_mac.mm (right): > > https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm#newcode571 > ...
6 years, 6 months ago (2014-06-16 06:40:07 UTC) #40
jackhou1
On 2014/06/16 06:40:07, tapted wrote: > On 2014/06/14 01:16:37, jackhou1 wrote: > > > https://codereview.chromium.org/316493002/diff/120001/chrome/browser/web_applications/web_app_mac.mm ...
6 years, 6 months ago (2014-06-16 09:32:28 UTC) #41
Robert Sesek
LGTM
6 years, 6 months ago (2014-06-16 14:58:06 UTC) #42
Nico
rslgtm
6 years, 6 months ago (2014-06-16 22:24:18 UTC) #43
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-16 22:29:28 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/140001
6 years, 6 months ago (2014-06-16 22:44:58 UTC) #45
commit-bot: I haz the power
Change committed as 277743
6 years, 6 months ago (2014-06-17 12:35:11 UTC) #46
jackhou1
On 2014/06/17 12:35:11, I haz the power (commit-bot) wrote: > Change committed as 277743 FTR: ...
6 years, 6 months ago (2014-06-18 04:43:05 UTC) #47
jackhou1
Turns out this is was failing in debug builds because the shims don't work with ...
6 years, 6 months ago (2014-06-18 05:54:15 UTC) #48
jackhou1
The CQ bit was checked by jackhou@chromium.org
6 years, 6 months ago (2014-06-18 05:54:23 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/316493002/180001
6 years, 6 months ago (2014-06-18 05:55:05 UTC) #50
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 06:51:06 UTC) #51
Message was sent while issue was closed.
Change committed as 277955

Powered by Google App Engine
This is Rietveld 408576698