Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Nokia Lumia 800 / WP7.8 IE9 timeout #21

Open
heiko-hardt opened this issue Apr 10, 2013 · 10 comments
Open

Nokia Lumia 800 / WP7.8 IE9 timeout #21

heiko-hardt opened this issue Apr 10, 2013 · 10 comments

Comments

@heiko-hardt
Copy link

Till the commit "29795f594774011eb1ccb08830591406eaff24ef" my Nokia Lumia 800 (Windows Phone 7.8 / IE9) runns into time out (timeout: timed out after 5000 msec waiting for uitest.ready)

One thing i have noticed:
The first error message: BASIC -> encountered a declaration exception -> ReferenceError: 'testutil' is undefined

Would be great if you can take a look at it

Many Thanks in advance
Heiko

@tbosch
Copy link
Contributor

tbosch commented Apr 10, 2013

Hi,
mmh, don't have a Nokia Lumia :-(

Could you paste a testpage and a test using this Plunk: http://plnkr.co/edit/rGCvTXINKVv4B4lqM6gv ?

Would help a lot...

Thanks,
Tobias

@heiko-hardt
Copy link
Author

Sure ... I will take a deeper look this evening, but windows phone is hard to debug :D

@heiko-hardt
Copy link
Author

The problem occurs within your "UiSpecRunner.html".

@heiko-hardt
Copy link
Author

Hi Tobias, testing your Plunk throws the following error at "var uit = uitest.current;"
'uitest' is undefined

@heiko-hardt
Copy link
Author

Btw. I think this isn't a Nokia Problem.
Im quite sure that it is a WP Problem ^^

@heiko-hardt
Copy link
Author

The error 'uitest' is undefined only occurs if the "uitest.js" will be loaded by http(s).
Loading uitest from local source results into the same error as defined ... timeout: timed out after ....

@heiko-hardt
Copy link
Author

Hi Tobias, I have to finish now.
I noticed that my device runs into an infinite loop at "run/ready" method "restart()"
sensorStatus is always: count: 0, busySensors: [ 'load' ]

@heiko-hardt
Copy link
Author

Ok .... last thing : currently I don't find run/config (file:loadSensor)

"uitest.define('run/loadSensor', ['run/ready', 'run/config'], function(readyModule, runConfig) {"

the following function will never be called:

    runConfig.appends.push(function(window, document) {
        window.debug('never called');
        win = window;
        doc = document;
        waitForDocComplete = true;
    });

Maybe tomorrow, I'm tired now.

@tbosch
Copy link
Contributor

tbosch commented Apr 19, 2013

Hi,
haven't forgotten you, but I am doing a major refactoring, by which this issue could solve itself :-)
Should be ready in the next week or so...

Tobias

@heiko-hardt
Copy link
Author

sounds great, thanks for your info.

There are some troubles with this device (nokia). There wouldn't be rendered something into the iframe.
The (manualy) injected callbacks won't work too.

Maybe you can setup a public environment for testing and providing results of tested devices.

Kind regards
Heiko

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants