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

Issue 360803002: Interpret Dart null as both null and undefined. (Closed)

Created:
6 years, 5 months ago by rmacnak
Modified:
6 years, 5 months ago
Reviewers:
vsm, Leaf, terry
CC:
reviews+dom_dartlang.org
Visibility:
Public.

Description

Interpret Dart null as both null and undefined. BUG=http://dartbug.com/19458 BUG=http://dartbug.com/18931 (html/indexeddb_5_test)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M Source/bindings/dart/DartScriptValue.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
rmacnak
I don't like this change as it may have unintended consequences for other parts of ...
6 years, 5 months ago (2014-06-30 22:14:48 UTC) #1
vsm
6 years, 5 months ago (2014-07-01 05:53:06 UTC) #2
On 2014/06/30 22:14:48, rmacnak wrote:
> I don't like this change as it may have unintended consequences for other
parts
> of dart:html.
> 
> Alternatively we could change IDBObjectStore::put to look for null or
undefined,
> but this would change Javascript behavior.
> 
> Thoughts?

I think we need to somehow undo this change from before:

https://codereview.chromium.org/289083003/diff/110001/Source/bindings/dart/Da...

I.e., in dartToScriptValueWithNullCheck, we need a way of creating a ScriptValue
that represents undefined.

Powered by Google App Engine
This is Rietveld 408576698