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

Issue 2624383005: DevTools: avoid race condition between ExecutionContextSelector.js and Main.js (Closed)

Created:
3 years, 11 months ago by chenwilliam
Modified:
3 years, 11 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: avoid race condition between ExecutionContextSelector.js and Main.js This originated from my CL to extract files from modules: crrev.com/442706 Main sometimes calls _createAppUI which instantiates ExecutionContextSelector before ExecutionContextSelector.js is loaded. I also made runOnWindowLoad async to be consistently async BUG=none Review-Url: https://codereview.chromium.org/2624383005 Cr-Commit-Position: refs/heads/master@{#443494} Committed: https://chromium.googlesource.com/chromium/src/+/86937b7b7c70e5e024edabf19d60b3ae1e7d247c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/devtools/front_end/main/module.json View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
chenwilliam
PTAL
3 years, 11 months ago (2017-01-13 00:57:35 UTC) #3
pfeldman
On 2017/01/13 00:57:35, chenwilliam wrote: > PTAL It might be a better idea to use ...
3 years, 11 months ago (2017-01-13 00:59:47 UTC) #4
chenwilliam
PTAL. I added the setImmediate. There's still a race condition in dev mode with loading ...
3 years, 11 months ago (2017-01-13 01:31:12 UTC) #7
pfeldman
ps#1 lgtm
3 years, 11 months ago (2017-01-13 01:51:09 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/2624383005/1
3 years, 11 months ago (2017-01-13 01:54:36 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 04:59:59 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/86937b7b7c70e5e024edabf19d60...

Powered by Google App Engine
This is Rietveld 408576698