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

Issue 1946453002: Make nullable members of IDL dictionaries contain null in JS when unset (Closed)

Created:
4 years, 7 months ago by alancutter (OOO until 2018)
Modified:
4 years, 7 months ago
Reviewers:
haraken, bashi
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-bindings_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, Eric Willigers, rjwright, shans, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@_getComputedTiming
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make nullable members of IDL dictionaries contain null in JS when unset This change updates our IDL binding code for dictionaries. Nullable member types should convert to null if no value is set on them from C++. https://www.w3.org/TR/WebIDL/#es-nullable-type BUG=600248 Committed: https://crrev.com/7fd8a80c83317398ae9276f76d42a2dc0b54f73a Cr-Commit-Position: refs/heads/master@{#391993}

Patch Set 1 #

Total comments: 1

Patch Set 2 : v8:: #

Patch Set 3 : Fix test #

Messages

Total messages: 29 (13 generated)
alancutter (OOO until 2018)
4 years, 7 months ago (2016-05-03 05:06:24 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946453002/1
4 years, 7 months ago (2016-05-03 05:06:40 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/28618) ios_dbg_simulator_ninja on ...
4 years, 7 months ago (2016-05-03 05:10:56 UTC) #6
haraken
https://codereview.chromium.org/1946453002/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp File third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp (right): https://codereview.chromium.org/1946453002/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp#newcode122 third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp:122: if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "{{member.name}}"), Null(isolate)))) Do you mean v8::Null?
4 years, 7 months ago (2016-05-03 05:22:48 UTC) #8
alancutter (OOO until 2018)
On 2016/05/03 at 05:22:48, haraken wrote: > https://codereview.chromium.org/1946453002/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp > File third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp (right): > > https://codereview.chromium.org/1946453002/diff/1/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp#newcode122 ...
4 years, 7 months ago (2016-05-03 05:43:39 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946453002/20001
4 years, 7 months ago (2016-05-03 05:43:53 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/169137) ios_rel_device_ninja on ...
4 years, 7 months ago (2016-05-03 05:46:07 UTC) #13
haraken
LGTM assuming the bots are green.
4 years, 7 months ago (2016-05-03 05:48:15 UTC) #14
alancutter (OOO until 2018)
On 2016/05/03 at 05:48:15, haraken wrote: > LGTM assuming the bots are green. Thanks, looks ...
4 years, 7 months ago (2016-05-03 08:24:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946453002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946453002/20001
4 years, 7 months ago (2016-05-05 04:23:15 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/223930)
4 years, 7 months ago (2016-05-05 05:29:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946453002/40001
4 years, 7 months ago (2016-05-05 05:37:34 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/216730)
4 years, 7 months ago (2016-05-05 08:37:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946453002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946453002/40001
4 years, 7 months ago (2016-05-06 01:32:47 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-06 02:43:57 UTC) #27
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 02:45:29 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7fd8a80c83317398ae9276f76d42a2dc0b54f73a
Cr-Commit-Position: refs/heads/master@{#391993}

Powered by Google App Engine
This is Rietveld 408576698