Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
LayoutTests/imported/w3c:
Element's attribute NS API should treat defined undefined namespace as null https://bugs.webkit.org/show_bug.cgi?id=149238 <rdar://problem/22562204> Reviewed by Ryosuke Niwa. Rebaseline W3C DOM test that one more check is passing. * web-platform-tests/dom/nodes/attributes-expected.txt: Source/WebCore: Element's attribute NS API should defined treat undefined namespace as null https://bugs.webkit.org/show_bug.cgi?id=149238 <rdar://problem/22562204> Reviewed by Ryosuke Niwa. Element's attribute NS API should treat defined undefined namespace as null instead of converting it to the "undefined" String. This is because the namespace parameter is a nullable String as per the DOM spec: - https://dom.spec.whatwg.org/#element The attribute is nullable and WebIDL says undefined should be converted to null for nullable parameters: - https://heycam.github.io/webidl/#es-nullable-type (step 3) Firefox follows the specification. No new tests, already covered by existing test. * dom/Element.idl: Canonical link: https://commits.webkit.org/167345@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters