Skip to content

Commit 318431a

Browse files
Merge pull request #73 from GoogleChrome/openpopup-condition
Adjust visibility for action.openPopup API
2 parents 31f056a + cd5a8c7 commit 318431a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/override.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ export class RenderOverride extends EmptyRenderOverride {
120120
case 'api:extensionTypes.ExecutionWorld':
121121
case 'api:contentScripts.ContentScript.world':
122122
return !this.#majorVersion || this.#majorVersion >= 111;
123+
case 'api:action.openPopup':
124+
return !this.#majorVersion || this.#majorVersion >= 126;
123125
case 'api:contextMenus.OnClickData':
124126
case 'api:notifications.NotificationBitmap':
125127
case 'api:sidePanel.getPanelBehavior':

0 commit comments

Comments
 (0)