Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19)

Issue 4697045: alert(0) in playground doesn't show 0 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 4 months ago by felix8a
Modified:
15 years, 4 months ago
Reviewers:
Jasvir
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

If you try to alert(0) in the playground, the alert window shows no value. alert(NaN) also shows no value. This looks like it's due to how GWT converts a JS object to a string. This change makes alert use JS-native stringification, rather than GWT's weirdo stringification.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/com/google/caja/demos/playground/client/ui/PlaygroundView.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2
felix8a
15 years, 4 months ago (2011-07-13 22:02:52 UTC) #1
Jasvir
15 years, 4 months ago (2011-07-13 22:44:15 UTC) #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b