From 0c7a73e716a7547e58d60521ed28b612924f73fb Mon Sep 17 00:00:00 2001 From: Steve Faulkner <471400+southpolesteve@users.noreply.github.com> Date: Tue, 29 Sep 2020 17:46:54 -0500 Subject: [PATCH] xxxRevert "More test cases" This reverts commit b2c24fab4f2a7ad5ef00a345ee25b2a1f6226e18. --- src/Utils/MessageValidation.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Utils/MessageValidation.test.ts b/src/Utils/MessageValidation.test.ts index b55473fa9..bc205241f 100644 --- a/src/Utils/MessageValidation.test.ts +++ b/src/Utils/MessageValidation.test.ts @@ -16,8 +16,6 @@ test.each` ${"https://main.documentdb.ext.microsoftazure.de"} | ${false} ${"https://random.domain"} | ${true} ${"https://malicious.cloudapp.azure.com"} | ${true} - ${"https://maliciousazure.com"} | ${true} - ${"https://maliciousportalsazure.com"} | ${true} `("returns $expected when called with $domain", ({ domain, expected }) => { expect(isInvalidParentFrameOrigin({ origin: domain } as MessageEvent)).toBe(expected); });