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

Issue 511443002: Mojo javascript encoder: Empty string encoded as NULL. (Closed)

Created:
6 years, 3 months ago by Tom Sepez
Modified:
6 years, 3 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Mojo javascript encoder: Empty string encoded as NULL. Instead, encode null as NULL (and not just any falsy value) via a == comparison with null (and use ==, not === to treat undefined the same way as null). BUG=407258 Committed: https://crrev.com/c1a2be03ea10bf2416b614779909ea0d20bb683c Cr-Commit-Position: refs/heads/master@{#292221}

Patch Set 1 #

Patch Set 2 : Add comment about undefined. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M mojo/public/js/bindings/codec.js View 1 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Tom Sepez
tsepez@chromium.org changed reviewers: + yzshen@chromium.org
6 years, 3 months ago (2014-08-26 16:54:41 UTC) #1
Tom Sepez
Yuzhu, please review. Thanks.
6 years, 3 months ago (2014-08-26 16:54:41 UTC) #2
yzshen1
LGTM, thanks! Does it make sense to also add your comment to the code: """encode ...
6 years, 3 months ago (2014-08-26 17:30:19 UTC) #3
Tom Sepez
Does it make sense to also add your comment to the code: > > """encode ...
6 years, 3 months ago (2014-08-26 18:31:06 UTC) #4
yzshen1
On 2014/08/26 18:31:06, Tom Sepez wrote: > Does it make sense to also add your ...
6 years, 3 months ago (2014-08-26 19:03:52 UTC) #5
Tom Sepez
The CQ bit was checked by tsepez@chromium.org
6 years, 3 months ago (2014-08-27 17:27:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/511443002/20001
6 years, 3 months ago (2014-08-27 17:27:45 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 3 months ago (2014-08-27 19:38:03 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 20:39:00 UTC) #9
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-27 20:39:01 UTC) #10
Tom Sepez
The CQ bit was checked by tsepez@chromium.org
6 years, 3 months ago (2014-08-27 21:10:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/511443002/20001
6 years, 3 months ago (2014-08-27 21:11:37 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as e602b151b4760b70d65563c8fad0a621124ad99c
6 years, 3 months ago (2014-08-27 21:12:43 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:53:58 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c1a2be03ea10bf2416b614779909ea0d20bb683c
Cr-Commit-Position: refs/heads/master@{#292221}

Powered by Google App Engine
This is Rietveld 408576698