Comments (8)
Use Mono perhaps? http://mono-project.com/Main_Page
We are interesting in using this with Wraith
from triflejs.
This would be awesome, as it would make testing for regressions in IE so much easier. I'm guessing it is highly unlikely though since it requires IE to be installed.
From the readme:
It supports different version of IE interchangeably depending on the current version installed
(IE9 can emulate IE7, IE8 or IE9 but not IE10).
from triflejs.
+1
from triflejs.
IE is surgically intertwined with Windows. Wine has tried but failed (all ratings are garbage). Beyond that, you'd need to have the COM interop between the WebOC and .NET WebBrowserControl working... it's not possible, and if it was, it won't be worth it.
from triflejs.
I'm afraid @nathanboktae nathanboktae is right here. TrifleJS just uses the version of IE embedded in the Windows OS via COM interaction.
Even the Mono Project which provides .NET support on linux/OSX does not use IE for its WebBrowser control, shifting the functionality to a Mozilla/Webkit browser instead:
http://www.mono-project.com/WebBrowser
from triflejs.
Maybe the best solution is to automatise the process (with grunt for example) and virtualbox.
If we've got one virtualbox for each IE / Windows Version (get on modern.ie) we can make a global task to :
[HOST] - Lunch the VM as headless (VBoxHeadless --startvm "io" --vrde off &)
[VM] Lunch startup task with the task :
- Update the testsuite on VM from the repository
- Run the test suite with (trifle.js)
- Save test result to the host shared folder labelled by project name, date, system version and IE version
- Close the virtualbox
[HOST] Check if the vm is runing (VBoxManage list runningvms) :
- If yes : recheck in 5 minutes
- If not : run the next VM
Like that you don't use the compatibility mode of IE wich can have several difference with the native IE for CSS rendering and also for Javascript compiling (IE11 wich do not understand anymore the conditional comments is the best example).
Maybe take several time to do it, but you can run the tests before leaving the office and get the result the following morning.
It can take a while to configure for the first VM but you can keep the same script for all your VMs after this one.
from triflejs.
Or maybe more easy by using Vagrant http://www.vagrantup.com/blog/feature-preview-vagrant-1-6-windows.html
from triflejs.
Hi @veacks, thanks for suggestion. Haven't used Vagrant but sounds like a good complement for automating multiple concurrent instances of triflejs. Other project on my radar is Docker, which is bringing guest containers to Windows soon.
from triflejs.
Related Issues (20)
- window.setTimeout never triggers after 3s HOT 1
- Avoid Window popup HOT 2
- Window SetTimeout / SetInterval don't work when building from source HOT 2
- WebPage.onInitialized is not called when set HOT 7
- TriffleJS --render fails on http://livedoor.com/ HOT 11
- window.callPhantom and unhandled error logging are not available until onload event fires. HOT 6
- window.callPhantom doesn't trigger page.onCallback after page.load HOT 8
- page.onCallback() does not handle dates HOT 1
- Can trifleJS use Chakra instead of V8? HOT 3
- clipRect can not work well HOT 2
- Question: Any plans to make this work outside of windows? HOT 1
- System args not populating
- Render pages supplied as text
- TrifleJs in Windows Server
- Crash: Vector smash protection is enabled. HOT 1
- System.IO.FileNotFoundException HOT 1
- webpage method
- uriString can not be null exception when emulating
- trifleJS shut down & builds error :Please install Windows SDK 2010. HOT 1
- About command mode high concurrency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from triflejs.