Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollback failing isSameOrigin check and use exception handling #392

Merged
merged 2 commits into from
Dec 1, 2020

Conversation

bingenito
Copy link
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
Member Author

@Sly1024 @Brookke

@codecov
Copy link

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
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