Error Message when running the Standalone Talos with customized profile

View: New views
2 Messages — Rating Filter:   Alert me  

Error Message when running the Standalone Talos with customized profile

by Carsten Book :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

when i run the Standalone Talos with pre-configured extension installed
profiles (by changing the profile path to my pre-configured profile), i
get the following error message.

 >>> Standalone V1.1:
                Started Mon, 22 Sep 2008 21:42:11
Running test tjss:
                Started Mon, 22 Sep 2008 21:42:11
        Screen width/height:1676/865
        colorDepth:32
        Browser inner width/height: 810/684
        Browser outer width/height: 818/825
Completed test tjss:
                Stopped Mon, 22 Sep 2008 21:56:51
Running test twinopen:
                Started Mon, 22 Sep 2008 21:56:51
        Screen width/height:1676/865
        colorDepth:32
        Browser inner width/height: 810/684
        Browser outer width/height: 818/825
Failed twinopen:
                Stopped Mon, 22 Sep 2008 21:57:11
FAIL: Busted: twinopen
FAIL: browser failed to close after being initialized
Standalone V1.1:
                Started Mon, 22 Sep 2008 22:14:04
Running test tjss:
                Started Mon, 22 Sep 2008 22:14:04
        Screen width/height:1676/865
        colorDepth:32
        Browser inner width/height: 810/655
        Browser outer width/height: 818/825
Failed tjss:
                Stopped Mon, 22 Sep 2008 22:14:24
FAIL: Busted: tjss
FAIL: browser failed to close after being initialized

Is is not possible to run the Standalone Talos with pre-configured
Profiles ?

Thanks

Tomcat
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance

Re: Error Message when running the Standalone Talos with customized profile

by alice nodelman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The built in talos profile contains some prefs to allow the browser to
be closed after a test has completed - they have to be in the profile
before first initialization.

If you add the following to your prefs.js things should start working:

// This file is needed to work around a Firefox bug where
capability.principal
// prefs in user.js don't get recognized until the second browser launch
// which is too late for our purposes of using quit.js. Loading the
principals
// from prefs.js avoids this issue.
user_pref("capability.principal.codebase.p0.granted",
"UniversalPreferencesWrite UniversalXPConnect UniversalPreferencesRead");
user_pref("capability.principal.codebase.p0.id", "file://");
user_pref("capability.principal.codebase.p0.subjectName", "");
user_pref("capability.principal.codebase.p1.granted",
"UniversalPreferencesWrite UniversalXPConnect UniversalPreferencesRead");
user_pref("capability.principal.codebase.p1.id", "http://localhost");
user_pref("capability.principal.codebase.p1.subjectName", "");
user_pref("signed.applets.codebase_principal_support", true);

alice.

Carsten Book wrote:

> Hi,
>
> when i run the Standalone Talos with pre-configured extension installed
> profiles (by changing the profile path to my pre-configured profile), i
> get the following error message.
>
>  >>> Standalone V1.1:
>         Started Mon, 22 Sep 2008 21:42:11
> Running test tjss:
>         Started Mon, 22 Sep 2008 21:42:11
>     Screen width/height:1676/865
>     colorDepth:32
>     Browser inner width/height: 810/684
>     Browser outer width/height: 818/825
> Completed test tjss:
>         Stopped Mon, 22 Sep 2008 21:56:51
> Running test twinopen:
>         Started Mon, 22 Sep 2008 21:56:51
>     Screen width/height:1676/865
>     colorDepth:32
>     Browser inner width/height: 810/684
>     Browser outer width/height: 818/825
> Failed twinopen:
>         Stopped Mon, 22 Sep 2008 21:57:11
> FAIL: Busted: twinopen
> FAIL: browser failed to close after being initialized
> Standalone V1.1:
>         Started Mon, 22 Sep 2008 22:14:04
> Running test tjss:
>         Started Mon, 22 Sep 2008 22:14:04
>     Screen width/height:1676/865
>     colorDepth:32
>     Browser inner width/height: 810/655
>     Browser outer width/height: 818/825
> Failed tjss:
>         Stopped Mon, 22 Sep 2008 22:14:24
> FAIL: Busted: tjss
> FAIL: browser failed to close after being initialized
>
> Is is not possible to run the Standalone Talos with pre-configured
> Profiles ?
>
> Thanks
>
> Tomcat
_______________________________________________
dev-performance mailing list
dev-performance@...
https://lists.mozilla.org/listinfo/dev-performance
LightInTheBox - Buy quality products at wholesale price!