| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1e60e0a commit 239d5ec
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,6 +70,14 @@ const ca = readKey('fake-startcom-root-cert.pem', 'binary'); | |||
| 70 | 70 | } | |
| 71 | 71 | ); | |
| 72 | 72 | }); | |
| 73 | + const longInput = 'http://foo.bar' + 'a'.repeat(16383); | ||
| 74 | + throws( | ||
| 75 | + () => session.origin(longInput), | ||
| 76 | + { | ||
| 77 | + code: 'ERR_HTTP2_ORIGIN_LENGTH', | ||
| 78 | + name: 'TypeError [ERR_HTTP2_ORIGIN_LENGTH]' | ||
| 79 | + } | ||
| 80 | + ); | ||
| 73 | 81 | })); | |
| 74 | 82 | ||
| 75 | 83 | server.listen(0, mustCall(() => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments