Commit 4558ead
Remove HTMLHeadElement.profile
Remove HTMLHeadElement.profile
https://bugs.webkit.org/show_bug.cgi?id=249896
Reviewed by Ryosuke Niwa.
This patch is to align with Web-Specifications and other browser engines by removing 'profile' attribute support.
The patch removes "profile" attribute from 'head' element, which
was removed from HTML Specifications in 2010 and later dropped by browsers as
far back as 2014. Currently, only Safari / WebKit support this.
* Source/WebCore/html/HTMLHeadElement.idl: Remove 'profile'
* Source/WebCore/html/HTMLAttributeNames.in: Remove 'profile'
* Source/WebKitLegacy/mac/DOM/DOMHTMLHeadElement.mm: Return null for 'profileAttr' & early return for setProfile function
* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLHeadElement.cpp:
(webkit_dom_html_head_element_get_profile): Return 'nullptr'
(webkit_dom_html_head_element_set_profile): Early return
* LayoutTests/fast/dom/element-attribute-js-null.html: Rebaselined
* LayoutTests/fast/dom/element-attribute-js-null-expected.txt: Rebaselined
* LayoutTests/dom/xhtml/level2/html/HTMLHeadElement01.xhtml: Removed
* LayoutTests/dom/xhtml/level2/html/HTMLHeadElement01.js: Ditto
* LayoutTests/dom/xhtml/level2/html/HTMLHeadElement01-expected.txt: Ditto
* LayoutTests/dom/html/level2/html/HTMLHeadElement01.html: Removed
* LayoutTests/dom/html/level2/html/HTMLHeadElement01.js: Ditto
* LayoutTests/dom/html/level2/html/HTMLHeadElement01-expected.txt: Ditto
Canonical link: https://commits.webkit.org/258397@main1 parent 64ad5fc commit 4558ead
File tree
12 files changed
+6
-274
lines changed- LayoutTests
- dom
- html/level2/html
- xhtml/level2/html
- fast/dom
- Source
- WebCore/html
- WebKitLegacy/mac/DOM
- WebKit/WebProcess/InjectedBundle/API/gtk/DOM
12 files changed
+6
-274
lines changedLines changed: 0 additions & 2 deletions
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | 227 | | |
235 | 228 | | |
236 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | 370 | | |
372 | 371 | | |
373 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
0 commit comments