Closed arcadeteddy closed 2 months ago
Thanks for the contribution! It looks like @tlau88 is an internal user so signing the CLA is not required. However, we need to confirm this.
Thanks, @arcadeteddy! Can you click the button to make the CLA bot happy?
Merge conflict, and the bot needs both a CLA update and a new commit to be happy ^
Superseded by https://github.com/salesforce/lwc/pull/4366
Details
Upgrading babel transform to fix window.top.location.
Does this pull request introduce a breaking change?
😮💨 No, it does not introduce a breaking change.
Does this pull request introduce an observable change?
Yes, window.top.location is now nested.
Before:
(window === globalThis ? top : window.top).location.href
After:
(((window === globalThis ? top : window.top) === globalThis || (window === globalThis ? top : window.top) === document) ? location : (window === globalThis ? top : window.top).location).href
GUS work item
W-15173926