Giter Club home page Giter Club logo

Comments (8)

dblooman avatar dblooman commented on July 19, 2024

Use Mono perhaps? http://mono-project.com/Main_Page

We are interesting in using this with Wraith

from triflejs.

nikolawannabe avatar nikolawannabe commented on July 19, 2024

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.

maksimr avatar maksimr commented on July 19, 2024

+1

from triflejs.

nathanboktae avatar nathanboktae commented on July 19, 2024

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.

sdesalas avatar sdesalas commented on July 19, 2024

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.

veacks avatar veacks commented on July 19, 2024

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.

veacks avatar veacks commented on July 19, 2024

Or maybe more easy by using Vagrant http://www.vagrantup.com/blog/feature-preview-vagrant-1-6-windows.html

from triflejs.

sdesalas avatar sdesalas commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.