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

Issue 385073015: Node.replaceChild and Node.removeChild do not use custom binding anymore (Closed)

Created:
6 years, 5 months ago by kangil_
Modified:
6 years, 5 months ago
Reviewers:
tkent, haraken
CC:
blink-reviews, arv+blink, sof, eae+blinkwatch, abarth-chromium, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, Inactive, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Node.replaceChild and Node.removeChild do not use custom binding anymore This CL made those two methods use code generation by removing Custom keyword from Node.idl Then enabled interface type checking so appropriate TypeError will be thrown as per sepc. SPEC: http://www.w3.org/TR/WebIDL/#es-interface TEST=fast/dom/Document/replaceChild-null-oldChild.html ,fast/events/remove-target-with-shadow-in-drag.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178000

Patch Set 1 #

Patch Set 2 : Fix failed layout tests case #

Total comments: 10

Patch Set 3 : Take review comment into consideration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -71 lines) Patch
M LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/remove-target-with-shadow-in-drag-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/custom/V8NodeCustom.cpp View 1 chunk +0 lines, -31 lines 0 comments Download
M Source/core/dom/ContainerNode.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 2 8 chunks +33 lines, -22 lines 0 comments Download
M Source/core/dom/Node.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +10 lines, -8 lines 0 comments Download
M Source/core/dom/Node.idl View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
kangil_
PTAL
6 years, 5 months ago (2014-07-12 04:57:56 UTC) #1
haraken
https://codereview.chromium.org/385073015/diff/20001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/385073015/diff/20001/Source/core/dom/ContainerNode.cpp#newcode334 Source/core/dom/ContainerNode.cpp:334: if (!oldChild.get()) { .get() is not necessary. https://codereview.chromium.org/385073015/diff/20001/Source/core/dom/ContainerNode.cpp#newcode343 Source/core/dom/ContainerNode.cpp:343: ...
6 years, 5 months ago (2014-07-12 06:08:12 UTC) #2
kangil_
PTAL https://codereview.chromium.org/385073015/diff/20001/Source/core/dom/ContainerNode.cpp File Source/core/dom/ContainerNode.cpp (right): https://codereview.chromium.org/385073015/diff/20001/Source/core/dom/ContainerNode.cpp#newcode334 Source/core/dom/ContainerNode.cpp:334: if (!oldChild.get()) { On 2014/07/12 06:08:12, haraken wrote: ...
6 years, 5 months ago (2014-07-12 06:15:20 UTC) #3
haraken
LGTM
6 years, 5 months ago (2014-07-12 15:42:33 UTC) #4
kangil_
The CQ bit was checked by kangil.han@samsung.com
6 years, 5 months ago (2014-07-12 15:44:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kangil.han@samsung.com/385073015/40001
6 years, 5 months ago (2014-07-12 15:44:49 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-12 16:56:43 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-12 19:33:00 UTC) #8
Message was sent while issue was closed.
Change committed as 178000

Powered by Google App Engine
This is Rietveld 408576698