Skip to content

Rollback failing isSameOrigin check and use exception handling#392

Merged
bingenito merged 2 commits intomorganstanley:masterfrom
bingenito:ISSUE-383
Dec 1, 2020
Merged

Rollback failing isSameOrigin check and use exception handling#392
bingenito merged 2 commits intomorganstanley:masterfrom
bingenito:ISSUE-383

Conversation

@bingenito
Copy link
Copy Markdown
Member

Fixes #383

With window loading being async isSameOrigin was usually false negative. Removed in favor of traditional exception handling for cases where developer is opening/creating windows cross origin and can not be tracked.

@bingenito bingenito requested a review from a team December 1, 2020 16:54
@bingenito
Copy link
Copy Markdown
Member Author

@Sly1024 @Brookke

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 1, 2020

Codecov Report

Merging #392 (5b07fd6) into master (f987ce9) will decrease coverage by 0.19%.
The diff coverage is 72.22%.

@@            Coverage Diff             @@
##           master     #392      +/-   ##
==========================================
- Coverage   93.40%   93.21%   -0.20%     
==========================================
  Files          16       16              
  Lines        1562     1562              
  Branches      268      266       -2     
==========================================
- Hits         1459     1456       -3     
- Misses        103      106       +3     
Impacted Files Coverage Δ
packages/desktopjs/src/Default/default.ts 93.20% <72.22%> (-1.21%) ⬇️

Sly1024
Sly1024 previously approved these changes Dec 1, 2020
Copy link
Copy Markdown
Contributor

@Sly1024 Sly1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@bingenito bingenito merged commit 78eda80 into morganstanley:master Dec 1, 2020
@bingenito bingenito deleted the ISSUE-383 branch May 28, 2021 13:36
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.

isSameOrigin seems to always return false

2 participants