Skip to content

feat!: respect unhandledPromptBehavior capability#2351

Merged
sadym-chromium merged 5 commits intomainfrom
sadym/unahandledPromptBehavior
Jun 26, 2024
Merged

feat!: respect unhandledPromptBehavior capability#2351
sadym-chromium merged 5 commits intomainfrom
sadym/unahandledPromptBehavior

Conversation

@sadym-chromium
Copy link
Copy Markdown
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 force-pushed the sadym/unahandledPromptBehavior branch from 1e750c9 to 4f225e7 Compare June 25, 2024 12:25
@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 force-pushed the sadym/UserPromptClosed branch from 84c4cb6 to 7f6ce26 Compare June 25, 2024 12:36
@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 force-pushed the sadym/unahandledPromptBehavior branch from 1b5fca9 to b568cb5 Compare June 25, 2024 13:51
@sadym-chromium sadym-chromium marked this pull request as ready for review June 25, 2024 14:26
@OrKoN
Copy link
Copy Markdown
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
Copy Markdown
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
@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