Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: respect unhandledPromptBehavior capability #2351

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

sadym-chromium
Copy link
Collaborator

@sadym-chromium sadym-chromium commented Jun 25, 2024

BREAKING CHANGE: default behavior changed from ignore to dismiss.

Failing WPT tests should be addressed by web-platform-tests/wpt#46895.

  • Puppeteer failures are expected, as Puppeteer has to be updated after Mapper release to pass unhandledPromptBehavior: {default: 'ignore'}.
  • chromedriver has to pass the capability to Mapper.

@sadym-chromium sadym-chromium added the update-expectations Update WPT expectations label Jun 25, 2024
@sadym-chromium sadym-chromium changed the title Sadym/unahandled prompt behavior !feat: respect unhandledPromptBehavior capability Jun 25, 2024
@sadym-chromium sadym-chromium changed the base branch from main to sadym/UserPromptClosed June 25, 2024 12:27
@github-actions github-actions bot removed the update-expectations Update WPT expectations label Jun 25, 2024
@sadym-chromium sadym-chromium added the puppeteer Run Puppeteer test when added to PR label Jun 25, 2024
Base automatically changed from sadym/UserPromptClosed to main June 25, 2024 13:48
@sadym-chromium sadym-chromium added the update-expectations Update WPT expectations label Jun 25, 2024
sadym-chromium and others added 4 commits June 25, 2024 15:50
Breaking change, as default behavior changed from `ignore` to `dismiss`.
Signed-off-by: Browser Automation Bot <browser-automation-bot@google.com>
@sadym-chromium sadym-chromium marked this pull request as ready for review June 25, 2024 14:26
@OrKoN
Copy link
Collaborator

OrKoN commented Jun 25, 2024

the commit is not conventional, although I am not sure it should be a breaking change since it is technically a fix

@sadym-chromium
Copy link
Collaborator Author

sadym-chromium commented Jun 26, 2024

the commit is not conventional, although I am not sure it should be a breaking change since it is technically a fix

It's breaking in terms of some work would be required on Puppeteer side to keep API consistent, and some work on chromedriver is required as well.

@sadym-chromium sadym-chromium changed the title !feat: respect unhandledPromptBehavior capability feat!: respect unhandledPromptBehavior capability Jun 26, 2024
@sadym-chromium sadym-chromium merged commit 08672b9 into main Jun 26, 2024
47 of 48 checks passed
@sadym-chromium sadym-chromium deleted the sadym/unahandledPromptBehavior branch June 26, 2024 09:33
sadym-chromium pushed a commit that referenced this pull request Jun 28, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.6.0](chromium-bidi-v0.5.24...chromium-bidi-v0.6.0)
(2024-06-28)


### ⚠ BREAKING CHANGES

* default behavior changed from `ignore` to `dismiss`.

### Features

* body size for non-intercepted requests
([#2348](#2348))
([ec07c7d](ec07c7d))
* respect `unhandledPromptBehavior` capability
([#2351](#2351))
([08672b9](08672b9))


### Bug Fixes

* openerFrameId whenever possible
([#2329](#2329))
([b3ab7ef](b3ab7ef))
* provide `navigation` and `url` in events
([#2264](#2264))
([9f058da](9f058da))
* provide type in `browsingContext.userPromptClosed` event
([#2349](#2349))
([1326c16](1326c16))
* request body size
([#2339](#2339))
([28dc58b](28dc58b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@pujagani pujagani mentioned this pull request Aug 27, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
puppeteer Run Puppeteer test when added to PR update-expectations Update WPT expectations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants