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

alice nodelman <[email protected]> Thu, 25 Sep 2008 15:33:38 -0700
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
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