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

Issue 248153003: about:sync: Fix refresh crash and broken node browser (Closed)

Created:
6 years, 8 months ago by rlarocque
Modified:
6 years, 8 months ago
Reviewers:
James Hawkins
CC:
chromium-reviews, tim (not reviewing)
Visibility:
Public.

Description

about:sync: Fix refresh crash and broken node browser The refresh crash was getting in the way of debugging and reproducing the node browser issue. This CL fixes both at once. The refresh crash happened because the SyncInternalsMessageHandler will retain its state across a refresh, but the JavaScript code it talks to will not. The message handler will receive a second message from the JavaScript code to inform it that it's time to register with the ProfileSyncService. This CL adds a check to ensure that this double-request will not result in a double-registration. The node browser issue was caused by a mismatch between the C++ and JavaScript APIs. The C++ side passed an array of arguments, but the JavaScript code was expecting the two arguments to be passed separately. BUG=363300, 360197 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266079

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M chrome/browser/ui/webui/sync_internals_message_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_internals_message_handler.cc View 3 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rlarocque
Here's a few small fixes for some about:sync issues. Please review.
6 years, 8 months ago (2014-04-22 22:08:45 UTC) #1
James Hawkins
lgtm
6 years, 8 months ago (2014-04-23 19:02:23 UTC) #2
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 8 months ago (2014-04-23 19:34:11 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/248153003/1
6 years, 8 months ago (2014-04-23 19:34:37 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 20:54:26 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-23 20:54:27 UTC) #6
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 8 months ago (2014-04-24 17:18:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/248153003/1
6 years, 8 months ago (2014-04-24 21:08:20 UTC) #8
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 02:13:20 UTC) #9
Message was sent while issue was closed.
Change committed as 266079

Powered by Google App Engine
This is Rietveld 408576698