Attr.prefix / Element.prefix attribute should be readonly
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2016 19:44:01 +0000 (19:44 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2016 19:44:01 +0000 (19:44 +0000)
commitc7dcbace6cb7700687946fdaea6532b825986c6d
tree6ba12f5a8a086a93e6b8d02154e79e1bb1e523b5
parentf25eccc93aa40f4ff498ffd0d8ebe1699f095d94
Attr.prefix / Element.prefix attribute should be readonly
https://bugs.webkit.org/show_bug.cgi?id=160998

Reviewed by Daniel Bates.

LayoutTests/imported/w3c:

Rebaseline W3C test now that more checks are passing.

* web-platform-tests/dom/interfaces-expected.txt:

Source/WebCore:

Attr.prefix / Element.prefix attribute should be readonly:
- https://dom.spec.whatwg.org/#element
- https://dom.spec.whatwg.org/#attr

Firefox and Chrome agree with the specification.

No new tests, rebaselined existing test.

* dom/Attr.idl:
* dom/Element.idl:

LayoutTests:

Update existing tests to reflect behavior change and drop a few
outdated tests.

* fast/dom/Element/prefix-setter-exception-expected.txt: Removed.
* fast/dom/Element/prefix-setter-exception.html: Removed.
* fast/dom/Element/setAttributeNode-case-insensitivity.html:
* fast/dom/bad-href-attribute-expected.txt: Removed.
* fast/dom/bad-href-attribute.html: Removed.
* fast/dom/node-prefix-setter-namespace-exception-expected.txt: Removed.
* fast/dom/node-prefix-setter-namespace-exception.html: Removed.
* fast/dom/script-tests/node-prefix-setter-namespace-exception.js: Removed.
* svg/custom/xlink-prefix-generation-in-attributes-expected.txt:
* svg/custom/xlink-prefix-generation-in-attributes.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/Element/prefix-setter-exception-expected.txt [deleted file]
LayoutTests/fast/dom/Element/prefix-setter-exception.html [deleted file]
LayoutTests/fast/dom/Element/setAttributeNode-case-insensitivity.html
LayoutTests/fast/dom/bad-href-attribute-expected.txt [deleted file]
LayoutTests/fast/dom/bad-href-attribute.html [deleted file]
LayoutTests/fast/dom/node-prefix-setter-namespace-exception-expected.txt [deleted file]
LayoutTests/fast/dom/node-prefix-setter-namespace-exception.html [deleted file]
LayoutTests/fast/dom/script-tests/node-prefix-setter-namespace-exception.js [deleted file]
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt
LayoutTests/svg/custom/xlink-prefix-generation-in-attributes-expected.txt
LayoutTests/svg/custom/xlink-prefix-generation-in-attributes.html
Source/WebCore/ChangeLog
Source/WebCore/dom/Attr.idl
Source/WebCore/dom/Element.idl