Skip to content

Commit

Permalink
AG-36969 fix allowlist determination for a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
maximtop committed Oct 17, 2024
1 parent e7fd10f commit a3408ce
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/tswebextension/src/lib/mv3/tabs/tabs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@ export class TabsApi {
return;
}

if (frameId === MAIN_FRAME_ID && partialFrameContext.frameRule) {
tabContext.mainFrameRule = partialFrameContext.frameRule;
}

const frameContext = tabContext?.getFrameContext(frameId);

if (!frameContext) {
Expand Down
50 changes: 49 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3408ce

Please sign in to comment.