Re: Run firefox as headless???

2016-04-07 Thread Devan Shah
slimerjs is not fully headless unless using xvfb, is there anything else that can he used. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Run firefox as headless???

2016-04-07 Thread Devan Shah
Is it possible to run firefox in headless form to fetch url and get the full Dom as rendered. Same way it would render on normal foredox ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Setting property on the element is no longer working on Firefox 45

2016-03-11 Thread Devan Shah
On Thursday, March 10, 2016 at 2:50:10 PM UTC-5, Kris Maglione wrote: > On Thu, Mar 10, 2016 at 10:44:24AM -0800, Devan Shah wrote: > >This happens in side extension only (works fine on web standalone), i will > >try to extract a simple reproducible scenario. > > > >Is

Re: Setting property on the element is no longer working on Firefox 45

2016-03-11 Thread Devan Shah
On Thursday, March 10, 2016 at 2:42:14 PM UTC-5, Ted Mielczarek wrote: > On Thu, Mar 10, 2016, at 01:23 PM, Devan Shah wrote: > > hello > > > > When I set a custom property such as element.listofSomething = [] and > > then build the list and add it back to the same ele

Re: Setting property on the element is no longer working on Firefox 45

2016-03-10 Thread Devan Shah
mal > example of the issue that anyone else could use to reproduce the problem > you're observing? > > Cheers, > Josh > > On 2016-03-10 1:23 PM, Devan Shah wrote: > > hello > > > > When I set a custom property such as element.listofSomething = [

Setting property on the element is no longer working on Firefox 45

2016-03-10 Thread Devan Shah
hello When I set a custom property such as element.listofSomething = [] and then build the list and add it back to the same element. Then this element is passed to a function, now in that function I am no longer to access this property that I added to the function. Was there any sort of chang

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
indowOuter. You can look at > http://mxr.mozilla.org/mozilla-central/source/dom/base/nsPIDOMWindow.h to > see what's there. Some methods on nsIDOMWindow that were unused were > removed completely, though I don't think there were many. > > - Kyle > > On Wed, Feb 10, 2016 at

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
{ > nsCOMPtr window = do_QueryInterface(aDOMWindow); > nsCOMPtr docShell; > if (window) > window->GetDocShell(getter_AddRefs(docShell)); > nsIWebShell* rootWebShell = 0; > NS_IF_RELEASE(rootWebShell); > //return status; > } > > - Kyle > > On We

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
On Wed, Feb 10, 2016 at 5:35 PM, Devan Shah > wrote: > >> In the below code i use aWebProgress to and then GetDOMWindow on that, >> however GetDOMWindow only allows nsIDOMWindow, would the QueryInterface >> accommodate for this for this >> >> NS_

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
, Feb 10, 2016 at 4:49 PM, Devan Shah > wrote: > >> Version 45, I am using the SDK from >> https://ftp.mozilla.org/pub/firefox/releases/45.0b4/win32/en-US/firefox-45.0b4.sdk.zip. >> Which I still see the nsIPromptFactory has >> >> /* void getPrompt (in nsIDOMWi

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
> Yes, SizeToContent is only accessible to JS now. > > - Kyle > > On Wed, Feb 10, 2016 at 5:28 PM, Devan Shah > wrote: > >> yep >> >> This is how I was using nsIDOMWindow before: >> >> NS_IMETHODIMP WebBrowserChrome::OnLocationChange(nsI

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
I am using it from c++ On Wed, Feb 10, 2016 at 7:38 PM, Kyle Huey wrote: > Are you using it from JS or C++? If you're using it from JS, nothing has > changed. > > - Kyle > > On Wed, Feb 10, 2016 at 4:32 PM, Devan Shah > wrote: > >> Hello >> >&

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
Currently I just want to get it up and running again on FF 45 again, with out making too much changes because we plan to deprecate this feature mid this year or so. Just need to get it working on Firefox 45, currently works perfectly on Firefox 38. ___ d

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
I was using the xulrunner SDK, but that is no longer created any more so using the firefox SDK. I am using it to create a plugin which can be used to launch a web browser which communicates with a proxy server which can be used to capture all the http traffic. _

Re: nsIDOMWindow is deprecated now is there an alternative?

2016-02-11 Thread Devan Shah
Interface between nsIDOMWindow and nsPIDOMWindow when > you have one and need the other and you should be fine. > > - Kyle > > On Wed, Feb 10, 2016 at 5:15 PM, Devan Shah > wrote: > >> Currently I just want to get it up and running again on FF 45 again, with >> out making

nsIDOMWindow is deprecated now is there an alternative?

2016-02-10 Thread Devan Shah
locally. Thanks Devan Shah ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: XULRunner future and ownership

2016-02-10 Thread Devan Shah
On Wednesday, February 10, 2016 at 11:48:24 AM UTC-5, Dave Townsend wrote: > On Wed, Feb 10, 2016 at 8:39 AM, Devan Shah wrote: > > On Wednesday, February 10, 2016 at 10:43:44 AM UTC-5, Dave Townsend wrote: > >> I'm not sure why that page links to the nightly builds but th

Re: XULRunner future and ownership

2016-02-10 Thread Devan Shah
the latest SDK is for > one of the beta versions. > > On Wed, Feb 10, 2016 at 7:21 AM, Devan Shah wrote: > > On Wednesday, July 29, 2015 at 2:30:54 PM UTC-4, Benjamin Smedberg wrote: > >> The Mozilla project no longer sees XULRunner as a priority project. It's > >&

Re: XULRunner future and ownership

2016-02-10 Thread Devan Shah
ints to: XULRunner SDKs can now be downloaded from https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ Theses are the nightly builds, but where can I get the release version for Firefox 45. Also does the SDK change from Firefox 45 to Firefox 45 ESR. Thanks Devan Shah