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

Issue 934863002: ParentNode#appendChild(null) shouldn't crash (Closed)

Created:
5 years, 10 months ago by abarth-chromium
Modified:
5 years, 10 months ago
Reviewers:
esprehn, eseidel
CC:
esprehn, mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

ParentNode#appendChild(null) shouldn't crash We just needed to throw the proper exception when handed null for a non-nullable argument. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/74759efd00b2933e15448c25e44472c6f730aae9

Patch Set 1 #

Patch Set 2 : git cl format #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -6 lines) Patch
M sky/engine/tonic/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A sky/engine/tonic/dart_exception_factory.h View 1 chunk +29 lines, -0 lines 0 comments Download
A sky/engine/tonic/dart_exception_factory.cc View 1 1 chunk +34 lines, -0 lines 2 comments Download
M sky/engine/tonic/dart_state.h View 2 chunks +3 lines, -0 lines 0 comments Download
M sky/engine/tonic/dart_state.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M sky/engine/tonic/dart_wrappable.cc View 1 2 chunks +12 lines, -2 lines 0 comments Download
M sky/tests/dom/appendChild.sky View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
abarth-chromium
5 years, 10 months ago (2015-02-17 18:01:46 UTC) #1
esprehn
lgtm https://codereview.chromium.org/934863002/diff/20001/sky/engine/tonic/dart_exception_factory.cc File sky/engine/tonic/dart_exception_factory.cc (right): https://codereview.chromium.org/934863002/diff/20001/sky/engine/tonic/dart_exception_factory.cc#newcode30 sky/engine/tonic/dart_exception_factory.cc:30: Dart_Handle empty_string = Dart_NewStringFromCString(""); Do we want a ...
5 years, 10 months ago (2015-02-17 18:06:53 UTC) #3
abarth-chromium
https://codereview.chromium.org/934863002/diff/20001/sky/engine/tonic/dart_exception_factory.cc File sky/engine/tonic/dart_exception_factory.cc (right): https://codereview.chromium.org/934863002/diff/20001/sky/engine/tonic/dart_exception_factory.cc#newcode30 sky/engine/tonic/dart_exception_factory.cc:30: Dart_Handle empty_string = Dart_NewStringFromCString(""); On 2015/02/17 at 18:06:53, esprehn ...
5 years, 10 months ago (2015-02-17 18:14:05 UTC) #4
abarth-chromium
Committed patchset #2 (id:20001) manually as 74759efd00b2933e15448c25e44472c6f730aae9 (presubmit successful).
5 years, 10 months ago (2015-02-17 18:15:31 UTC) #5
abarth-chromium
5 years, 10 months ago (2015-02-17 18:29:52 UTC) #6
Message was sent while issue was closed.
Filed https://code.google.com/p/dart/issues/detail?id=22457 to see if we want to
add this cache inside the DartVM

Powered by Google App Engine
This is Rietveld 408576698