Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
nsIProcess -- deprecated access to the 'nsIProcess' global
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
gNeandr  
View profile  
 More options Aug 7 2012, 7:30 am
Newsgroups: mozilla.dev.extensions
From: gNeandr <gNea...@gmx.de>
Date: Tue, 07 Aug 2012 13:30:41 +0200
Local: Tues, Aug 7 2012 7:30 am
Subject: nsIProcess -- deprecated access to the 'nsIProcess' global
 From an extension running in FX I need to call TB with special startup
parameters. For that I use

> var go4Process = Components.classes["@mozilla.org/process/util;1"]
>        .createInstance(Components.interfaces.nsIProcess);

> go4Process.run(false, args, args.length);

With the AMO validation report I get:
Warning: Access to the 'nsIProcess' property is deprecated for security
or other reasons.

Is there a need to change that call; what would be the alternative?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Smedberg  
View profile  
 More options Aug 7 2012, 10:02 am
Newsgroups: mozilla.dev.extensions
From: Benjamin Smedberg <benja...@smedbergs.us>
Date: Tue, 07 Aug 2012 10:02:48 -0400
Local: Tues, Aug 7 2012 10:02 am
Subject: Re: nsIProcess -- deprecated access to the 'nsIProcess' global
On 8/7/2012 7:30 AM, gNeandr wrote:

> From an extension running in FX I need to call TB with special startup
> parameters. For that I use

>> var go4Process = Components.classes["@mozilla.org/process/util;1"]
>>        .createInstance(Components.interfaces.nsIProcess);

>> go4Process.run(false, args, args.length);

> With the AMO validation report I get:
> Warning: Access to the 'nsIProcess' property is deprecated for
> security or other reasons.

> Is there a need to change that call; what would be the alternative?

I really don't know what this means. Is there a link to more information
or a bug report from the validation report? nsIProcess is really the
only supported way we have to launch new processes (as far as I know).
Although I strongly recommend using the "w" variants, since that is the
only correct way to pass true unicode arguments.

--BDS


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gNeandr  
View profile  
 More options Aug 7 2012, 10:59 am
Newsgroups: mozilla.dev.extensions
From: gNeandr <gNea...@gmx.de>
Date: Tue, 07 Aug 2012 16:59:53 +0200
Local: Tues, Aug 7 2012 10:59 am
Subject: Re: nsIProcess -- deprecated access to the 'nsIProcess' global
On 07.08.2012 16:02, Benjamin Smedberg wrote:

NO, there isn't any further info/link, this is the only info:
> Illegal or deprecated access to the 'nsIProcess' global

> Warning: Access to the 'nsIProcess' property is deprecated for security or other reasons.

Günter

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zulkarnain K.  
View profile  
 More options Aug 7 2012, 1:26 pm
Newsgroups: mozilla.dev.extensions
From: "Zulkarnain K." <zoolc...@gmail.com>
Date: Wed, 8 Aug 2012 00:26:57 +0700
Local: Tues, Aug 7 2012 1:26 pm
Subject: Re: nsIProcess -- deprecated access to the 'nsIProcess' global
According to an AMO editor at AMO forum

> If your addon needs it for a legitimate reason, like launching an executable,
> then it still allowed. This warning is primarily to notify the editor
> who reviews the add-on to pay attention to the use.

See https://forums.mozilla.org/addons/viewtopic.php?p=13146#p13146

--
Zulkarnain K.
https://profiles.google.com/zoolcar9

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »