/[blink]
Chromium logo

Revision 171127


Jump to revision: Previous Next
Author: dominicc@chromium.org
Date: Wed Apr 9 08:11:11 2014 UTC (9 years, 1 month ago)
Changed paths: 3
Log Message:
Type extensions should apply similar checks to custom tags

When creating a Custom Element with a custom tag, the element must be
created by a document with a Custom Element registration context and
have a tag name that conforms to being a valid Custom Element type
name.

Nobody was enforcing a similar check for Custom Elements with type
extensions (for example <button is="panic-button">.) Do that.

BUG=360429
TEST=fast/dom/custom/invalid-type-extension-crash.html
R=haraken@chromium.org

Review URL: https://codereview.chromium.org/230293002

Changed paths

Path Details
Directorytrunk/LayoutTests/fast/dom/custom/invalid-type-extension-crash-expected.txt added
Directorytrunk/LayoutTests/fast/dom/custom/invalid-type-extension-crash.svg added
Directorytrunk/Source/core/dom/custom/CustomElementRegistrationContext.cpp modified , text changed

Powered by ViewVC 1.1.26 ViewVC Help