Conversation
Tests to complement those written in #10424.
| async_test(t => { | ||
| const img = document.createElement("img"); | ||
| t.add_cleanup(() => img.remove()); | ||
| img.src = "resources//blue-with-0x00-in-a-header.asis"; |
| def main(request, response): | ||
| response.headers.set("Content-Type", "text/html") | ||
| response.headers.set("Custom", "\0") | ||
| return "<!doctype html><b>This is irrelevant.</b>" |
There was a problem hiding this comment.
Maybe could do a text like "This is a simple document." or something generic.
| def main(request, response): | ||
| response.headers.set("Content-Type", "text/javascript") | ||
| response.headers.set("Custom", "\0") | ||
| return "var irrelevant = 0" |
rwlbuis
left a comment
There was a problem hiding this comment.
LGTM with some comments.
|
BTW it seems there are lint errors: |
Tests to complement those written in #10424.