Skip to content

Conversation

@kevinoid
Copy link
Contributor

@kevinoid kevinoid commented Nov 6, 2019

This PR removes the XDomainRequest global for WSH, which is not documented in
the JScript Reference or WSH Reference and not present on Windows 7 or Windows 10 (the only versions I checked).

It also adds Debug, which is provided by JScript 3 and later (released with IE 4) which WSH uses. I confirmed it is present on Windows 7 and 10.

Thanks for considering,
Kevin

Debug is a global provided by JScript 3 and later (released with IE 4)
which WSH uses.  I confirmed it is present on Windows 7 and 10.

https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/scripting-articles/bs12a9wf(v=vs.84)

Signed-off-by: Kevin Locke <[email protected]>
@sindresorhus sindresorhus changed the title WSH Updates Add a global for wsh Nov 13, 2019
@sindresorhus sindresorhus merged commit 80d04e3 into sindresorhus:master Nov 13, 2019
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.

2 participants