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

Issue 2479243002: If 'is' is not null and custom element definition not found, NotFoundError should be thrown (Closed)

Created:
4 years, 1 month ago by Anton Obzhirov
Modified:
3 years, 11 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, dominicc+watchlist_chromium.org, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

If 'is' is not null and custom element definition not found, NotFoundError should be thrown This patch checks if the document.createElement dictionary 'is' attribute is registered as a valid custom element type and throws NotFoundError exception if not. See https://dom.spec.whatwg.org/#dom-document-createelement, step 4. BUG=661968

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/dom/custom/create-element-dictionary-is-type-not-found.html View 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +10 lines, -1 line 2 comments Download
M third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Anton Obzhirov
Plz have a look.
4 years, 1 month ago (2016-11-07 15:28:05 UTC) #3
haraken
On 2016/11/07 15:28:05, Anton Obzhirov wrote: > Plz have a look. (dominicc should be a ...
4 years, 1 month ago (2016-11-07 15:47:42 UTC) #4
dominicc (has gone to gerrit)
https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode685 third_party/WebKit/Source/core/dom/Document.cpp:685: String getTypeExtension(Document* document, I'm pretty sure this isn't how ...
4 years, 1 month ago (2016-11-08 08:48:36 UTC) #5
Anton Obzhirov
On 2016/11/08 08:48:36, dominicc wrote: > https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp > File third_party/WebKit/Source/core/dom/Document.cpp (right): > > https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode685 > ...
4 years, 1 month ago (2016-11-08 13:02:51 UTC) #6
dominicc (has gone to gerrit)
https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode704 third_party/WebKit/Source/core/dom/Document.cpp:704: if (document->registrationContext() && I need to see this patch ...
4 years, 1 month ago (2016-11-16 02:46:41 UTC) #7
Anton Obzhirov
On 2016/11/16 02:46:41, dominicc wrote: > https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp > File third_party/WebKit/Source/core/dom/Document.cpp (right): > > https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode704 > ...
4 years, 1 month ago (2016-11-16 10:52:59 UTC) #8
dominicc (has gone to gerrit)
Hi Anton! Could you take a look at crbug.com/666610 ?
4 years ago (2016-11-25 08:34:02 UTC) #9
Anton Obzhirov
On 2016/11/25 08:34:02, dominicc wrote: > Hi Anton! Could you take a look at crbug.com/666610 ...
4 years ago (2016-11-25 13:27:24 UTC) #10
Anton Obzhirov
On 2016/11/25 13:27:24, Anton Obzhirov wrote: > On 2016/11/25 08:34:02, dominicc wrote: > > Hi ...
4 years ago (2016-11-26 01:39:20 UTC) #11
Anton Obzhirov
On 2016/11/16 10:52:59, Anton Obzhirov wrote: > On 2016/11/16 02:46:41, dominicc wrote: > > > ...
4 years ago (2016-11-26 01:41:05 UTC) #12
dominicc (has gone to gerrit)
On 2016/11/26 at 01:41:05, a.obzhirov wrote: > On 2016/11/16 10:52:59, Anton Obzhirov wrote: > > ...
3 years, 11 months ago (2017-01-19 06:36:08 UTC) #13
Anton Obzhirov
3 years, 11 months ago (2017-01-19 17:06:12 UTC) #14
On 2017/01/19 06:36:08, dominicc wrote:
> On 2016/11/26 at 01:41:05, a.obzhirov wrote:
> > On 2016/11/16 10:52:59, Anton Obzhirov wrote:
> > > On 2016/11/16 02:46:41, dominicc wrote:
> > > >
> > >
>
https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/c...
> > > > File third_party/WebKit/Source/core/dom/Document.cpp (right):
> > > > 
> > > >
> > >
>
https://codereview.chromium.org/2479243002/diff/1/third_party/WebKit/Source/c...
> > > > third_party/WebKit/Source/core/dom/Document.cpp:704: if
> > > > (document->registrationContext() &&
> > > > I need to see this patch based on top of yurak's patch. Sorry to ask you
> to
> > > slow
> > > > down, but it's hard to compute how these line up.
> > > 
> > > NP, I was waiting actually for his patch to be merged first to
> rebase/improve
> > > this one.
> > 
> > Now since yurak's patch has been merged I will update my part.
> 
> Great, ping when there is an update?

Left a comment in the bug, plz check.

Powered by Google App Engine
This is Rietveld 408576698