Skip to content

Fix deps#212

Open
IvanKiral wants to merge 2 commits into
masterfrom
fix_deps
Open

Fix deps#212
IvanKiral wants to merge 2 commits into
masterfrom
fix_deps

Conversation

@IvanKiral

Copy link
Copy Markdown
Contributor

Motivation

Which issue does this fix? Fixes #issue number

If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test

If manual testing is required, what are the steps?

IvanKiral added 2 commits May 21, 2026 14:47
Replace the getPopoverHtml string template and innerHTML assignment with
DOM construction (createElement/setAttribute/toggleAttribute), removing
the innerHTML sink in KSLAddButtonElement.

Also validate the add button permissions response received over
postMessage before use. The payload crosses a trust boundary with no
enforced origin, so parseAddButtonPermissionsResponse now rejects any
unexpected shape instead of trusting its declared type at runtime.
@IvanKiral IvanKiral requested a review from a team as a code owner May 21, 2026 13:08
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.

1 participant