Where's the source code for the API's located?

Hi esteemed fellows of the Mozilla community, 

Just a quick question - does anyone know where source code implementing the FireFox OS API's are located? 

( I.e. the ones listed here - https://developer.mozilla.org/en-US/docs/WebAPI ) 

I'm trying to modify some of their behaviours but somehow can't find where they are hiding in the B2G source tree. 

Any help is much appreciated! =) 

Thanks and cheers, 

Hugh 
0
Hugh
9/17/2013 2:24:56 AM
mozilla.dev.b2g 4036 articles. 0 followers. Post Follow

4 Replies
1095 Views

Similar Articles

[PageSpeed] 18

On 09/16/2013 10:24 PM, Hugh Tay wrote:
> Hi esteemed fellows of the Mozilla community,
>
> Just a quick question - does anyone know where source code implementing the FireFox OS API's are located?
>
> ( I.e. the ones listed here - https://developer.mozilla.org/en-US/docs/WebAPI )
>
> I'm trying to modify some of their behaviours but somehow can't find where they are hiding in the B2G source tree.
>
> Any help is much appreciated! =)
>
> Thanks and cheers,
>
> Hugh
>

Asking about particular APIs will yield more concrete answers. However, 
there are many under gecko/dom.

Cheers,
Josh
0
Josh
9/17/2013 2:39:01 AM
Hi all, 

To be specific, the particular API that I'm hunting is for installing Apps. 

For example, check out - https://bugzilla.mozilla.org/show_bug.cgi?id=745928 

Thanks once again, & cheers! 

Hugh 
0
Hugh
9/17/2013 3:44:15 AM
On 09/16/2013 08:44 PM, Hugh Tay wrote:
> Hi all, 
> 
> To be specific, the particular API that I'm hunting is for installing Apps. 
> 
> For example, check out - https://bugzilla.mozilla.org/show_bug.cgi?id=745928 

The relevant code is in Webapps.js and Webapps.jsm in the dom/apps/src
directory.

	Fabrice
-- 
Fabrice Desr�
b2g team
Mozilla Corporation
0
Fabrice
9/17/2013 3:46:13 AM
Alrighty, you guys are awesome! (Y) 

Thanks! 
0
Hugh
9/17/2013 3:59:24 AM
Reply:

Similar Artilces:

The value's length for key 'data source' exceeds it's limit of '128'.
Hii, When I tried to bind dropdownlist to database by declaring connection string in the code behind file I am getting this error: The value's length for key 'data source' exceeds it's limit of '128'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: The value's length for key 'data source' exceeds it's limit of '128'.Source Error: An...

Where are "b2g-bin" and Gaia's profile located in Pandaboard's B2G build?
Hi fellow citizens of the free software world, For the B2G desktop build, we can pass arguments to "b2g-bin" to run B2G with a specific resolution or to run specific apps. However I can't find either "b2g-bin" or the Gaia profile directory on the Pandaboard's B2G build. What can we do to get access to "b2G-bin" on the Pandaboard? Or is there any alternative way of passing arguments to B2G? Many thanks for reading, and much appreciated in advance for replying, Hugh ...

Replace 1's and 0's in a gridview column with Yes's and No's
Is it possible to change the display of a column in a gridview to show a Yes for all 1's and a No for 0's that display in a particular column of a gridview bound to a database?  If so, can someone share the way with me?  I am using ASP.NET 2.0 with VB Code Behind.  Thanks One way you can do is thrrough  CASE in your select statement: Select YesNoColumn= CASE yourColumn WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END FROM YourtableLimno <Columns>     <asp:TemplateField HeaderText="yourHeader" SortExpression="yourDataField"> ...

It's Linux !? No, it's BSD ! No, no, it's...
kFreeBSD http://wiki.debian.org/Debian_GNU/kFreeBSD a Debian distro using the FreeBSD kernel ! ObiWan wrote: > kFreeBSD > > http://wiki.debian.org/Debian_GNU/kFreeBSD > > a Debian distro using the FreeBSD kernel ! Why use a BSD kernel? I hope the reason is more than, just because they can. http://wiki.debian.org/Debian_GNU/kFreeBSD_why It's easy to understand why the would want to use Debian packages. :) -- Jimmy Johnson Registered Linux User #380263 >> kFreeBSD >> >> http://wiki.debian.org/Debian_GNU/kFreeBSD >> ...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

Hyperlink's, ImageURL's, and OnError's
I created an ASP:Hyperlink and set the ImageURL attribute so the link will be the image.If the image is missing, I would like it to display a 'missing image' pic that I have.  I know you can use the OnError attribute of the <img> tag to run some javascript to change it.Unfortunately I can't find a way to access the Hyperlink's Image that is inside it, so I can add an Attribute so the resulting <img> tag will have an OnError attribute inside of it.Any help?If my Hyperlink is called 'foo'....would I do...  ((Image) foo.Controls[0]).Attributes.Add(&...

Standardization of Device API's and Web API's
In the current development phase of B2G, the device API's and Web API's are not as per the standardized API's under consideration by the W3C. I would like to know, in the future plan of B2G development, will there be a standardization of the API's with respect to W3C standards release. ...

API's and dll's
Could anyone please shortly explain to me how API's and Dll's are used in ASP.NET I need to be able to access Windows API's to list all SQL servers on our network. If I want to use a dll to call and return this, do I have to write it in .NET, or will my old VB6 dll be good enough if I add it from the COM tab ? Can ASP.NEt talk to the Windows API's? If so, is is called from the client machine or the server - or can it call it from both ? Thanks. Graham I think, accessing Windows API directly is not possible. But there is a great solution: Write a COM-object in VB6 that...

Coding Music... What's your's?
Mine is Mean Hip Hop (obie trice, Tupac, Eminem, DMX) or Progressive Trance. For some reason, when I listen to these types of music, I code better. What do you guys listen to?Kay LeeMySpace.com - http://www.myspace.com/kragieInfrastructure GroupMySpace.com- Code to live, but Live to code. Sousa Marches - favorite is United States Marine Band Their trying to get me my own office :)Get ready to blast your energy levels into high gear with Sedgewick Energy Drink. High powered adaptogenic herbs mixed with potent levels of B-vitamins and...Please disregard the contents of this post. Ch...

Who's show is SN? Steve's or Leo's?
I don't want to start anything (honestly)! Just want to ask a simple question. Does the Security Now podcast belong to Steve Gibson or Leo Laporte? Maybe I'm in a world all to myself, but when I listen to the excellent SN podcasts, I want to hear STEVE, not Leo. But especially in the past few shows, it seems Leo will repeatedly interrupt Steve in the middle of a sentence that I want to hear the rest of. I consider this very rude of Leo. Steve is making a point that I (we) want to hear, then looses his train of thought after Leo barges in and asks something. It...

Guru's..?? Any do's and/or dont's for Zfd4 and Citrix..?
We've got a nw6/sp5 network with GW 6.5, bm3.7 and zfd 4.01 up'n'running.. Now we're adding a citrix server ( win2003) to the mix, will supply a couple off app's to users over the internal VPN in another city. Probably we'll skip the AD phase since we can not see any app and/or user with the need for AD. So,, any special considorations..? tip's'tricks..? known issues...? t.i.a... On Mon, 16 Aug 2004 15:57:10 GMT, Emerson wrote: > So,, any special considorations..? tip's'tricks..? known issues...? biggest one... zfd4.x d...

DataSet's DataTable's and TableAdapter's Oh My!
Here is my situation.  I am using VB as my programming language.I am creating a part of a website that will be the admin section.  I want the admin to be able to add/edit data in a set of tables that normal users can't.  There are 20 lookup tables that I use in the website that I want the admin to be able to manage (i.e. add, edit, delete, insert).  I don't want to create 20 separate web pages (one for each table).  I have one page that has links to all the tables.  Each link has a "table" querystring variable associated with it.  When the...

411 it's pconsole, 51 it's NWPMW32, 65 it's ???
I like to give some of my users controll over their print jobs. In Netware 3.x to 4.x it was pconsole. In Netware 5.x it was NWPMW32. I don't seem to be able to find the same type of utility for Netware 6.5? We don't like to give user access to nwadmin and the NWPMW32 I copied from my 51 server (TID 10075273) to the 65 server won't display the jobs. Mmccabe, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might try o...

Repost: FF won't show gif's nor jpg's Red X's
XP sp2 FF 2.0.0.4 extentions: Adblock Plus Copy plain text Fasterfox Firebug FireFTP McAfee SiteAdvisor NoScript Talkback Video Downloader Pic's show red x's. These pics show just fine in Internet Explorer and Netscape. Anyone have any ideas????? Fasterfox, I guess. See what happens if you disable it (or just disable its pipelining feature). -- �Q� =============== Thank you Q. I disabled all of them, one at a time (restarting each time) and the problem still exists :-( digimomma On 7/12/2007 5:26 PM digimom inquired: > Thank y...