You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: fix origin validation test to actually verify rejection
Replaced the vacuous 'sandbox logs indicate origin validation is active'
test (which had an assertion that always passed: length >= 0) with a
proper test that:
1. Injects a message from the wrong source (page context, not parent)
2. Verifies that PostMessageTransport logs 'Ignoring message from unknown source'
This actually tests that the source validation in PostMessageTransport
is working correctly.
0 commit comments