Commit a9bbaa7
committed
X-Frame-Options should only strip tab or space
https://bugs.webkit.org/show_bug.cgi?id=272745
rdar://126915315
Reviewed by Youenn Fablet.
As per
https://html.spec.whatwg.org/multipage/speculative-loading.html#the-x-frame-options-header
which calls into
https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split
New tests:
web-platform-tests/wpt#57341
Canonical link: https://commits.webkit.org/306279@main1 parent dee86de commit a9bbaa7
File tree
4 files changed
+20
-1
lines changed- LayoutTests
- imported/w3c/web-platform-tests/x-frame-options
- platform/win
- Source/WebCore/platform/network
4 files changed
+20
-1
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
23 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1995 | 1998 | | |
1996 | 1999 | | |
1997 | 2000 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| |||
0 commit comments