| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Port the public API changes introduced upstream since 1.61 and adapt the client to the protocol-level timeout metadata field. - feat(routeFromHar): interceptAPIRequests option - feat(webauthn): credentials option on BrowserContext.storageState - feat(locator): Locator.wait_for_function() - feat(actions): scroll option to opt out of autoscroll - feat(screenshot): webp output format - adapt channel sends to send timeout as protocol-level metadata AbortSignal is intentionally not ported to Python. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
| finally: | ||
| if len(self._routes) == 0: | ||
| asyncio.create_task( | ||
| create_task_and_ignore_exception( |
There was a problem hiding this comment.
Why this change? Can you link to the upstream counterpart?
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, something went wrong.
| raise Error("Already connected to the server") | ||
| self._connected = True | ||
| asyncio.create_task( | ||
| create_task_and_ignore_exception( |
There was a problem hiding this comment.
Same question here - why is this suddenly ignoring exception?
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, something went wrong.
| result = await result | ||
| await self._channel.send( | ||
| "resolve", None, dict(result=serialize_argument(result)) | ||
| create_task_and_ignore_exception( |
There was a problem hiding this comment.
It looks like most of these create_task_and_ignore_exception calls are wrapping channel.send. Perhaps create a channel.send_may_fail helper?
Sorry, something went wrong.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3813c827-3dfc-44a4-9433-cae8c2919c95
| Back | FazBrowse Home | New Git URL |
Summary
AbortSignal is intentionally not ported to Python, I might connect __abort__ to task cancellation. I'll do it in a followup because it's possibly breaking.