Skip to content

Conversation

@ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Apr 3, 2020

Fixes #187


review?(@TimothyGu)

@ExE-Boss ExE-Boss changed the title Implement support for [LegacyWindowAlias] Implement support for [LegacyWindowAlias] and [NoInterfaceObject] Apr 3, 2020
@ExE-Boss ExE-Boss changed the title Implement support for [LegacyWindowAlias] and [NoInterfaceObject] Implement support for [LegacyWindowAlias] and [NoInterfaceObject] Apr 3, 2020
Copy link
Member

@TimothyGu TimothyGu left a comment

Choose a reason for hiding this comment

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

It seems to make sense to implement [Exposed] in this PR too, as it seems odd that the globalName is only used for [LegacyWindowAlias]. But up to you.

@ExE-Boss
Copy link
Contributor Author

ExE-Boss commented Apr 4, 2020

[Exposed] is being implemented in #190.

@TimothyGu TimothyGu merged commit 5af205c into jsdom:master Apr 4, 2020
@TimothyGu TimothyGu deleted the feat/legacy-window-alias branch April 4, 2020 14:01

this.str += `
exports.install = function install(globalObject) {
exports.install = (globalObject, globalName) => {
Copy link
Contributor Author

@ExE-Boss ExE-Boss Apr 4, 2020

Choose a reason for hiding this comment

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

After re‑reading the spec for [Global] and [Exposed], I realised that this needs globalNames instead of globalName.

I’m fixing that in #190.

domenic added a commit that referenced this pull request Apr 19, 2020
This reverts the breaking changes introduced in #191, since it was accidentally released as a minor version in v15.2.0, while keeping the functionality.
domenic added a commit that referenced this pull request Apr 20, 2020
This reverts the breaking changes introduced in #191, since it was accidentally released as a minor version in v15.2.0, while keeping the functionality.
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.

[LegacyWindowAlias]

2 participants