Chromium Code Reviews
DescriptionDon't come undone when undoing the editing of a Custom Element.
CustomElementRegistrationContext hitherto asserted that the parser
would only call setAttribute for the "is" attribute once (or for any
given attribute; but the "is" attribute has special significance
because it governs Custom Element type extensions).
However undoing ReplaceNodeWithSpan may pull an existing Custom
Element out and "parser set" the "is" attribute a second time. This
change weakens the assertion and simply makes subsequent sets of "is"
a no-op.
This defect was found by the fuzzing described in
<http://crbug.com/234509#c40>.
BUG=234509
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155612
Patch Set 1 #
Total comments: 3
Patch Set 2 : Adds exposition of what the test does. #Patch Set 3 : Resolve conflicts. #
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||||||||||||||||||||