Skip to content

Commit

Permalink
Set Response.Status in bidi
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok committed Nov 4, 2024
1 parent 53abf4d commit 53d2f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,21 +338,6 @@
"FAIL"
]
},
{
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
"testIdPattern": "[navigation.spec] *should navigate to empty page with domcontentloaded*",
"platforms": [
"darwin",
"linux",
"win32"
],
"parameters": [
"webDriverBiDi"
],
"expectations": [
"FAIL"
]
},
{
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
"testIdPattern": "[navigation.spec] *should not throw an error for a 500 response with an empty body*",
Expand Down
2 changes: 2 additions & 0 deletions lib/PuppeteerSharp/Bidi/BidiHttpResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// * SOFTWARE.

using System.Net;
using System.Threading.Tasks;

namespace PuppeteerSharp.Bidi;
Expand All @@ -34,6 +35,7 @@ private BidiHttpResponse(WebDriverBiDi.Network.ResponseData data, BidiHttpReques
{
_data = data;
_request = request;
Status = (HttpStatusCode)data.Status;
}

/// <inheritdoc />
Expand Down

0 comments on commit 53d2f9b

Please sign in to comment.