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

chore: remove undocumented page-title-set webview event #34533

Merged
merged 1 commit into from Jun 22, 2022

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jun 13, 2022

Description of Change

This event has been undocumented for ages.

Checklist

Release Notes

Notes: The undocumented page-title-set webview event has been removed.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 13, 2022
@miniak miniak added semver/major incompatible API changes no-backport labels Jun 13, 2022
@miniak miniak force-pushed the miniak/remove-page-title-set-event branch from e32bcc2 to 9bb6419 Compare June 13, 2022 22:30
@miniak miniak changed the title chore: undocumented page-title-set webview event chore: remove undocumented page-title-set webview event Jun 13, 2022
Copy link
Member

@nornagon nornagon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was the old name for the event back in 2015, but I think it's safe to remove now.

commit e5974e44ed5584db59eac5318b5d0b2dbd1dba7e
Author: Cheng Zhao <zcbenz@gmail.com>
Date:   Tue Dec 1 18:50:56 2015 +0800

    Deprecate the page-title-set event

    We have two names for the same event, page-title-updated wins.

diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md
index 47a3050a04..56909a52e3 100644
--- a/docs/api/web-view-tag.md
+++ b/docs/api/web-view-tag.md
@@ -452,15 +452,15 @@ Fired when a redirect was received while requesting a resource.

 Fired when document in the given frame is loaded.

-### Event: 'page-title-set'
+### Event: 'page-title-updated'

@nornagon
Copy link
Member

API LGTM

1 similar comment
@itsananderson
Copy link
Contributor

API LGTM

@miniak miniak self-assigned this Jun 14, 2022
@miniak miniak force-pushed the miniak/remove-page-title-set-event branch from 9bb6419 to 8d44427 Compare June 14, 2022 19:48
Copy link
Member

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API LGTM

@zcbenz zcbenz merged commit f172136 into main Jun 22, 2022
@zcbenz zcbenz deleted the miniak/remove-page-title-set-event branch June 22, 2022 08:18
@release-clerk
Copy link

release-clerk bot commented Jun 22, 2022

Release Notes Persisted

The undocumented page-title-set webview event has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants