Node.appendChild should throw TypeError when newChild is not an object
SPEC: http://www.w3.org/TR/WebIDL/#es-interface
According to spec,
'If Type(V) is not Object, then throw a TypeError.'
So this CL modified it as per specified.
TEST=LayoutTests/fast/dom/incompatible-operations.html
,LayoutTests/fast/dom/move-nodes-across-documents.html
,LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
In addition, with this CL,
4 test cases will be passed at
http://w3c-test.org/dom/nodes/Node-appendChild.html
Behavior in other browsers.
*)FF: PASS
*)IE: FAIL
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177721
> Fortunately, current layout tests has coverage. :) Even if we already have coverage, we ...
6 years, 5 months ago
(2014-07-09 03:09:58 UTC)
#6
> Fortunately, current layout tests has coverage. :)
Even if we already have coverage, we want to make web-exposed changes
incrementally.
kangil_
On 2014/07/09 03:09:58, haraken wrote: > > Fortunately, current layout tests has coverage. :) > ...
6 years, 5 months ago
(2014-07-09 04:53:33 UTC)
#7
On 2014/07/09 03:09:58, haraken wrote:
> > Fortunately, current layout tests has coverage. :)
>
> Even if we already have coverage, we want to make web-exposed changes
> incrementally.
Got it, done.
PTAL, thanks!
haraken
LGTM
6 years, 5 months ago
(2014-07-09 04:57:17 UTC)
#8
LGTM
kangil_
On 2014/07/09 04:53:33, kangil_ wrote: > On 2014/07/09 03:09:58, haraken wrote: > > > Fortunately, ...
6 years, 5 months ago
(2014-07-09 04:57:29 UTC)
#9
On 2014/07/09 04:53:33, kangil_ wrote:
> On 2014/07/09 03:09:58, haraken wrote:
> > > Fortunately, current layout tests has coverage. :)
> >
> > Even if we already have coverage, we want to make web-exposed changes
> > incrementally.
>
> Got it, done.
> PTAL, thanks!
I will make a patch again. Please hold review on.
kangil_
On 2014/07/09 04:57:29, kangil_ wrote: > On 2014/07/09 04:53:33, kangil_ wrote: > > On 2014/07/09 ...
6 years, 5 months ago
(2014-07-09 05:39:41 UTC)
#10
On 2014/07/09 04:57:29, kangil_ wrote:
> On 2014/07/09 04:53:33, kangil_ wrote:
> > On 2014/07/09 03:09:58, haraken wrote:
> > > > Fortunately, current layout tests has coverage. :)
> > >
> > > Even if we already have coverage, we want to make web-exposed changes
> > > incrementally.
> >
> > Got it, done.
> > PTAL, thanks!
>
> I will make a patch again. Please hold review on.
PTAL.
Sorry for the noise.
Patchset 6 broke test cases that expect NotFoundError so I had to rework.
haraken
still LGTM
6 years, 5 months ago
(2014-07-09 05:41:29 UTC)
#11
still LGTM
kangil_
The CQ bit was checked by kangil.han@samsung.com
6 years, 5 months ago
(2014-07-09 05:46:51 UTC)
#12
Issue 374093002: Node.appendChild should throw TypeError when newChild is not an object
(Closed)
Created 6 years, 5 months ago by kangil_
Modified 6 years, 5 months ago
Reviewers: tkent, haraken
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 4