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

Issue 2347013002: Fix how JsChecker::GetBoolImpl enforces boolean result (Closed)

Created:
4 years, 3 months ago by xiyuan
Modified:
4 years, 3 months ago
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, kumarniranjan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix how JsChecker::GetBoolImpl enforces boolean result The "!!" trick is applied to domAutomationController.send instead of the expression. This could cause DomAutomationController to drop result of a non-boolean expression. As a result, ExpectTrue etc times out. BUG= TEST=JsChecker::ExpectTrue with non-boolean expression should not time out. Committed: https://crrev.com/133105cf6d16f3c0bae67cbf2003db44b8293a47 Cr-Commit-Position: refs/heads/master@{#419296}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/browser/chromeos/login/test/js_checker.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
xiyuan
4 years, 3 months ago (2016-09-16 07:43:32 UTC) #8
achuithb
lgtm
4 years, 3 months ago (2016-09-16 22:07:31 UTC) #10
xiyuan
On 2016/09/16 22:07:31, achuith(OOO_until_9_28) wrote: > lgtm Thanks for reviewing during OOO. :)
4 years, 3 months ago (2016-09-16 22:08:43 UTC) #11
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/2347013002/1
4 years, 3 months ago (2016-09-16 22:09:37 UTC) #13
xiyuan
+kumarniranjan fyi
4 years, 3 months ago (2016-09-16 22:09:51 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-16 22:15:39 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 22:17:25 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/133105cf6d16f3c0bae67cbf2003db44b8293a47
Cr-Commit-Position: refs/heads/master@{#419296}

Powered by Google App Engine
This is Rietveld 408576698