Conversation
…V2 and MV3 - Add `addSandbox`, `appendSandboxes`, and `setSandboxContentSecurityPolicy` methods - Implement builders for sandbox pages and content security policies in MV2 and MV3 - Update tests for manifest sandbox functionality
…gistry support - Split `TransportMessage` into `TransportSender` and `TransportReceiver` - Add `TransportMessage` implementation combining sender and receiver - Introduce `TransportDeclarationLayer.Sandbox` and `sandbox.d.ts` handling - Implement `TransportBuilder` for sandbox transport initialization - Add `destroy` method and cleanup mechanism to `RegisterTransport`
- Move `serializeError` and `restoreError` from `MessageManager` to `error.ts` - Replace inline error handling with shared utility functions across the message layer - Add comprehensive tests for error serialization and restoration logic
…nication support - Add `SandboxMessage`, `SandboxHost`, `SandboxInner`, and `SandboxMemory` classes. - Implement in-memory and iframe-based sandbox communication. - Add `ReadyFrame` utility for iframe readiness handling. - Extend tests to cover sandbox message system, frame initialization, and transport.
…rove style handling
- Add typed CSP configs for view entrypoints and sandbox pages - Merge per-entrypoint CSP options into MV2 and MV3 manifest output - Wire page, popup, sidebar, and offscreen CSP into extension-pages CSP - Keep sandbox CSP generation browser-aware - Cover CSP builders and manifest merge behavior with tests
- Implement `SandboxViewFinder` extending `ViewCspFinder` to handle sandbox CSPs. - Add `sandbox.ts` fixture to define sandbox CSP configurations. - Update `Sandbox` to fetch CSPs using view-based methods. - Adjust manifest to include sandbox CSPs via updated view logic. - Add tests to validate sandbox CSP collection and integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.