Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: tests/standalone/io/http_client_request_test.dart

Issue 2618523005: Make HTTP headers use a growing buffer, not a fixed-size 8K one. (Closed)
Patch Set: Remove error message and tests expecting it. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | tests/standalone/io/http_server_response_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_client_request_test.dart
diff --git a/tests/standalone/io/http_client_request_test.dart b/tests/standalone/io/http_client_request_test.dart
index 9015b9f4abf46eb58162ff88e6fad13952bcb6ea..cd2a7beb045adca865c1232f7cea83fe1780d193 100644
--- a/tests/standalone/io/http_client_request_test.dart
+++ b/tests/standalone/io/http_client_request_test.dart
@@ -108,25 +108,8 @@ void testBadResponseClose() {
}
-void testBadHeaders() {
- asyncStart();
- testClientRequest((request) {
- var value = "a";
- for (int i = 0; i < 8 * 1024; i++) {
- value += 'a';
- }
- request.headers.set('name', value);
- request.done.catchError((error) {
- asyncEnd();
- }, test: (e) => e is HttpException);
- return request.close();
- });
-}
-
-
void main() {
testResponseDone();
testBadResponseAdd();
testBadResponseClose();
- testBadHeaders();
}
« no previous file with comments | « sdk/lib/io/http_impl.dart ('k') | tests/standalone/io/http_server_response_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698