forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1453318 - Disallow responses when a response header value contain…
…s 0x00; r=kershaw,sunil,necko-reviewers Differential Revision: https://phabricator.services.mozilla.com/D185160
- Loading branch information
1 parent
c3d6f0e
commit f46b175
Showing
10 changed files
with
34 additions
and
104 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
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
26 changes: 0 additions & 26 deletions
26
testing/web-platform/meta/fetch/api/basic/header-value-null-byte.any.js.ini
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
testing/web-platform/meta/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[resources-with-0x00-in-header.window.html] | ||
expected: | ||
if (os == "android") and fission: [OK, TIMEOUT] | ||
[Expect network error for image with 0x00 in a header] | ||
expected: FAIL | ||
|
||
[Expect network error for frame navigation to resource with 0x00 in a header] | ||
expected: FAIL | ||
|
||
[Expect network error for script with 0x00 in a header] | ||
expected: FAIL |
11 changes: 0 additions & 11 deletions
11
testing/web-platform/meta/xhr/headers-normalize-response.htm.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
[headers-normalize-response.htm] | ||
expected: | ||
if (os == "android") and fission: [OK, TIMEOUT] | ||
[Header value: hello\\0world] | ||
expected: FAIL | ||
|
||
[Header value: \\0hello world] | ||
expected: FAIL | ||
|
||
[Header value: \\0] | ||
expected: FAIL | ||
|
||
[Header value: hello world\\0] | ||
expected: FAIL |
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