Navigation Menu

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

We should consider testing with Windows Scripting Host #13538

Closed
peter-ahe-google opened this issue Sep 24, 2013 · 5 comments
Closed

We should consider testing with Windows Scripting Host #13538

peter-ahe-google opened this issue Sep 24, 2013 · 5 comments
Assignees
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. closed-not-planned Closed as we don't intend to take action on the reported issue P3 A lower priority bug or feature request

Comments

@peter-ahe-google
Copy link
Contributor

Similar to d8 and jsshell it is possible run IE's JavaScript engine from the command line using the programs cscript.exe and wscript.exe.

The only problem is that the default version is an ancient version of JavaScript. This stackoverflow question describes how to use the version from IE9:

http://stackoverflow.com/questions/7167690/what-is-the-progid-or-clsid-for-ie9s-javascript-engine-code-named-chakra

@ricowind
Copy link
Contributor

We did consider this before, but with the new browser controller I don't see a huge win with this.
We are already have full coverage on IE9, and we will be able to repurpose some of the IE9 machines when we get the dart2js compilation service set up on the buildbot.
What would we be trying to accomplish with this? Developers would need to do local registry modifications to enable this.

@peter-ahe-google
Copy link
Contributor Author

This would make it easier to run benchmarks on IE.

When you don't need the DOM using cscript.exe is nice because it is headless. Running Internet Explorer through VNC on a virtual machine in some remote data center is not a great experience.

I'm not actually arguing for adding new buildbots that test Windows Scripting Host, but I think it sometimes might simplify investigating IE test failures if we had a convenient way to run the JavaScript engine from the command line.

It's rather easy to create a file that adds the registry entry, and it can be automated using cscript.

@ricowind
Copy link
Contributor

OK, I misunderstood then, thanks for clarifying.
That sounds like a good idea.

I have been playing around with another solution for this in my head though - I would like to add remote support in the browser controller, i.e., a small server running on my windows machine - it can fire up IE instances that will run against the test.py http servers running on my linux box and ship back the results just like we do now. This can be extended to a multiuser approach, where multiple users can utilize the same windows (or another os) machine for easy testing of in browser stuff, getting back the output easily. This probably does not eliminate the need for windows sessions completely for debugging, but will be more than sufficient most of the times, e.g., I have a fix that I think will make this failure go away on IE -> just run it on directly from your linux/mac command prompt through the testing scripts.

@ricowind
Copy link
Contributor

Set owner to @ricowind.
Removed Priority-Unassigned, Area-Test labels.
Added Priority-Low, Area-Infrastructure labels.

@ricowind
Copy link
Contributor

ricowind commented Jun 2, 2015

Added NotPlanned label.

@peter-ahe-google peter-ahe-google added Type-Defect P3 A lower priority bug or feature request area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. closed-not-planned Closed as we don't intend to take action on the reported issue labels Jun 2, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. closed-not-planned Closed as we don't intend to take action on the reported issue P3 A lower priority bug or feature request
Projects
None yet
Development

No branches or pull requests

2 participants