Can anyone tell me how to use javascript debugger hook in firefox extension(addons-sdk) please.....

2015-07-19 Thread Dnyaneshwar Patil
can you provide addons-sdk code for the same, because I am new for this and 
wants to learn this.  Thanks in advance.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Can anyone tell me how to create firefox extension using code on this link: http://kailaspatil.blogspot.in/2010/12/firefox-extension.html please.....

2015-07-19 Thread Dnyaneshwar Patil
please tell me if you know about this.   eagerly waiting for reply... 
Thanks in advance.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to implement HTMLMediaElement.srcObject partially

2015-07-19 Thread Robert O'Callahan
On Thu, Jul 16, 2015 at 5:09 PM, Jonas Sicking jo...@sicking.cc wrote:

 On Wed, Jul 15, 2015 at 12:42 PM, Jan-Ivar Bruaroey j...@mozilla.com
 wrote:
  This means it will throw TypeError on set of: MediaSource objects, Blob
  objects, and File objects, for now.

 For what it's worth, I think implementing Blob/File support would be
 quite trivial. Just make

 elem.srcObject = blob;

 internally call

 URL.revokeObjectURL(this.mOldObjectURL);
 this.mOldObjectURL = URL.createObjectURL(blob);
 LoadSrc(this.mOldObjectURL);


With this implementation, if you set elem.srcObject = blob and then release
all references to the media element, the media element is GCed and the Blob
is leaked. Avoiding that is exactly why the srcObject API is preferred over
createObjectURL.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Hash table iterators, and a call for help

2015-07-19 Thread Ting-Yu Lin
It might be worth to mention the PLDHashTable::Iterator in the hashtable
guides.

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Hashtables
https://developer.mozilla.org/en-US/docs/Detailed_XPCOM_hashtable_guide

TYLin

On Mon, Jul 13, 2015 at 1:36 PM, Nicholas Nethercote n.netherc...@gmail.com
 wrote:

 Hi,

 Last week I landed patches that remove PL_DHashTableEnumerate() from
 the tree (https://bugzilla.mozilla.org/show_bug.cgi?id=1180072). You
 should now use PLDHashTable::Iterator if you want to iterate over a
 PLDHashTable. The iterator is *so* much nicer -- there's none of that
 bundle up an environment as a |void*| pointer and pass it in with a
 function pointer annoyance.

 I have also added Iterator classes to each of nsTHashtable and
 nsBaseHashtable (https://bugzilla.mozilla.org/show_bug.cgi?id=1181445)
 and I would like to also eventually remove the enumerate functions
 from these classes. However, there are 500+ calls to those enumerate
 functions so it's going to take a while.

 For now, I've filed bugs to get rid of all the
 nsTHashtable::EnumerateEntries() calls, which account for ~160 of
 those 500+. They're all blocking
 https://bugzilla.mozilla.org/show_bug.cgi?id=1181443. If you find
 yourself in the mood for some not-too-taxing refactoring, please feel
 free to take on one or more of the unassigned bugs. The number of
 calls to replace in each bug ranges from one or two up to 21. If you
 have any questions please ask. Thank you.

 Nick
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Hash table iterators, and a call for help

2015-07-19 Thread Nicholas Nethercote
On Sun, Jul 19, 2015 at 8:39 PM, Ting-Yu Lin t...@mozilla.com wrote:
 It might be worth to mention the PLDHashTable::Iterator in the hashtable
 guides.

 https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Hashtables
 https://developer.mozilla.org/en-US/docs/Detailed_XPCOM_hashtable_guide

Thanks for the pointer. I changed the mentions of enumeration to
iteration. I also deleted references to the long-dead JSDHash. I
didn't address the large amount of text duplicated between those two
pages :(

Nick
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: GTK3 linux builds

2015-07-19 Thread Robert O'Callahan
Jeff, does Flash with with GTK3 builds?

Rob
--
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform