[webkit-changes] [WebKit/WebKit] dcf5f1: Provide a more useful exception message when a qua...
Chris Dumez
noreply at github.com
Fri May 5 20:41:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dcf5f162b4888136d70d4eb5e74c6c3edd211590
https://github.com/WebKit/WebKit/commit/dcf5f162b4888136d70d4eb5e74c6c3edd211590
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M LayoutTests/fast/dom/dataset-expected.txt
M LayoutTests/fast/dom/dataset-xhtml-expected.txt
A LayoutTests/fast/dom/qualified-name-validation-expected.txt
A LayoutTests/fast/dom/qualified-name-validation.html
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
Provide a more useful exception message when a qualified name fails validation
https://bugs.webkit.org/show_bug.cgi?id=256385
Reviewed by Ryosuke Niwa.
* LayoutTests/fast/dom/dataset-expected.txt:
* LayoutTests/fast/dom/dataset-xhtml-expected.txt:
* LayoutTests/fast/dom/qualified-name-validation-expected.txt: Added.
* LayoutTests/fast/dom/qualified-name-validation.html: Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::createElementForBindings):
(WebCore::Document::createProcessingInstruction):
(WebCore::Document::parseQualifiedName):
(WebCore::Document::createAttribute):
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::toggleAttribute):
(WebCore::Element::setAttribute):
Canonical link: https://commits.webkit.org/263745@main
More information about the webkit-changes
mailing list