opitzconsulting / uitest.js

uitest.js is able to load a webpage into a frame, instrument that page and the javascript in that page (e.g. add additional scripts at the end of the document, ...) and execute actions on that page.
MIT License
67 stars 8 forks source link

Last fix #5 run into infinite loop in FF #7

Closed heiko-hardt closed 11 years ago

heiko-hardt commented 11 years ago

Hi Tobias, since the last update I run into troubles with firefox (19.0.2).

the following code runs into an infinite loop in FireFox

    it('should return "#/page1.html"', function() {
        uit.url( relPath + "/#/page1.html");
        uit.runs(function(window) {
            expect(window.location.hash).toBe('#/page1.html');
        });
    });

This problem occures only in last version from 2013-03-09. Previous version works fine in FF.

Thanks in advance Heiko

tbosch commented 11 years ago

Hi, this is working now. This was due to the same problem as #8.

Thanks for reporting, Tobias