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

Regression: window.parent is undefined #1489

Closed
6 tasks done
potty opened this issue Jun 14, 2022 · 0 comments
Closed
6 tasks done

Regression: window.parent is undefined #1489

potty opened this issue Jun 14, 2022 · 0 comments

Comments

@potty
Copy link

potty commented Jun 14, 2022

Describe the bug

window.parent was not undefined in Vitest v0.12.6 and below.
It is now undefined in Vitest v0.12.7+.

Reproduction

https://stackblitz.com/edit/vitest-dev-vitest-hrrsok?file=test/basic.test.ts

System Info

System:
    OS: macOS 12.3.1
    CPU: (8) x64 Apple M1
    Memory: 26.05 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.3.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 8.11.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Browsers:
    Chrome: 102.0.5005.61
    Chrome Canary: 105.0.5118.3
    Firefox Developer Edition: 102.0
    Safari: 15.4
  npmPackages:
    vite: ^2.9.12 => 2.9.12 
    vitest: 0.14.2 => 0.14.2

Used Package Manager

pnpm

Validations

@potty potty changed the title Regression: window.parent in undefined Regression: window.parent is undefined Jun 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant