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

Issue 2540683002: Don't defer quitting in ExecuteScript and other helpers that use DOMMessageQueue. (Closed)

Created:
4 years ago by Alexander Semashko
Modified:
4 years ago
Reviewers:
tommycli, achuithb, raymes, nasko
CC:
chromium-reviews, alemate+watch_chromium.org, creis+watch_chromium.org, achuith+watch_chromium.org, nasko+codewatch_chromium.org, jam, pam+watch_chromium.org, oshima+watch_chromium.org, darin-cc_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't defer quitting in ExecuteScript and other helpers that use DOMMessageQueue. BUG=668707 Committed: https://crrev.com/eab9ac50b601e4d8c810554233a1d2f8e9d61048 Cr-Commit-Position: refs/heads/master@{#437249}

Patch Set 1 #

Patch Set 2 : Fix races in supervised user tests. #

Patch Set 3 : Try to fix failure during teardown. #

Patch Set 4 : Spin the loop in PRE_CreateAndCancelSupervisedUser. #

Total comments: 10

Patch Set 5 : Change FIXME to TODO. #

Total comments: 12

Patch Set 6 : Address comments. #

Total comments: 2

Patch Set 7 : Move ctor & dtor to .cc #

Total comments: 2

Patch Set 8 : rebase #

Patch Set 9 : Restore reload in FeatureUsageSucceeds. #

Total comments: 4

Patch Set 10 : Address comments. #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -21 lines) Patch
M chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_test_base.cc View 1 2 3 4 5 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/plugins/flash_permission_browsertest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +36 lines, -8 lines 0 comments Download
M chromeos/cryptohome/mock_homedir_methods.h View 1 2 3 4 5 6 2 chunks +15 lines, -4 lines 0 comments Download
M chromeos/cryptohome/mock_homedir_methods.cc View 1 2 3 4 5 6 3 chunks +13 lines, -6 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 66 (41 generated)
Alexander Semashko
nasko@chromium.org: Please review changes in content tommycli@chromium.org: Please review changes in chrome/browser/plugins achuith@chromium.org: Please review ...
4 years ago (2016-11-30 07:41:18 UTC) #18
tommycli
+cc raymes since he wrote that plugins browsertest. I'll stamp once he does.
4 years ago (2016-11-30 16:33:52 UTC) #20
nasko
https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc File chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc#newcode194 chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc:194: // FIXME: There should probably be a wait for ...
4 years ago (2016-11-30 17:38:56 UTC) #21
Alexander Semashko
https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc File chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc#newcode194 chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc:194: // FIXME: There should probably be a wait for ...
4 years ago (2016-11-30 22:23:08 UTC) #22
achuithb
You should have a reviewer more familiar with MessageLoopRunner and RunLoop review this. I'm happy ...
4 years ago (2016-11-30 22:39:52 UTC) #23
nasko
https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc#newcode22 chrome/browser/plugins/flash_permission_browsertest.cc:22: class PageReloadWaiter { On 2016/11/30 22:23:08, Alexander Semashko wrote: ...
4 years ago (2016-12-01 01:17:28 UTC) #28
Alexander Semashko
https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc#newcode22 chrome/browser/plugins/flash_permission_browsertest.cc:22: class PageReloadWaiter { On 2016/12/01 01:17:28, nasko wrote: > ...
4 years ago (2016-12-01 12:24:59 UTC) #29
nasko
LGTM https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc#newcode22 chrome/browser/plugins/flash_permission_browsertest.cc:22: class PageReloadWaiter { On 2016/12/01 12:24:59, Alexander Semashko ...
4 years ago (2016-12-01 17:23:09 UTC) #30
Alexander Semashko
On 2016/12/01 17:23:09, nasko wrote: > LGTM > > https://codereview.chromium.org/2540683002/diff/60001/chrome/browser/plugins/flash_permission_browsertest.cc > File chrome/browser/plugins/flash_permission_browsertest.cc (right): > ...
4 years ago (2016-12-01 19:18:41 UTC) #31
nasko
On 2016/12/01 19:18:41, Alexander Semashko wrote: > > > > nick@ is working on a ...
4 years ago (2016-12-01 19:25:05 UTC) #32
Alexander Semashko
On 2016/12/01 19:25:05, nasko wrote: > On 2016/12/01 19:18:41, Alexander Semashko wrote: > > > ...
4 years ago (2016-12-01 19:42:41 UTC) #33
achuithb
lgtm
4 years ago (2016-12-01 20:31:59 UTC) #36
achuithb
https://codereview.chromium.org/2540683002/diff/100001/chromeos/cryptohome/mock_homedir_methods.h File chromeos/cryptohome/mock_homedir_methods.h (right): https://codereview.chromium.org/2540683002/diff/100001/chromeos/cryptohome/mock_homedir_methods.h#newcode19 chromeos/cryptohome/mock_homedir_methods.h:19: MockHomedirMethods() = default; This doesn't work. I think these ...
4 years ago (2016-12-01 21:02:31 UTC) #39
Alexander Semashko
https://codereview.chromium.org/2540683002/diff/100001/chromeos/cryptohome/mock_homedir_methods.h File chromeos/cryptohome/mock_homedir_methods.h (right): https://codereview.chromium.org/2540683002/diff/100001/chromeos/cryptohome/mock_homedir_methods.h#newcode19 chromeos/cryptohome/mock_homedir_methods.h:19: MockHomedirMethods() = default; On 2016/12/01 21:02:31, achuithb wrote: > ...
4 years ago (2016-12-01 22:20:14 UTC) #40
Alexander Semashko
raymes, take a look, please.
4 years ago (2016-12-02 19:23:34 UTC) #41
raymes
Sorry for the delay! https://codereview.chromium.org/2540683002/diff/120001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (left): https://codereview.chromium.org/2540683002/diff/120001/chrome/browser/plugins/flash_permission_browsertest.cc#oldcode60 chrome/browser/plugins/flash_permission_browsertest.cc:60: GetWebContents()->GetLastCommittedURL()); I think we want ...
4 years ago (2016-12-05 01:46:26 UTC) #42
Alexander Semashko
https://codereview.chromium.org/2540683002/diff/120001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (left): https://codereview.chromium.org/2540683002/diff/120001/chrome/browser/plugins/flash_permission_browsertest.cc#oldcode60 chrome/browser/plugins/flash_permission_browsertest.cc:60: GetWebContents()->GetLastCommittedURL()); On 2016/12/05 01:46:26, raymes wrote: > I think ...
4 years ago (2016-12-05 23:44:52 UTC) #43
raymes
lgtm https://codereview.chromium.org/2540683002/diff/160001/chrome/browser/plugins/flash_permission_browsertest.cc File chrome/browser/plugins/flash_permission_browsertest.cc (right): https://codereview.chromium.org/2540683002/diff/160001/chrome/browser/plugins/flash_permission_browsertest.cc#newcode79 chrome/browser/plugins/flash_permission_browsertest.cc:79: // NB: In cases where flash is allowed ...
4 years ago (2016-12-06 00:02:53 UTC) #44
tommycli
rs lgtm since raymes lgtmed
4 years ago (2016-12-06 00:03:39 UTC) #45
Alexander Semashko
Thanks for the review. JFYI: I want to hold on landing this some time because ...
4 years ago (2016-12-06 00:14:14 UTC) #46
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/2540683002/180001
4 years ago (2016-12-08 13:33:25 UTC) #57
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/login/supervised/supervised_user_creation_browsertest.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-08 13:37:11 UTC) #59
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/2540683002/200001
4 years ago (2016-12-08 14:39:09 UTC) #62
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years ago (2016-12-08 15:40:54 UTC) #64
commit-bot: I haz the power
4 years ago (2016-12-08 15:42:40 UTC) #66
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/eab9ac50b601e4d8c810554233a1d2f8e9d61048
Cr-Commit-Position: refs/heads/master@{#437249}

Powered by Google App Engine
This is Rietveld 408576698