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

Prefer features without location condition #74

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

oliverdunk
Copy link
Member

I originally had this change in #73, but then I thought it wasn't needed any more so removed it. Unfortunately the build is still failing and this should hopefully fix that: https://github.com/GoogleChrome/chrome-types/actions/runs/9392019690/job/25865438994#step:6:13862

The action.openPopup() API is available to policy installed
extensions, OR to any extension as long as a (default enabled)
feature flag is set. We can't render complex unions like this so
instead just prefer the result without the `location` condition.

The result of this is that openPopup() will show as available on
stable without the "Requires policy" badge / TypeScript comment.
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.40%. Comparing base (cd5a8c7) to head (5cdcf00).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   44.31%   44.40%   +0.09%     
==========================================
  Files          21       21              
  Lines        4069     4076       +7     
  Branches      282      284       +2     
==========================================
+ Hits         1803     1810       +7     
  Misses       2266     2266              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oliverdunk oliverdunk merged commit 3636fed into main Jun 6, 2024
6 checks passed
@oliverdunk oliverdunk deleted the openpopup-condition branch June 6, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants