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: add missing resourceType conversions for webRequest listener details #29902

Merged
merged 1 commit into from Jul 8, 2021

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jun 26, 2021

Description of Change

Making it match enum class WebRequestResourceType in Chromium. Also add strong typing for the enum values in TypeScript.

Note: I am not sure if this is considered a semver/patch as values previously returned as other are now converted to the appropriate value name.

Checklist

Release Notes

Notes: Added missing resourceType conversions for webRequest listener details: font, ping, cspReport, media, webSocket.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 26, 2021
@miniak miniak self-assigned this Jun 26, 2021
@miniak miniak added no-backport semver/patch backwards-compatible bug fixes target/14-x-y and removed no-backport labels Jun 26, 2021
@miniak miniak force-pushed the miniak/web-request-resource-types branch from 1433c66 to 6b32a10 Compare June 26, 2021 01:35
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 27, 2021
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 looks good to me.

@zcbenz zcbenz requested a review from a team June 28, 2021 06:53
@deepak1556 deepak1556 merged commit 635ed5a into main Jul 8, 2021
@deepak1556 deepak1556 deleted the miniak/web-request-resource-types branch July 8, 2021 07:19
@release-clerk
Copy link

release-clerk bot commented Jul 8, 2021

Release Notes Persisted

Added missing resourceType conversions for webRequest listener details: font, ping, cspReport, media, webSocket.

@trop
Copy link
Contributor

trop bot commented Jul 8, 2021

I have automatically backported this PR to "14-x-y", please check out #30050

BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
remusao added a commit to ghostery/adblocker that referenced this pull request Sep 22, 2021
remusao added a commit to ghostery/adblocker that referenced this pull request Sep 22, 2021
remusao added a commit to ghostery/adblocker that referenced this pull request Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-review/requested 🗳 semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants