mirror of
https://github.com/microsoft/playwright-java.git
synced 2025-12-28 18:30:43 +00:00
test: make firefox not hang on shouldRejectResponseFinishedIfPageCloses (#1218)
This commit is contained in:
parent
9fdcbb63f9
commit
05239433d2
@ -56,6 +56,7 @@ public class TestPageNetworkResponse extends TestBase {
|
||||
exchange.sendResponseHeaders(200, 0);
|
||||
OutputStreamWriter writer = new OutputStreamWriter(exchange.getResponseBody());
|
||||
writer.write("hello ");
|
||||
writer.flush();
|
||||
});
|
||||
|
||||
// send request and wait for server response
|
||||
@ -80,6 +81,7 @@ public class TestPageNetworkResponse extends TestBase {
|
||||
exchange.sendResponseHeaders(200, 0);
|
||||
OutputStreamWriter writer = new OutputStreamWriter(exchange.getResponseBody());
|
||||
writer.write("hello ");
|
||||
writer.flush();
|
||||
});
|
||||
|
||||
// send request and wait for server response
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user