Skip to content

Conversation

@0xtsukino
Copy link
Collaborator

No description provided.

0xtsukino and others added 30 commits October 28, 2025 03:18
- Add WindowManager for independent multi-window state tracking
- Implement window.tlsn.open(url) client API with validation
- Add OPEN_WINDOW message handler in background script
- Add request interception and overlay updates per window
- Add automatic cleanup of closed windows
- Add URL protocol validation (http/https only)
- Add comprehensive test coverage (72 tests passing)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Add showOverlayWhenReady flag to ManagedWindow for lazy overlay display
- Implement persistent tabs.onUpdated listener to show overlay when tab is ready
- WindowManager.registerWindow no longer shows overlay immediately
- Overlay shown when tab status becomes 'complete' via tabs.onUpdated
- Add backward compatibility handler for TLSN_CONTENT_TO_EXTENSION
- Legacy handler opens x.com window using new WindowManager system
- Update tests to verify showOverlayWhenReady behavior
- All 72 tests passing

This fixes race condition where overlay was shown before content script was ready.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Task 4.2: Integration test HTML page
- Interactive test page with 6 test sections
- Basic window opening with predefined URLs
- Custom URL testing with input field
- Window options testing (dimensions, overlay toggle)
- Multiple windows test (3, 5, 10 windows)
- Error handling tests (invalid URLs, protocols)
- Legacy API backward compatibility test
- Real-time statistics tracking
- Styled UI with instructions and status messages

Task 4.3: Manual testing checklist
- 12 comprehensive test categories
- 50+ individual test cases with pass/fail checkboxes
- Tests cover: basic operations, custom URLs, options, multiple windows,
  request interception, error handling, cleanup, backward compatibility,
  overlay functionality, edge cases, console logs
- Performance observation section
- Sign-off and reporting format
- Acceptance criteria for each test

Task 4.4: Performance testing guidelines
- 8 structured performance test procedures
- Memory usage, CPU usage, and request processing metrics
- Baseline performance targets and thresholds
- Memory leak detection methodology
- High-traffic site testing protocol
- Request tracking overhead measurement
- Cleanup efficiency verification
- Long-running window test (30 minutes)
- Periodic cleanup verification
- Tools and commands reference
- Performance issue detection checklist
- Reporting template

All 72 unit tests passing ✅

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Test flow diagram
- Quick start guide
- File descriptions and usage instructions
- Testing best practices checklist
- Common issues and troubleshooting
- Issue reporting guidelines
- CI/CD future considerations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
…ndMessage from client API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
…date test example

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
heeckhau and others added 30 commits November 7, 2025 20:33
…ndering, and DevConsole UI enhancements"

This reverts commit 730ce17.
+ fixed some warnings in verifier
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.

3 participants