Index

Found 3726 pages:

# Page Tags and summary
1 Archive of obsolete content Archive, Landing
Here at MDN, we try to avoid outright deleting content that might be useful to people targeting legacy platforms, operating systems, and browsers. Perhaps your target audience is people that are using older hardware, for example, and can't upgrade to the latest and greatest browsers. Or for "reasons," your company is required to use very old software and you need to build Web content that runs on that software. Or perhaps you're just curious about the history of an obsolete feature or API, and how it worked.
2 .htaccess ( hypertext access ) 301 redirect, Cache control, Custom Error pages, HTACCESS, Permanent Redirect, Redirect
File Accessing : htaccess files can be opened using any text editor, like Windows Notepad, Vin, Sublime text editor or any other. Syntax highliting support for .htaccess files less.
3 2015 MDN Fellowship Program 2015, Archive, fellowship
No summary!
4 API API, Archive
Archived documentation about obsolete web standards APIs.
5 Navigator API, Navigator
Features that used to hang off the Navigator interface, but have since been removed.
6 Navigator.mozNotification API, Deprecated, Mobile, Non-standard, Property, Reference
Provides support for creating notification objects, which are used to display desktop notification alerts to the user. Currently, these are only supported on Firefox Mobile and Firefox OS. See Displaying notifications for an example.
7 Window: deviceproximity event Sensors, events
The deviceproximity event is fired when fresh data is available from a proximity sensor.
8 Window: userproximity event Sensors, events
No summary!
9 Add-ons Add-ons, Archive, Extensions
Archived add-ons documentation.
10 Add-on SDK Add-on SDK, Jetpack
No summary!
11 Builder
No summary!
12 Guides Add-on SDK
No summary!
13 Content Scripts Add-on SDK
Many add-ons need to access and modify the content of web pages. But the main add-on code doesn't get direct access to web content. Instead, SDK add-ons need to factor the code that gets access to web content into separate scripts that are called content scripts. This page describes how to develop and implement content scripts.
14 Communicating With Other Scripts
No summary!
15 Communicating using "port"
To enable add-on scripts and content scripts to communicate with each other, each end of the conversation has access to a port object.
16 Communicating using "postMessage" Add-on SDK
No summary!
17 Cross-domain Content Scripts Add-on SDK, Add-ons, Extensions
No summary!
18 Interacting with page scripts Add-on SDK, Add-ons, Extensions
By default, content scripts loaded by add-ons and scripts loaded by web pages are insulated from each other:
19 Loading Content Scripts
No summary!
20 Reddit Example Advanced, CodingScripting, JavaScript, Mobile
No summary!
21 port
No summary!
22 self
This article documents the self object that is available as a global in content scripts. self provides:
23 Contributor's Guide
No summary!
24 Classes and Inheritance Add-on SDK
No summary!
25 Content Processes Add-on SDK
No summary!
26 Getting Started Add-on SDK
Learn how to contribute to the Add-on SDK.
27 Modules Add-ons, Extensions
A module is a self-contained unit of code, which is usually stored in a file, and has a well defined interface. The use of modules greatly improves the maintainability of code, by splitting it up into independent components, and enforcing logical boundaries between them. Unfortunately, JavaScript does not yet have native support for modules: it has to rely on the host application to provide it with functionality such as loading subscripts, and exporting/ importing names. We will show how to do each of these things using the built-in Components object provided by Xulrunner application such as Firefox and Thunderbird.
28 Private Properties
People have come up with several ways to emulate private properties using existing language features. This article discusses two common techniques: one using prefixes, the other closures.
29 Firefox Compatibility Add-on SDK
No summary!
30 Module structure of the SDK Add-on SDK
No summary!
31 Multiprocess Firefox and the SDK Firefox OS, Guide, SDK
No summary!
32 Porting the Library Detector Add-on SDK, Add-ons, Example, Extensions, Sample code, Tutorial
No summary!
33 Program ID
No summary!
34 SDK API Lifecycle
No summary!
35 SDK and XUL Comparison
No summary!
36 Testing the Add-on SDK Add-on SDK, CFX, JPM, SDK
No summary!
37 Two Types of Scripts
No summary!
38 Working with Events
No summary!
39 XUL Migration Guide
No summary!
40 High-Level APIs Add-on SDK
No summary!
41 addon-page Add-on SDK, Add-ons, Extensions, Obsolete, Reference
Create a page that does not contain navigational elements.
42 base64 Add-on SDK
No summary!
43 clipboard Add-on SDK
Interact with the system clipboard, setting and getting its contents.
44 context-menu Add-on SDK, Add-ons, Extensions, Firefox, SDK
Adds items, submenus, and menu separators to the page's context menu.
45 hotkeys Add-on SDK
Assign hotkey combinations to functions in your add-on.
46 indexed-db Add-on SDK
Exposes the IndexedDB API to add-ons.
47 l10n Add-on SDK
Localize strings appearing in the add-on's JavaScript code.
48 notifications Add-on SDK, Notifications
Display transient, toaster-style desktop messages to the user.
49 page-mod Add-on SDK
Run scripts in the context of web pages whose URL matches a given pattern.
50 page-worker Add-on SDK
Create a permanent, invisible page and access its DOM.
51 panel Add-on SDK, Add-ons, Extensions
Creates transient dialogs to implement part of an add-on's user interface.
52 passwords Add-on SDK
Interact with Firefox's Password Manager to add, retrieve and remove stored credentials.
53 private-browsing Add-on SDK
Check whether a given object is private, so an add-on can respect private browsing
54 querystring Add-on SDK
Utility functions for working with query strings.
55 request NeedsUpdate, SDK, add-on
Make simple network requests.
56 selection Add-on SDK
Get and set text and HTML selections in the current web page.
57 self Add-on SDK
Access data that is bundled with the add-on, and add-on metadata.
58 simple-prefs Add-on SDK
Store preferences across application restarts.
59 simple-storage Add-on SDK, Add-ons, Reference
Lets an add-on store data so that it's retained across Firefox restarts.
60 system Add-on SDK
Query the add-on's environment and access arguments passed to it.
61 tabs Add-on SDK
Open, manipulate, and access tabs, and receive tab events.
62 timers Add-on SDK
Set one-off and periodic timers.
63 ui Add-on SDK, Add-ons, Extensions, Reference
Provides access to button, toolbar, and sidebar UI objects.
64 url Add-on SDK
Construct, validate, and parse URLs.
65 webextension
Provides functions for communicating with an embedded WebExtension.
66 widget Add-on SDK
Create a simple user interface for an add-on in Firefox's add-on bar.
67 windows Add-on SDK
Enumerate and examine open browser windows, open new windows, and listen for window events.
68 Low-Level APIs
No summary!
69 /loader
Create CommonJS module loaders.
70 chrome
The chrome module gives an Add-on SDK add-on access to the Components object, which in turn gives it access to a large set of privileged low-level Firefox APIs.
71 console/plain-text
Constructor for a console instance.
72 console/traceback
Functionality similar to Python's traceback module.
73 content/content
Re-exports three objects from three other modules: Loader, Worker, and Symbiont.
74 content/loader
Provides one of the building blocks for those modules that use content scripts to interact with web content, such as panel and page-mod.
75 content/mod
Provides functions to modify a page content.
76 content/symbiont
Used by SDK modules that can load web content and attach content scripts to it.
77 content/worker
Used in the internal implementation of SDK modules which use content scripts to interact with web content.
78 core/heritage
Helper functions for inheritance.
79 core/namespace
Provides an API for creating namespaces for objects, which effectively may be used for creating fields that are not part of objects public API.
80 core/promise
Implementation of promises to make asynchronous programming easier.
81 dev/panel
Enables you to extend the Firefox Developer Tools.
82 event/core
The event/core module allows the creation of APIs to broadcast and subscribe to events.
83 event/target
Create objects that broadcast events.
84 frame/hidden-frame
Creates Firefox frames (i.e. XUL <iframe> elements) that are not displayed to the user.
85 frame/utils
Provides helper functions for working with platform internals like frames and browsers.
86 fs/path
Provides access to the local filesystem with the NodeJS path module API.
87 io/byte-streams
Provides streams for reading and writing bytes.
88 io/file
Provides access to the local filesystem.
89 io/text-streams
Provides streams for reading and writing text.
90 lang/functional
Functional helper methods.
91 lang/type
Functions for working with type detection.
92 loader/cuddlefish Add-on SDK, CFX
The SDK's module loader.
93 loader/sandbox
Create JavaScript sandboxes and execute scripts in them.
94 net/url
No summary!
95 net/xhr
Provides access to XMLHttpRequest functionality.
96 places/bookmarks
Create, modify, and retrieve bookmarks.
97 places/favicon
Helper functions for working with favicons.
98 places/history
Access the user's browsing history.
99 platform/xpcom
Implement XPCOM objects, factories, and services.
100 preferences/event-target Add-on SDK
Listen to changes to the Preferences system in Firefox.
101 preferences/service Add-on SDK, Jetpack, SDK
Access the Preferences system in Firefox.
102 remote/child Module, Reference, SDK
Enables an SDK module loaded into a child process to access web content in the child process and communicate with modules in the main process.
103 remote/parent Reference, SDK
Enables you to load modules, and privileged parts of your add-on in general, into child processes.
104 stylesheet/style
Modify styles using stylesheet files or CSS rules.
105 stylesheet/utils
Helper functions for working with stylesheets.
106 system/child_process
An implementation of the node.js child_process API.
107 system/environment
Access, set and clear environment variables.
108 system/events
API for working with the application observer service.
109 system/runtime
Access to information about Firefox's runtime environment.
110 system/unload
Register callbacks that are called when a module is unloaded.
111 system/xul-app
Information about the application on which your add-on is running.
112 tabs/utils
Functions for working with XUL tabs and the XUL tabbrowser object.
113 test/assert Add-on SDK, JPM
Implements the assert interface defined in the CommonJS Unit Testing specification version 1.1.
114 test/harness
Test harness setup and execution.
115 test/httpd
An HTTP server for the Mozilla platform, which can be used in unit tests.
116 test/runner
Sets up unit tests.
117 test/utils
Helper methods used in the CommonJS Unit Testing suite.
118 ui/button/action
Add a button to the Firefox user interface.
119 ui/button/toggle
Add a toggle button to the Firefox user interface.
120 ui/frame
Create HTML iframes, using bundled HTML, CSS and JavaScript, that can be added to a designated area of the Firefox user interface.
121 ui/id
Create UI component IDs.
122 ui/sidebar
Enables you to create sidebars.
123 ui/toolbar
Add a toolbar to the Firefox user interface.
124 util/array
Helper functions for working with arrays.
125 util/collection
A simple list-like class and utilities for using it.
126 util/deprecate
Functions to deprecate code.
127 util/list
Building blocks for composing lists.
128 util/match-pattern
Test strings containing URLs against simple patterns.
129 util/object
Functions for working with objects.
130 util/uuid
Generate or parse UUIDs.
131 window/utils
Functions for working with browser windows.
132 Release notes Add-on SDK
No summary!
133 Tools Add-on SDK, CFX, JPM
No summary!
134 cfx Add-on SDK, CFX
Enables you to test, run, and package add-ons. cfx is is no longer supported as of Firefox 44 and no longer accepted for add-on submission, jpm should now be used instead.
135 cfx to jpm CFX, JPM, SDK, add-on
A guide to working with jpm if you're already familiar with cfx.
136 console Add-on SDK
Enables your add-on to log error, warning or informational messages.
137 jpm Add-on SDK, JPM
jpm is a command-line tool that enables you to test, run, and package add-ons.
138 jpm-mobile ADB, Add-ons, JPM, Mobile, Testing, travis-ci
The Node-based replacement for cfx --force-mobile. Enables you to run and test add-ons for Firefox Mobile (aka Fennec).
139 jpmignore JPM
No summary!
140 package.json CommonJS, JPM, SDK, add-on, package.json
The package.json file contains manifest data for your add-on, providing not only descriptive information about the add-on for presentation in the Add-ons Manager, but other metadata required of add-ons.
141 Tutorials Add-on SDK
No summary!
142 Add a Context Menu Item Add-on SDK, Firefox, Guide
No summary!
143 Add a Menu Item to Firefox Add-on SDK
No summary!
144 Adding a Button to the Toolbar Add-on SDK
No summary!
145 Annotator Add-on SDK
No summary!
146 Creating annotations Add-on SDK, Add-ons, Beginner, Extensions, Tutorial
No summary!
147 Displaying annotations Add-on SDK
No summary!
148 Implementing the widget Add-on SDK, Add-ons, Beginner, Extensions, Tutorial
No summary!
149 Overview Add-on SDK
No summary!
150 Storing annotations Add-on SDK
No summary!
151 Chrome Authority
No summary!
152 Creating Event Targets
No summary!
153 Creating Reusable Modules Add-on SDK
No summary!
154 Developing for Firefox Mobile Add-on SDK
No summary!
155 Display a Popup Add-on SDK
No summary!
156 Getting Started (jpm) Add-on SDK, JPM
In this tutorial we've built and packaged an add-on using three commands:
157 Getting started (cfx)
In this tutorial we've built and packaged an add-on using three commands:
158 List Open Tabs Add-on SDK
No summary!
159 Listen for Page Load Add-on SDK
No summary!
160 Listening for Load and Unload
No summary!
161 Localization Add-on SDK, Localization
No summary!
162 Logging Add-on SDK
No summary!
163 Modifying Web Pages Based on URL Add-on SDK
No summary!
164 Modifying the Page Hosted by a Tab Add-on SDK
No summary!
165 Open a Web Page Add-on SDK
No summary!
166 Troubleshooting
No summary!
167 Unit Testing Add-on SDK, JPM
No summary!
168 Using XPCOM without chrome Bookmarks, Chrome, SDK, XPCOM
No summary!
169 Using third-party modules (jpm) Addon-SDK, JPM
First, while in the root of your add-on, install the package that contains the modules you want to use:
170 Bootstrapped extensions Add-ons, Extensions, Firefox 4, Gecko 2.0, Guide, Localization
No summary!
171 Code snippets Add-ons, Code snippets, Extensions
No summary!
172 Alerts and Notifications Code snippets
non-modal notification and further interaction with users
173 Autocomplete Code snippets, Form Fill, Satchel
No summary!
174 Bookmarks Code snippets, Developing Mozilla, Extensions, Places
No summary!
175 Boxes Code snippets
Make the BOX style="display: block" and the wrapping behavior will occur when the box is resized:
176 Canvas code snippets Canvas, Code snippets, Graphics
No summary!
177 Cookies Add-ons, Code snippets, Cookies, Extensions
No summary!
178 Customizing the download progress bar
No summary!
179 Delayed Execution Code snippets
No summary!
180 Dialogs and Prompts Add-ons, Code snippets, Extensions, XUL
No summary!
181 Downloading Files Code snippets
To download a file, create an instance of nsIWebBrowserPersist and call its nsIWebBrowserPersist.saveURI() method, passing it a URL to download and an nsIFile instance representing the local file name/path.
182 Drag & Drop Code snippets
183 Embedding SVG Code snippets
No summary!
184 Examples and demos from articles
No summary!
185 File I/O Add-ons, Code snippets, Extensions, Files, Streams, Tutorial
No summary!
186 Finding window handles Add-ons, Code snippets, Extensions, XPCOM, js-ctypes
No summary!
187 Forms related code snippets Code snippets, Forms
No summary!
188 HTML in XUL for rich tooltips Code snippets, Examples, HTML, XUL
No summary!
189 HTML to DOM Code snippets, DOM, Guide, HTML, Intermediate, NeedsUpdate
Although you can now natively parse HTML using DOMParser and XMLHttpRequest, this is a new feature that is not yet supported by all browsers in use in the wild. The code snippets on this page will let your site work until these new features are more widely available.
190 IsDefaultNamespace
No summary!
191 JS XPCOM Code snippets, JavaScript, XPCOM, about:, nsIAboutModule
No summary!
192 JavaScript Debugger Service Code snippets
No summary!
193 JavaScript timers JavaScript timers, NeedsBetterPlace
No summary!
194 JavaScript Daemons Management DOM, Guide, JavaScript, JavaScript timers, MakeBrowserAgnostic
No summary!
195 Label and description Code snippets
No summary!
196 LookupNamespaceURI
No summary!
197 LookupPrefix
No summary!
198 Miscellaneous Add-ons, Code, Code snippets, Extensions, Snippets
No summary!
199 Modules
No summary!
200 On page load Add-ons, Extensions
No summary!
201 Page Loading Code snippets
No summary!
202 Post data to window Add-ons, Extensions, NeedsContent
No summary!
203 Preferences Add-ons, Code snippets, Extensions, Guide, Mozilla, Preferences
No summary!
204 Progress Listeners Add-ons, Extensions
No summary!
205 QuerySelector DOM
No summary!
206 Rosetta C, DOM, HTML, HTMLScriptElement, JavaScript, Non-JavaScript, Programming Languages
No summary!
207 Running applications Add-ons, Code snippets, Extensions
No summary!
208 SVG Animation NeedsContent
No summary!
209 SVG General Code snippets
No summary!
210 Scrollbar Code snippets
No summary!
211 Sidebar Add-ons, Code snippets, Extensions
No summary!
212 StringView
As web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data. In the past, this had to be simulated by treating the raw data as a string and using the charCodeAt() method to read the bytes from the data buffer.
213 Tabbox
No summary!
214 Toolbar Add-ons, Code snippets, Extensions, Toolbars
No summary!
215 Tree Code snippets
No summary!
216 URI parsing
No summary!
217 View Source for XUL Applications
No summary!
218 Windows Add-ons, Code snippets, Extensions, Guide, NeedsContent, NeedsHelp
No summary!
219 XML-related code snippets Add-ons, Code snippets, Extensions
No summary!
220 xml:base support in old browsers Code snippets
No summary!
221 XPath
No summary!
222 getAttributeNS Code snippets
No summary!
223 Common Pitfalls Add-ons, Developing Mozilla, Extensions
There are some common pitfalls that should be avoided when writing either extensions or core Mozilla code. These are the sort of things that super-review should be catching for code that goes into the tree; avoiding these to start with saves super-reviewers a lot of effort.
224 Communication between HTML and your extension Add-ons, Extensions, Web Development
See also Interaction between privileged and non-privileged pages.
225 Creating custom Firefox extensions with the Mozilla build system Add-ons, Build documentation, Developing Mozilla, Extensions, Guide, NeedsContent, XPCOM
No summary!
226 Custom about: URLs about:
This page describes how to register a new about: URL for your extension.
227 Default Preferences
A key part of any extension is the default settings that come with it. Mozilla provides a simple way of shipping default settings by allowing default preferences.
228 Deploying a Plugin as an Extension Add-ons, Plugins
One of the new features available in Firefox 1.5 is the ability to place browser plugins in a Firefox extension. This feature is particularly useful for vendors who wish to deploy the plugin even if Firefox is not currently installed, or who want to use the automatic extension update mechanism to update their plugin to a newer version.
229 Developing add-ons Add-ons
This page will help guide you to the information you need in order to create add-ons for Firefox, Thunderbird, or other software based on the Mozilla platform, as well as how to distribute your add-ons.
230 Displaying web content in an extension without security issues Extensions, Security, XMLHttpRequest, XUL
One of the most common security issues with extensions is execution of remote code in privileged context. A typical example is an RSS reader extension that would take the content of the RSS feed (HTML code), format it nicely and insert into the extension window. The issue that is commonly overlooked here is that the RSS feed could contain some malicious JavaScript code and it would then execute with the privileges of the extension — meaning that it would get full access to the browser (cookies, history etc) and to user’s files. These issues can easily be avoided by making use of the existing security mechanisms in the Mozilla codebase. The following article explains these security mechanisms, ideally an extension that needs to display web content (which is always potentially dangerous) will use all of them.
231 Downloading JSON and JavaScript in extensions AJAX, Add-ons, Extensions, JSON, XMLHttpRequest
A common practice found in many extensions is using XMLHttpRequest (or some other mechanism) to download JavaScript or JSON (they are different) from a remote website. Once the content has been downloaded, the extension authors proceed to use eval() to decode the string content into JavaScript objects. This practice is dangerous and will not, in fact, pass an AMO review. So the extension will not be allowed to move out of the AMO sandbox.
232 Embedded WebExtensions WebExtensions
Starting in Firefox 51, you can embed a WebExtension in a classic bootstrapped extension or an Add-on SDK add-on.
233 Enhanced Extension Installation Add-ons, Extensions
No summary!
234 Extension Etiquette Add-ons, Extensions, Guide
No summary!
235 Extension Library
No summary!
236 Extension Packaging Add-ons, Extensions, Guide, Toolkit API
No summary!
237 Extension Samples
No summary!
238 Extension Theming Guidelines Add-ons, Extensions
This is a set of guidelines on how to control the look and feel of your extension while leaving it open for styling by custom themes.
239 Extension Versioning, Update and Compatibility Add-ons, Extensions
Add-ons should specify their versions using the Toolkit version format. As a rough overview this is a version string split by periods, some examples:
240 Extensions support in SeaMonkey 2 Add-ons, CodingScripting, Extensions, JavaScript, SeaMonkey, URL, thunderbird
Starting with SeaMonkey 2 Alpha 1 SeaMonkey supports toolkit/-style extensions. These type of extensions have many advantages for both users and developers compared to the old xpinstall/-style extensions.
241 Firefox addons developer guide
The original document is in Japanese and distributed via the xuldev.org website. So there may be still some reference to the xuldev website (we want to host source code on MDC, not on xuldev), and to Japanese things (like some specific locales, which have been translated to French since non-latin characters are not well supported).
242 Hiding browser chrome Add-ons, Extensions, XUL, XULBrowserWindow
There are times in which an extension may find it useful to hide browser chrome (that is, toolbars, the location bar, and so forth), in order to reduce clutter when presenting a particular user interface. This is done, for example, by the about:addons page.
243 Hotfix Extension
This document has been moved to the Add-ons wiki.
244 How to convert an overlay extension to restartless Add-ons, Code snippets, Extensions, Firefox, Firefox OS, Guide, Preferences system
No summary!
245 Inline options Add-ons, Extensions, XUL
No summary!
246 Install Manifests Add-ons, Archive, Extensions, Manifests, Toolkit API
An Install Manifest is the file an Add-on Manager-enabled XUL application (e.g. Firefox or Thunderbird) uses to determine information about an add-on as it is being installed. It contains metadata identifying the add-on, providing information about who created it, where more information can be found about it, which versions of what applications it is compatible with, how it should be updated, and so on.
247 Installing Extensions and Themes From Web Pages Add-ons, Extensions, Obsolete, Themes
There are a variety of ways you can install extensions and themes from web pages, including direct linking to the XPI files and using the InstallTrigger object.
248 Interaction between privileged and non-privileged pages Add-ons, Code snippets, Extensions
An easy way to send data from a web page to an extension is by using custom DOM events. In your extension's browser.xul overlay, write code which listens for a custom DOM event. Here we call the event MyExtensionEvent.
249 Jetpack Processes Jetpack
Jetpack processes are created by components that implement the nsIJetpackService interface, and their parent chrome process communicates with them via the nsIJetpack interface.
250 Legacy Add-ons Add-ons, Extensions, Landing
This section contains links to documentation for legacy technology for add-on development, including:
251 Listening to events in Firefox extensions Add-ons, Archive, DOM, Extensions, Gecko, Obsolete, events
Gecko uses events to pass information about interesting things that have occurred along to the parties that may wish to know about them. There are several different categories of events; this article will help you learn about them and direct you to more specific documentation covering each of them. It also provides some use cases that may be of specific interest.
252 Migrating from Internal Linkage to Frozen Linkage XPCOM
Extension code using internal linkage will need to migrate to use frozen linkage because internal linkage will not be available in Firefox 3. This document is a guide to common code patterns that may need to change to work with frozen linkage.
253 Migrating raw components to add-ons
Historically, Firefox has allowed third party contributions to be added to the application's components/ directory, but beginning with Firefox 3.6, this is no longer permitted. Components added in this way are invisible to users and cannot be managed through the Firefox add-ons manager. What's worse, though, is that these components don't have a mechanism for specifying the versions of Firefox with which they are compatible, leading to poor integration and instability as users upgrade their Firefox installations.
254 Multiple item extension packaging Add-ons, Obsolete, Toolkit API, install. rdf
A multiple Item package provides the ability to package multiple installable bundles which can then be downloaded and installed by a user, or provided pre-packaged with an application or by an external program. Every multiple item package must provide an install.rdf file (not old-style install.js!) and has the same requirements as an extension except as noted below.
255 Offering a context menu for form controls Add-ons, Extensions, Mozilla, XUL
Firefox 3 changed the behavior of right-click on form controls to no longer display a context menu by default.  This article describes how an extension can override this change in a particular window, enabling context menus to work on form controls.
256 Overlay extensions Add-ons, Extensions, Landing
No summary!
257 Firefox addons developer guide Add-ons, Extensions, Firefox, Guide
The Firefox add-ons developer guide was contributed by the Mozilla Japan community; it covers how to go about building Firefox extensions using XPCOM and XUL. These days, we recommend using the Add-on SDK instead, but there are times when you need the additional control offered by a more direct approach.
258 Appendix: What you should know about open-source software licenses
No summary!
259 Chapter 1: Introduction to Extensions
No summary!
260 Chapter 2: Technologies used in developing extensions
No summary!
261 Chapter 3: Introduction to XUL—How to build a more intuitive UI Add-ons, Extensions, Firefox, XUL
learn about XUL, the XML-based User-interface Language, which is one of the building blocks for extensions.
262 Chapter 4: Using XPCOM—Implementing advanced processes
This chapter explains how to use XPCOM to implement advanced processes using only JavaScript.
263 Chapter 5: Let's build a Firefox extension Archive, Obsolete
No summary!
264 Chapter 6: Firefox extensions and XUL applications
This chapter discusses tools to assist in developing extensions.
265 License and authors
No summary!
266 XUL School Tutorial Add-ons, Extensions, References, Tutorials, XUL
No summary!
267 Adding Events and Commands Add-ons, CodingScripting, DOM, Glossary, Guide, JavaScript, XUL, events
No summary!
268 Adding Toolbars and Toolbar Buttons Toolbars, XUL
Adding new toolbars to Firefox is easy, but adding them the wrong way is very easy as well.
269 Adding menus and submenus Add-ons, CodingScripting, Macs, XUL, apple
The Hello World example in the previous sections shows the two most common ways to add menus. In this section we'll look into more specialized menus and what you can do with them.
270 Adding sidebars
No summary!
271 Adding windows and dialogs
No summary!
272 Appendix A: Add-on Performance Add-ons, Extensions, Performance
No summary!
273 Appendix B: Install and Uninstall Scripts
No summary!
274 Appendix C: Avoiding using eval in Add-ons
No summary!
275 Appendix D: Loading Scripts Extensions, XUL
No summary!
276 Appendix E: DOM Building and Insertion (HTML & XUL)
No summary!
277 Appendix F: Monitoring DOM changes
No summary!
278 Connecting to Remote Content
No summary!
279 Custom XUL Elements with XBL
No summary!
280 Getting Started with Firefox Extensions Extensions
an extension is a small application that adds something new to one or more Mozilla applications. This tutorial focuses on extensions for Firefox, but the same (or very similar) principles apply to creating extensions for other applications such as Thunderbird, Seamonkey, and Flock.
281 Handling Preferences Add-ons, Extensions, XUL, XUL School
No summary!
282 Intercepting Page Loads
No summary!
283 Introduction
Welcome to the XUL School Tutorial!
284 JavaScript Object Management JavaScript, Object, Tutorials
No summary!
285 Local Storage Guide, Storage, XUL
No summary!
286 Mozilla Documentation Roadmap
No summary!
287 Observer Notifications
No summary!
288 Setting Up a Development Environment
No summary!
289 The Box Model
No summary!
290 The Essentials of an Extension
No summary!
291 Useful Mozilla Community Sites
No summary!
292 User Notifications and Alerts
No summary!
293 XPCOM Objects
No summary!
294 Performance best practices in extensions Add-ons, Best practices, Extensions, Guide, NeedsContent, NeedsExample, Performance
No summary!
295 Search Extension Tutorial (Draft) Extensions, Search, Tutorial
Many add-ons, for monetization or other reasons, change several search-related settings at install time. While this is generally considered acceptable behavior, considerable care must be taken to avoid violating the Mozilla add-on guidelines or creating an adverse user experience.
296 Security best practices in extensions Add-ons, Best practices, Extensions, Guide, Security
This document is intended as a guide for developers to promote best practices in securing your extension. Your goal is to keep your users safe. Some items mentioned are strict guidelines, meaning that if you don't follow them then your add-on will not be approved on Mozilla add-ons. Other items are recommendations. The difference will be clearly flagged.
297 Session store API Add-ons, Extensions, Firefox, Guide, Obsolete
Session store makes it possible for extensions to easily save and restore data across Firefox sessions. There is a simple API that lets extensions access the session store feature.
298 Setting up an extension development environment Add-ons, Extensions, Guide
This article provides suggestions for how to set up your Mozilla application for extension development. These details apply to Firefox, Thunderbird, and SeaMonkey (version 2.0 and above).
299 Signing an XPI Add-ons, Code snippets, Extensions, Guide, NeedsHelp, XPInstall
This article describes how to sign your own Firefox extensions with a code-signing certificate on a Windows platform. It was developed from the linux article So you want to sign your XPI package? by MozDev Group's Pete Collins.
300 Signing an extension Add-ons, Administration, Extensions, Themes, XPInstall, enterprise
This article describes how to digitally sign your extension for Firefox and Thunderbird, with a code signing certificate for Object Signing. The following instructions also apply to a theme and other XPI files.
301 Supporting search suggestions in search plugins Add-ons, OpenSearch, Search, Search plugins
Firefox supports search suggestions in OpenSearch plugins; as the user types in the search bar, Firefox queries the URL specified by the search plugin to fetch live search suggestions.
302 Tabbed browser Add-ons, Code snippets, Extensions
Here you should find a set of useful code snippets to help you work with Firefox's tabbed browser. The comments normally mark where you should be inserting your own code.
303 Techniques
.
304 Promises Add-ons, Examples, Snippets, async
No summary!
305 Updating addons broken by private browsing changes Add-ons, Reference
After reading this document, contact Josh Matthews with further questions or clarifications, or file a bug if your extension has stopped working due to a change described here and you are having trouble updating it.
306 Using Dependent Libraries In Extension Components Add-ons, Extensions
Extensions with binary components sometimes need to depend on other shared libraries (for example, libraries provided by a third party). The Firefox extension system does not provide automatic support for loading these dependent libraries, but it is possible to load these libraries explicitly using a component stub.
307 Using the Stylesheet Service Add-ons, Extensions
The stylesheet service allows extensions to manage user and UA stylesheets without having to touch userContent.css or userChrome.css files. The API is defined in nsIStyleSheetService.idl.
308 Working with multiprocess Firefox
In older versions of Firefox, chrome code (including code inserted by extensions) and content run in the same operating system process. So extensions can access content directly:
309 Using the message manager from Firefox extensions
This article explains how to refactor a Firefox extension to use the message manager. This enables the extension to work in multiprocess Firefox.
310 bookmarks.export() API, Add-ons, Bookmarks, Extensions, Method, Non-standard, Reference, WebExtensions, export
Exports bookmarks to an HTML bookmark file.
311 bookmarks.import() API, Add-ons, Bookmarks, Extensions, Method, Non-standard, Reference, WebExtensions, import
Imports bookmarks from an HTML bookmark file.
312 Adding preferences to an extension Add-ons, Extensions, Preferences system, XUL
This article takes the Creating a dynamic status bar extension sample to the next level, adding a popup menu that lets you quickly switch between multiple stocks to watch. It also adds a preference dialog that lets you switch to a stock other than one of the ones included in the popup menu.
313 An Interview With Douglas Bowman of Wired News Web Development, Web Standards
One of the Web's oldest news sites, Wired News draws between 20 and 25 million page views every month. On October 11, 2002, Wired launched a brand-new site design that uses validating XHTML for its structure and a small collection of CSS files for its layout. The new design clearly shows what some experts have been saying: that standards-based design can be visually compelling and preserve the interface conventions we've come to expect from Web pages.
314 Apps Apps, Firefox OS, Web
This page includes archived content for Apps, including obsolete web app content, Firefox OS app-related content, and so forth.
315 Advanced topics Apps
These articles provide extra information on more advanced Open Web Apps topics. Topics such as app architecture documentation to help with the design and implementation of open web apps and other documentation for creating a store for selling and distributing open web apps.
316 App Development API Reference API, Apps, B2G, Firefox OS, Reference, Référence(2)
The following is a list of code-level reference documentation you'll likely need in developing a Firefox OS app.
317 Drawing and animation API, Apps, B2G, Firefox OS, Reference, Référence(2)
For a modern app experience, use of animations and lightweight graphics is essential. The following pages provide what you need in this area.
318 Firefox Marketplace services API, Apps, B2G, Firefox OS, Marketplace, Reference, Référence(2)
These documents and guides provide a reference to the APIs needed for publishing and managing your app on the Firefox Marketplace.
319 Foundations of a Firefox OS app API, Apps, B2G, Firefox OS, Reference, Référence(2)
A Firefox OS app is simply an Open Web App, but with some special considerations and features, such as working offline and being installable.
320 General Web APIs API, Apps, B2G, Firefox OS, Reference, Référence(2)
Elements, events, network requests, storage and other standard Web APIs that provide useful functionality for Open Web Apps. The summary table on our Web API team's main Wiki page also provides a useful overview of what's supported and where.
321 Layout and structure API, Apps, B2G, Firefox OS, Reference, Référence(2)
A series of articles to help you create the perfect structure for your Open Web App.
322 Designing Open Web Apps Apps, CSS, Design, Examples, Guide, Layout, Mobile, Styleguides, UX, Usability, Web Development, patterns
The items under this section apply generally to Web app design.
323 Design guidelines Apps, Responsive Design
Some suggestions to help you build an app that’s attractive and easy to use.
324 Resources Apps, Guide, Responsive Design, Web Development
No summary!
325 Your App's Elevator Pitch Apps
How would you describe your app to someone if the only time you had was the length of an elevator ride? That's your app's elevator pitch, a brief summary of who your app is for, and why it's useful to them.
326 Design guidelines Apps, Design, Guide
Design guidelines to help create intuitive apps that work across platforms.
327 Design patterns and assets Design, Guide, Intro
Design pattern information, along with building blocks and assets to help with rapid prototyping and consistent look and feel.
328 Facebook Apps
https://www.facebook.com/
329 Patterns Apps, Firefox OS, Firefox OS UX, UX
Patterns are methods of interaction with your app. Unlike the building blocks, which describe particular user interface elements, patterns are ways those building blocks are presented.
330 Drawer Apps, Firefox OS, Firefox OS UX, US
Drawers provide access to top-level navigation options that may be too numerous for a tabs or toolbar interface. Drawers can also be used to access user-generated content such as browser tabs, accounts in an email or messaging client, and so forth. Drawers slide out from the edge of the screen at the user's request (pushing the underlying content aside), then slide back out of the way when no longer needed. See the Coding guide for details on implementing drawers in your apps.
331 Coding guide: Drawers Apps, Firefox OS, Firefox OS UX, Guide, UX
Here you can find examples of how to create a drawer on Firefox OS, as well as downloads for the CSS and image resources used by the built-in apps on Firefox OS. You can copy these resources into your app and make use of them to build apps that match these apps' appearances.
332 Entry sheet Apps, Firefox OS, Firefox OS UX, NeedsContent, Reference, Référence(2), UX
An entry sheet is used to edit a single setting or option in your app that either contains a large number of possible values (such as a text entry form or a long list of choices) or requires multiple inputs or selections, such as configuring and connecting to a WiFi network.
333 Multi select Apps, Firefox OS, Firefox OS UX, Guide, UX
Multi-select mode is used to let the user perform "bulk actions;" that is, to select a number of items and then act on all of them at once. This may be something like deleting six emails from the user's inbox or choosing two photos to email to a friend. Multi-select mode actually encompasses two similar but functionally different modes: multi-select mode, for choosing multiple items and performing actions on them; and edit mode, which lets the user change existing data in the list (such as editing data in a table) and then save or discard the changes.
334 Coding guide: Multi select Apps, Firefox OS, Firefox OS UX, UX
Here you can find examples of how to implement the multi-select mode (also known as "edit mode") on Firefox OS, as well as downloads for the CSS and image resources used by the built-in apps on Firefox OS. You can copy these resources into your app and make use of them to build apps that match these apps' appearances.
335 Search Apps, Firefox OS, Firefox OS UX, Guide, NeedsContent, UX
A search bar lets users use keywords to locate content within an app, on the device, or online. An app can specify what types of content are shown in the search results. Search can also be used to filter long lists, such as contacts.
336 Planning Apps, Design, Planning
No summary!
337 General design Principles Apps, Design
Be consistent in your language. Refer to an action or an item with the same term in your app, and use each term for only one action or item.
338 Installed app considerations Guide, UX
When designing an installable Open Web App, there are a number of considerations to keep in mind about how the app will behave after it is installed. This article provides advice on each one.
339 Planning your app Apps, B2G, Firefox OS, Guide, Mobile
Once you have an idea for a Web app, you should carefully plan it before you start to do any coding or design. This will be amazingly obvious to most of you, but it's a point that cannot be overstated, whether you're creating a completely new app, or repurposing an existing application. This article covers the main concepts to keep in mind as you plan an application and prepare for implementation.
340 UI layout basics Design, Layouts, UI
No summary!
341 Responsive design versus adaptive design Design, Intro, NeedsContent, Web, adaptive, responsive
Both responsive and adaptive design attempt to optimize the user experience across different devices, adjusting for different viewport sizes, resolutions, usage contexts, control mechanisms, and so on.
342 Graphics and UX Apps, CSS, Canvas, Firefox OS, Graphics, Guide, HTML, Layout, SVG, UX, WebGL
When creating Open Web Apps, you need to give a lot of consideration to the look and feel, user experience and workflow of your applications. In previous parts of this material we looked at application planning and flexible layouts for applications, and in this section we will go further, looking at both general patterns and design techniques that work for Open Web Apps, and specific techniques and assets that will help you put together great-looking Firefox OS apps that match the experience of the device's default applications.
343 Icon implementation for apps Apps, B2G, Firefox OS, Icons, dimensions
TBD
344 Open web app architecture Apps
Apps can be installed from the server that hosts them ("self-hosting") or from a store. Mozilla launched the Firefox Marketplace in a test mode for apps in 2012. Other third-party app stores are also possible using this architecture. Apps can be free or paid. Stores can support validation of purchases to ensure that apps are run only by users who purchased them. The Firefox Marketplace will support this.
345 Rec Room - Animation and Graphics Apps, Design, Development, Firefox OS, Quickstart
There are various tools found all around the web for creating animations and graphics for your work. In this article, we will go over a few of these options so that you can use to make your project stand out! For example, CSS is one way to apply animations to HTML elements, while Chartist is a great tool for creating graphs and charts.
346 Tools and frameworks Apps, Firefox OS, Frameworks, Libraries, Tools, Workflows
No summary!
347 Cordova Firefox OS plugin reference Apps, Cordova, Firefox OS, Phonegap
This article provides a reference showing sample code and examples for many of the Cordova plugins that Firefox OS supports.
348 Cordova support for Firefox OS Apps, Cordova, Firefox OS, Phonegap
The Apache Cordova project (which powers Adobe's Phonegap tool) is an industry standard solution for writing an app with open web technologies, and then generating native app versions that will work seamlessly on other platforms such as iOS and Android. As of version 3.1, Cordova is extended to support the creation of open web apps that can be installed on Firefox OS. In this article we will look at how to use the Firefox OS extension to Cordova, and what benefits it brings to the table.
349 Using App templates Apps
What you get:
350 Mortar
(placeholder page for mortar intro)
351 Web components and Mozilla Brick Web Components, brick, building blocks, x-tag
There is a problem with the Web as a platform for applications: HTML, the language that makes it easy to mark up documents and give them meaning doesn't have enough elements to build applications. There are quite a few new elements in the HTML5 spec, but their support is sketchy across browsers and there are still a lot of widgets missing that other platforms like Flex or iOS give developers out-of-the-box. As a result, developers build their own "widgets" like menu bars, slider controls and calendars using non-semantic HTML (mostly <div> elements) and make them interactive using JavaScript and theme-able using CSS.
352 Working with common libraries and frameworks Apps, Frameworks, JavaScript, Libraries, NeedsContent
If you have developed a packaged app with AngularJS, you may run into this error message:
353 X-Tag and the Web Components Family Web Components, shadow dom, x-tag
In the last few years we've witnessed an evolution in what 'app' means to both developers and consumers. The word app evokes the idea of a rich, task-oriented user experience with highly optimized user interface that responds to its environment and can be used on an array of common devices. In order to make development of rich app experiences easier, native platforms have generated many of their own controls and components that Just Workℱ.
354 X-Tags and custom elements Apps, B2G, Firefox OS, Mobile, Web Components, x-tags
X-tags are custom HTML elements that give you a collection of building blocks (components) for developing HTML5 apps. If you don't see the component you need, you can deïŹne your own x-tag and use it like any other native HTML tag. Listed below are ten x-tags and a description of what they are used for.
355 Validating web apps with the App Validator
Some checks that the validator performs include:
356 Archived Mozilla and build documentation
These articles are archived, obsolete documents about Mozilla, Gecko, and the process of building Mozilla projects.
357 ActiveX Control for Hosting Netscape Plug-ins in IE Add-ons, NeedsClassification, Plugins
Microsoft has removed support for Netscape plug-ins from IE 5.5 SP 2 and beyond. If you are a plug-in author, you may find this project saves you a lot of work!
358 Archived SpiderMonkey docs Archive
This section contains old SpiderMonkey documentation.
359 File object File, JavaScript, Non-standard, SpiderMonkey
Non-Standard Server-Side Object
360 open
Opens the file, specifying file mode and type.
361 Merging TraceMonkey Repo
These are the steps to merge the TraceMonkey repository to mozilla-central. Between resolving conflicts, finding a good time to land, watching the tree, and marking bugs as fixed, it takes around half a day.
362 SpiderMonkey coding conventions JavaScript, SpiderMonkey
The SpiderMonkey project owners enforce coding conventions pretty strictly during code reviews.
363 Autodial for Windows NT Necko, Outdated_articles
This document is intended to explain how the autodial helper feature implemented for bug 93002 works and why it works that way.
364 Automated testing tips and tricks Developing Mozilla
No summary!
365 Automatic Mozilla Configurator Administration, Configuration management, enterprise
No summary!
366 Enabling quicklaunch for all users Administration, Configuration management, enterprise
No summary!
367 How Mozilla finds its configuration files Administration, Configuration management, enterprise
No summary!
368 How Thunderbird and Firefox find their configuration files Administration, Configuration management, enterprise
No summary!
369 Introduction Administration, Configuration management, enterprise
No summary!
370 Kill the XUL.mfl file for good Administration, Configuration management, enterprise
No summary!
371 Locked config settings Administration, Configuration management, enterprise
No summary!
372 Other Mozilla customization pages Administration, Configuration management, enterprise
No summary!
373 Protecting Mozilla's registry.dat file Administration, Configuration management, enterprise
No summary!
374 Automatically Handle Failed Asserts in Debug Builds
As of 2004-12-8, it is now possible to automatically handle failed asserts in debug builds of Mozilla for Windows.
375 BlackConnect Java
No summary!
376 Blackwood Java
No summary!
377 Bonsai Developing Mozilla, Tools
It is a tool that lets you perform queries on the contents of a CVS archive; you can: get a list of checkins, see what checkins have been made by a given person, or on a given CVS branch, or in a particular time period. It also includes tools for looking at checkin logs (and comments); doing diffs between various versions of a file; and finding out which person is responsible for changing a particular line of code ("cvsblame").
378 Bookmark Keywords User_Documentation
Practically every Web surfer has bookmarks, of course, and power surfers usually have hundreds stuffed into folders within folders. In addition to being handy pointers to useful resources, bookmarks in Mozilla can be used to make the address bar itself a power tool. Searches, lookups, package tracking, and even word definitions can all be retrieved from user-customized bookmarks.
379 Build
This page was auto-generated because a user created a sub-page to this page.
380 Building TransforMiiX standalone NeedsHelp, NeedsRewrite, XSLT
No summary!
381 Chromeless Update
[This project may not be active — check Github https://github.com/mozilla/chromeless]
382 Compiling The npruntime Sample Plugin in Visual Studio Add-ons, Plugins
No summary!
383 Creating a Firefox sidebar extension Add-ons, Extensions, Firefox, Obsolete
This article describes how to create a registered sidebar for Firefox 2 or greater. See the references section for information on creating extension in earlier browsers.
384 Creating a Microsummary Microsummaries, Obsolete
A microsummary generator is a set of instructions for creating a microsummary from the content of a page. Web pages can reference generators via <link rel="microsummary"> elements in their <head> elements. Generators can also be independently downloaded and installed by users if they include a list of pages to which they apply.
385 Creating a Mozilla Extension Add-ons, Extensions
A Mozilla extension is an installable enhancement to the Mozilla browser that provides additional functionality (for example Linky, which adds an item to the context menu for opening multiple links in a document or selection). This tutorial walks you through the process of building a Mozilla extension that adds an icon to Mozilla's status bar showing the current status of the Mozilla source code (i.e. whether or not the latest version of the code is compiling successfully and passing tests). The extension will access Tinderbox, mozilla.org's webtool for tracking source code status, to get the status of the code.
386 Adding the structure Add-ons, Extensions
The UI for our extension is an icon in the status bar. To implement this UI, we'll add a statusbarpanel element to the statusbar element in the navigator.xul file.
387 Conclusion Add-ons, Extensions
You now have a working Mozilla extension installer! To test it, try installing the extension on a fresh copy of Mozilla by loading the file in your Mozilla browser (this works whether you load it from the web or from your local hard drive via a file:/// URL). Mozilla will automatically detect that the file is an installer and ask you if you want to install the software. Try installing the extension, restarting Mozilla, and see if it works.
388 Enabling the behavior - retrieving tinderbox status Add-ons, Extensions
Our Mozilla extension now exists, but it doesn't do anything. To make it work we have to add JavaScript code that changes its status when the tinderbox status changes. The first step is to write a function that queries the tinderbox server and retrieves the current status.
389 Enabling the behavior - updating the status bar panel Add-ons, Extensions
No summary!
390 Enabling the behavior - updating the status periodically Add-ons, Extensions
No summary!
391 Finding the code to modify Add-ons, Extensions
Now that we've found the file to edit, we need to find the specific code within that file. Again, the DOM Inspector makes this easy. The "Document - DOM Nodes" pane on the left-hand side of the Inspector window displays a tree representation of the browser window's XUL file. When you select a node in the tree, a red border flashes for several seconds around the visual representation of that node in the browser window.
392 Finding the file to modify Add-ons, Extensions
Now that we have a hackable Mozilla, it's time to find the file we want to hack. Mozilla's UI is divided into three layers: the structure, the style, and the behavior. The structure layer identifies the widgets (menus, buttons, etc.) and their position in the UI relative to each other, the style layer defines how the widgets look (size, color, style, etc.) and their overall position (alignment), and the behavior layer specifies how the widgets behave and how users can use them to accomplish their goals. mention the localization layer
393 Making a Mozilla installation modifiable Add-ons, Extensions
Mozilla's user interface is made up of XUL (described below), XBL (a topic for another tutorial), JavaScript, CSS, and image files. XUL, XBL, JavaScript, and CSS files are all in text format and can be edited in a standard text editor, while image files are in binary GIF, JPG, or PNG format and must be edited with an image editing program.
394 Making it into a dynamic overlay and packaging it up for distribution Add-ons, Extensions
Now that we have a static overlay we're in good shape to create a XPI package that installs our extension as a dynamic overlay. XPIs have a complex structure designed to separate UI layers from each other. To make our XPI we'll start out by creating a directory to hold the files we're going to add to the XPI. Then we'll modify URLs in our files so they point to the right place. After that we'll create a contents.rdf file describing the tinderstatus component for the chrome registry and an install.js script to perform the installation. Finally we'll zip the files into an archive.
395 Making it into a static overlay Add-ons, Extensions
Now that we have a working Mozilla extension that shows tinderbox status, we need to make it distributable to other users. The two ways of doing that are to integrate it into the Mozilla codebase (in which case it is no longer an extension but rather part of the default Mozilla distribution) and to package it into an installer that users can run from within Mozilla to add the extension to their Mozilla installation.
396 Prerequisites Add-ons, Extensions
In order to complete this tutorial you need to have and know how to use the following programs on your computer:
397 Specifying the appearance Add-ons, Extensions
Now that we have defined a panel in which to display an icon, we use CSS to specify which icon to display. For this we have to first create four icons, one for each tinderbox state (none, success, test failed, and busted), then create a set of CSS rules that displays the icon corresponding to the current tinderbox state:
398 Tinderbox Add-ons, Extensions
Tinderbox is a web tool for tracking the status of the Mozilla source code. It consists of a set of client machines that continuously build and test Mozilla and report their results back to a server that makes those results available via a web page. The tool enables mozilla.org to be immediately notified of changes to the code that prevent Mozilla from compiling and running (or compromise performance and footprint) so they can get someone to fix the problem or reverse the changes.
399 Creating a Release Tag Junk
Here are directions for creating a release from a linux system. Note that there are a couple of extra files for Win32 and Macintosh that aren't pulled by the normal script and need to be pulled by hand. The mini-branch is created so you can check in the build scripts with the necessary changes without touching the original branch.
400 Creating a Skin for Firefox/Getting Started Add-ons, Themes
Download the latest version of Firefox and install it. Be sure to install the DOM Inspector extension as well.
401 Creating a Skin for Mozilla Add-ons, NeedsUpdate, Obsolete, Themes
In order to create a skin for mozilla, you will need to know three things. How to edit images, extract zip files, and how to modify CSS. Mozilla uses standard gif, png, and jpeg images for the buttons and CSS to style everything else in the interface.
402 FAQ Add-ons, NeedsUpdate, Obsolete, Themes
Unfortunately, yes. Every time there is a major change made to the interface, either visible or behind the scenes, your skin will have problems. When the Mozilla developers make changes like this, they increase the skin version number. This is the number that is defined in contents.rdf. Test your skin with every major release of Mozilla. If a message appears in the preferences window telling you that it's an old skin, you're going to have to look over the code to see what changed.
403 Getting Started Add-ons, Guide, Themes
No summary!
404 In-Depth Add-ons, Themes
No summary!
405 Links Add-ons, Themes
No summary!
406 contents.rdf Add-ons, Themes
No summary!
407 toolbarBindings.xml Add-ons, Themes
No summary!
408 Creating a Skin for SeaMonkey 2.x SeaMonkey
You're going to make a theme for SeaMonkey 2, but don't know how? I hope this manual will help you.
409 Getting Started
The folder containing Seamonkey is called folder_with_seamonkey in this manual.
410 chrome.manifest
Copy the following text and paste it into a text file, then save that file as "chrome.manifest":
411 install.rdf
Copy the following text and paste it into a text file, then save that file as "install.rdf":
412 Creating a hybrid CD Developing Mozilla, Outdated_articles
No summary!
413 Creating regular expressions for a microsummary generator Microsummaries, Obsolete
A regular expression is a special kind of string (i.e. a sequence of characters) that matches patterns of characters in other strings. Microsummary generators use them to identify the pages that the generators know how to summarize by matching patterns in those pages' URLs.
414 DTrace Archive, DTrace, Performance, Profiling, QA, Testing
 DTrace is Sun Microsystem's dynamic tracing framework that allows developers to instrument a program with probes that have little to no effect on performance when not in use and very little when active. Probe data can be collected with scripts written in D (no, not that one). Mozilla DTrace support has been added by the Sun DTrace team and can be used on Solaris 10 and Mac OS X 10.5.
415 Dehydra Dehydra
The development focus switched to DXR (where the "D" comes from "Dehydra"), which is based on clang instead of gcc. Try DXR instead, or else try the gcc python plugin: https://fedorahosted.org/gcc-python-plugin/.
416 Dehydra Frequently Asked Questions Dehydra
Initially Dehydra was written as an easy way to look for patterns in Control Flow Graphs (CFGs). Images of those graphs reminded me of the multiheaded Hydra monster. Thus De-hydra can be thought of as a decapitating tool for slaying CFGs. Currently Dehydra does not provide the CFG functionality, this functionality is now provided by Treehydra.
417 Dehydra Function Reference
The following functions may be provided by the analysis script and will be called by Dehydra while compiling. See the Dehydra object reference for details on the available object properties.
418 Dehydra Object Reference
Dehydra represents C++ types and variables as JavaScript objects. The objects are designed to distill that type system to the minimum such that it can be easy to match on.
419 Installing Dehydra Dehydra
It is recommended that you use SpiderMonkey revision AURORA_BASE_20110705 when building Dehydra.
420 Using Dehydra
As GCC compiles file, Dehydra calls functions in the user analysis script with information about the code being compiled. For more information, see the function reference and the object reference.
421 Developing New Mozilla Features Developing Mozilla, Outdated_articles
Tips For Contributing New Features To Mozilla.
422 Devmo 1.0 Launch Roadmap MDC Project archives
Comments, ideas, questions and other discussion should be added on the Devmo talk:1.0 Launch Roadmap page. Further details on smaller tasks being done are available at User:Dria:TODO page. See also Current Events.
423 Download Manager improvements in Firefox 3 Download Manager, Firefox 3
Firefox 3 offers improvements to the Download Manager that allow multiple progress listeners, use of the Storage API for data management, download resuming, and more. In addition, you can augment or replace the Download Manager's user interface by implementing the new nsIDownloadManagerUI interface.
424 Download Manager preferences
There are several preferences used by the Download Manager. This article provides a list of them.
425 Drag and Drop Mozilla, XUL
This section describes how to implement objects that can be dragged around and dropped onto other objects.
426 Drag and Drop Example XUL
An example of implementing drag and drop will be implemented in this section.
427 Drag and Drop JavaScript Wrapper XUL
No summary!
428 Drag and drop events Firefox 3
Firefox 3 adds two new events that allow you to determine when drag operations begin and end. These events are new in the current working draft of the HTML 5 specification.
429 Editor Embedding Guide Embedding Mozilla, Guide, Midas, NeedsHelp
Given an nsIWebBrowser instance, get an nsIDOMWindow from the GetContentDOMWindow call. Then simply call nsIWebBrowser->do_GetInterface on the nsIWebBrowser to retrieve the nsIEditingSession from it. From there you call editingSession->MakeWindowEditable(domWindow, editortype, PR_TRUE). The first parameter is the nsIDOMWindow you just retrieved, the second is the editor type you want to create, and the third is whether you want the window editable immediately or when the document is done loading. In calling this method, the editor is created underneath and the event listeners are all prepa if (NS_FAILED(rv)) return NS_ERROR_FAILURE; // we are not setup??!! nsCOMPtr<nsIEditingSession> editingSession; nsIWebBrowser->do_GetInterface(getter_AddRefs(editingSession)); if (editingSession) editingSession->MakeWindowEditable(domWindow, "html", PR_TRU?E);
430 Embedding FAQ Embedding Mozilla
No summary!
431 Embedding Mozilla in a Java Application using JavaXPCOM Embedding Mozilla, JavaXPCOM, Obsolete, XPCOM:Language Bindings
XULRunner ships with the JavaXPCOM component, which allows Java code to interact with XPCOM objects. As you will see in this article, working with XPCOM objects in Java is not that much different than doing so in C++.
432 Error Console Extensions, Extensions:Tools, JavaScript, JavaScript:Tools, Tools, Web Development, Web Development:Tools
The Error Console is a tool available in most Mozilla-based applications that is used for reporting errors in the application chrome and in web pages user opens. It reports JavaScript-related errors and warnings, CSS errors and arbitrary messages from chrome code. In Firefox, the Error Console can be opened from the tools menu or by Ctrl-Shift-J.
433 Exception logging in JavaScript Extensions, Extensions:Tools, Guide, JavaScript, JavaScript:Tools, Tools, Web Development, Web Development:Tools
In versions of Firefox prior to Firefox 3, all JavaScript exceptions were always logged into the Error Console if they remained unhandled at the time execution returned back into C++ code. As a result, if, for example, C++ code called a JavaScript component, which threw an exception, that exception would be logged to the console before control was returned to the C++ caller.
434 Existing Content
This is a list of existing mozilla.org documentation. It needs to be checked, prioritized, and migrated.
435 Extension Frequently Asked Questions
This is quick set of answers to the most common issues with extension development. They are currently written with mostly Firefox in mind, but most if not all should easily translate to SeaMonkey, Thunderbird or any of the other applications. For Thunderbird, you may also find the extension HowTo or FAQ pages helpful.
436 External CVS snapshots in mozilla-central
mozilla-central contains copies of external software modules that it depends on.
437 Fast Graphics Performance With HTML
No summary!
438 Fighting Junk Mail with Netscape 7.1 User_Documentation
Summary: Is your mail account drowning in a flood of spam? Netscape 7.1 includes built-in junk mail filtering that you can train to meet your specific needs. Eric Meyer share his experiences with making the junk mail controls more effective, and looks at other preferences you might want to set to keep your account safe.
439 Firefox Archive, Firefox
Out-of-date information about the Firefox project.
440 Block and Line Layout Cheat Sheet Gecko
The details of block and line layout are tricky; this document serves as a "cheat sheet" that describes how the vagary of different state flags control what's going on. It's a work-in-progress, with questions in red highlight. If you know the answer, please pass it along to me so I can update the document.
441 Content states and the style system Developing Mozilla
Content states are what Gecko uses to implement the various state-dependent in CSS (examples would be :hover, :active, :focus, :target, :checked). We will focus on describing how changes in content state are handled.
442 Disabling interruptible reflow
Add the following variables to your environment to disable Gecko interruptible reflow:
443 Document Loading - From Load Start to Finding a Handler DocShell, Outdated_articles, Uriloader
This document describes the beginning of the document loading process. We start with the request to load a particular link in a particular window, and proceed up to the point at which the data stream is dispatched to the proper handler. The final goal is to find the correct stream listener to pump the data into when necko calls OnDataAvailable (e.g., we may find the HTML parser as the stream listener to give the data to).
444 Documentation for BiDi Mozilla Developing Mozilla, Internationalization
This is preliminary documentation of the changes introduced to Mozilla as part of the BiDi support contributed by IBM (a.k.a. IBMBIDI), written by Simon Montagu and posted to the mozilla-layout mailing list. While it was published in 2001 and might not be totally accurate, it does help understanding the internals of the BiDi code.
445 Downloading Nightly or Trunk Builds NeedsUpdate, QA
There are some terms that are used by the Mozilla community. One sees them on IRC or in bugs. It can be helpful to know exactly what these refer to. Note that this is an attempt at describing the current usage of these terms. This usage may change.
446 JSS build instructions for OSX 10.6 JSS
The following build instructions were provided by PAVRW. The generic instructions didn't work to build on OSX 10.6.7.
447 Layout FAQ NeedsUpdate
No summary!
448 Layout System Overview Gecko
Layout is primarily concerned with providing a presentation to an HTML or XML document. This presentation is typically formatted in accordance with the requirements of the CSS1 and CSS2 specifications from the W3C. Presentation formatting is also required to provide compatibility with legacy browsers (Microsoft Internet Explorer and Netscape Navigator 4.x). The decision about when to apply CSS-specified formatting and when to apply legacy formatting is controlled by the document's DOCTYPE specification. These layout modes are referred to as 'Standards' and 'NavQuirks' modes. (DOCTYPE and modes are explained in more detail in article Mozilla's DOCTYPE sniffing.
449 Multiple Firefox profiles
No summary!
450 Repackaging Firefox enterprise
Notice: The article is about repackaging Firefox 2.0 and is obsolete when working on 3.x repackaging.
451 SOAP in Gecko-based Browsers Archive, Firefox, Mozilla, Obsolete, SOAP, XML Web Services
This article shows how to access web services using the SOAP and JavaScript capabilities available in recent Gecko-based browsers (though support for SOAP is being dropped in Firefox 3).
452 Style System Overview Gecko
Style sheets & rules
  ↓
Rule tree
  ↓
Style context interface
453 Using microformats Firefox 3, Microformats
Microformats allow web sites to provide semantic data to the browser in order to make it possible to present summaries of the information on a page without having to know how to parse the document itself. Firefox 3 implements a global Microformats object that provides access to microformats. This object and its API make finding and reading microformats easy to do.
454 Firefox Marketplace Apps, Beginner, Firefox OS, Intro, Landing, Marketplace
In this zone you'll find all the information you need to prepare and publish apps on the Firefox Marketplace. Find guidance on how to make apps successful, delivery options, publishing and updating apps, and the libraries and APIs to make use of Marketplace features.
455 Add-on submission Add-ons, B2G, Firefox OS, Marketplace, Review, submission
Firefox OS 2.5+ supports add-ons, a feature already familiar to Firefox Desktop users, which allows customization of specific apps or the whole OS — behaviour more to your liking. The Firefox Marketplace acts as a host for add-ons as well as apps; this article provides an overview of how to submit your add-ons for publication.
456 Add-on review criteria Add-ons, reviews
Here are Mozilla's expectations of what add-on review is and is not:
457 Firefox Marketplace APIs API, Apps, Marketplace
Links to the main references covering Mozilla's Firefox Marketplace APIs, with which you can handle app submissions, configure a payment account for an app, and more.
458 Firefox Marketplace FAQ App payments, Apps, B2G, FAQ, Firefox OS, Marketplace, Mobile

This article answers a variety of common questions related to publishing on the Firefox Marketplace.

459 Index Index, Marketplace
Found 10 pages:
460 Marketplace APIs Apps, Beginner, Firefox OS, Guide, Marketplace
When it comes to coding functionality for the Firefox Marketplace into your own apps and Web pages, you'll find the Marketplace APIs useful.
461 Publishing on the Firefox Marketplace Apps, Marketplace
Documentation for publishing an app on the Firefox Marketplace.
462 Submission Landing
Marketplace submission
463 User Review Guidelines Marketplace, review guidelines, review moderation, user reviews
App reviews are a way for you to share your opinions about the apps you’ve installed and used. Our review moderation team reserves the right to remove any review that does not comply with these guidelines.
464 Firefox Sync Sync
Sync refers to a family of related components and services which provide synchronization of data between Mozilla application instances. These components and services include:
465 Code snippets
This page documents how to perform custom actions with Firefox Sync via JavaScript.
466 JavaScript Client API Sync
This page describes how to use the internal client-side Sync JavaScript API. This API is available in Mozilla-based products that use Sync, such as Firefox desktop. This document is somewhat outdated, and the API isn't well-supported for use from add-ons; tread carefully.
467 Syncing custom preferences Sync
When preferences sync is enabled, Firefox Sync will synchronize preferences between the same application based on a whitelist. That means preferences between Firefox and Fennec, for instance, are never synced. To sync preferences between Firefoxes, Fennecs, Thunderbirds, etc., ensure the prefs are whitelisted.
468 Force RTL
(This is a temporary placeholder/stub for the Force RTL page)
469 Frequently Asked Questions NeedsUpdate, SVG, SVG FAQ
We currently maintain two documents to help answer this question: a status page for SVG in Firefox 1.5+ and a status page for SVG in the development trunk.
470 GRE Gecko, XUL, XULRunner
The framework for embedding Mozilla technologies was at one point called the GRE (Gecko Runtime Environment). This embedding framework allows applications to locate a compatible Gecko runtime and embed it without knowing in advance where that runtime will be installed. This document describes how embedders should dynamically link to a GRE. To understand how GREs are registered, see GRE Registration.
471 GRE Registration Gecko, XUL, XULRunner
No summary!
472 Gecko Coding Help Wanted Gecko, NeedsHelp, NeedsUpdate
Take a look through LXR, and you'll realize that Mozilla's source code is a big place.
473 HTTP Class Overview Necko
This document provides an overview of the classes used by the Mozilla HTTP implementation. It's meant as a guide to developers wishing to understand or extend the Mozilla HTTP implementation.
474 Hacking wiki MDC Project archives
To be able to hack the MDC wiki software, you'll need a local webserver install, which can run MediaWiki.
475 Help Viewer Toolkit API, XUL, XULRunner
Help Viewer: Allows information to be shown to the user inside Mozilla.
476 Creating a Help Content Pack
Original doc: http://www.mozilla.org/projects/help.../content_packs I hesitate to call it "original", tho, because I've basically rewritten the entire thing so that it's easier and faster to use to create Help content. The previous document had a lot of places where ideas were simply introduced without explanation, and I've tried to go through things a bit more slowly with better descriptions. This is still very much a work in progress, tho, and I need to complete the rest of it soon (where "complete" means "use what's there that's good, build on the stuff that's not as good, and add other useful information as necessary".
477 Helper Apps (and a bit of Save As) Outdated_articles, Uriloader
Image:overview.png
478 Hidden prefs
This page has been flagged by editors or users as needing technical review. Until it is fully reviewed, it may contain inaccurate or incorrect information.
479 How to Write and Land Nanojit Patches Obsolete
Adobe and Mozilla share a copy of Nanojit. This means that landing nanojit patches is a bit complicated, but experience has taught us that this is much better than having separate versions of nanojit.
480 IO Guide/Directory Keys
"Directory Keys" are the keys for nsIDirectoryService, see description. The actual keys are:
481 Introducing the Audio API extension Deprecated
The Audio Data API extension extends the HTML5 specification of the <audio> and <video> media elements by exposing audio metadata and raw audio data. This enables users to visualize audio data, to process this audio data and to create new audio data.
482 Isp Data Administration, enterprise
This page will explain how to create a .rdf or .xml file that you can place in the $INSTALLFOLDER/default/isp to do a variety of things. This page applies to Thunderbird (Mail/News).
483 Java in Firefox Extensions Add-ons, Extensions, Java
If you are in need of calling Java code from within a Firefox extension, you can make use of LiveConnect. LiveConnect gives your extension's JavaScript code (linked from or contained in XUL code) access to 2 objects: java and Packages (note that per this thread, although the new documentation for the LiveConnect reimplementation states that these globals will be deprecated (in the context of applets), "Firefox and the Java Plug-In will continue to support the global java/Packages keywords, in particular in the context of Firefox extensions."). These 2 objects let you make use of the standard JDK classes, e.g.,
484 JavaScript OS.Shared
Module OS.Shared contains tools to interact with the operating system (and, more generally, in C) in JavaScript. All these tools are designed to be used with js-ctypes.
485 JavaScript crypto
Mozilla defines a special JavaScript object to allow web pages access to certain cryptographic-related services. These services are a balance between the functionality web pages need and the requirement to protect users from malicious web sites. Most of these services are available via the DOM window object as window.crypto.
486 CRMF Request object
RFC 4211, the Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF), defines a certReqMessage. The object returned by generateCRMFRequest() contains one of those.
487 generateCRMFRequest() NSS
This method will generate a sequence of CRMF requests that has N requests. One request for each key pair that is generated. The first three parameters will be applied to every request. The "escrowAuthorityCert" parameter will only be used for requests that pertain to a key that is being escrowed. After the "escrowAuthorityCert" parameter, the method takes some JavaScript code that is invoked when the CRMF request is ready. Finally, there are 1 or more sets of key generation arguments. Each key generation will be associated with its own request. All the requests will have the same DN.
488 importUserCertificates NSS
The importUserCertificates() method is used to import newly issued certificates for the user. The private key for the certificates must already reside in the user's personal private key database.
489 popChallengeResponse NSS
The resultString will either be a base-64 encoded POPODecKeyRespContent message, or one of the following error strings:
490 Jetpack
491 Basics
Writes some information to the Error Console. You can find the console in the Extra Menu of Firefox.
492 Content
No summary!
493 Page modifications
This documentation is under development.  Please see the page modifications API proposal for now.
494 Extenders
No summary!
495 Jetpack Snippets
Bits of code that may come in handy. Feel free to add your own!
496 Libraries
Namespace: jetpack.lib
497 Twitter
Jetpack's Twitter library, jetpack.lib.twitter, is a very simple, lightweight layer on top of Twitter's REST API. In fact it's hardly more than syntactic sugar for doing XMLHttpRequests.
498 Meta
No summary!
499 Enabling
The proposed method for accessing Jetpack features that are still in development and may be added in the future is inspired by python's future module. In Python, you can call
500 Enabling Experimental Jetpack Features
The proposed method for accessing Jetpack features that are still in development and may be added in the future is inspired by python's future module. In Python, you can call
501 First Run
Jetpack lets you specify arbitrary content that will be shown to your users when they install your jetpack. You can also register a callback that will be called after installation.
502 First run
Jetpack lets you specify arbitrary content that will be shown to your users when they install your jetpack.  You can also register a callback that will be called after installation.
503 Me
The jetpack.me namespace provides mechanisms for introspecting the dynamic state of your jetpack. The namespace currently lives in the future and must be imported before it is used:
504 Settings
The jetpack.storage.settings namespace allows jetpacks to specify user-configurable settings. Jetpack will automatically generate a user interface based on the specification. The settings persist across browser sessions and are stored using the Jetpack [simple storage API][]. Settings are private to each jetpack and are not accessible by other jetpacks.
505 Multimedia
No summary!
506 Storage
No summary!
507 File access
Click on the paper-clip icon below for a demonstration of the file upload dialog.
508 Settings
The jetpack.storage.settings namespace allows jetpacks to specify user-configurable settings. Jetpack will automatically generate a user interface based on the specification. The settings persist across browser sessions and are stored using the Jetpack simple storage API. Settings are private to each jetpack and are not accessible by other jetpacks.
509 Simple Storage
The jetpack.storage.simple namespace provides an easy way to persist data across browser restarts. It's a simple key-based persistent object data store.
510 System
No summary!
511 Clipboard
Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.
512 Clipboard
Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.
513 Clipboard Test
<style></style>
514 Clipboard Test
Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.
515 System information
This documentation is under development.  Please see the system information API proposal for now.
516 UI
No summary!
517 Menu
Jetpack's menu API allows features to access and modify the browser's built-in menus.  Features can also create new menus and attach them almost anywhere, chrome or content, as popup menus or context menus.
518 Notifications
The Notification Box appears at the bottom right corner of the browser and displays important information to the user.
519 Panel
Please refer to the Panels JEP.
520 Selection
Jetpack's selection API provides a method for detecting the selections made by the user. Features can get, set, and listen for selection events in HTML or plain text.
521 Selection
Jetpack's selection API provides a method for detecting the selections made by the user. Features can get, set, and listen for selection events in HTML or plain text.
522 Tabs
In this class you can find information about the tabs in your Firefox window.
523 slideBar
slideBar is a reinvention of the old sidebar features of browsers. They allow quick access to a wide range of both temporary and permanent information at the side of your browser window. When a slideBar feature is selected its contents will be revealed from behind the current webpage.
524 slideBar
To implement a new slideBar within your jetpack code, use the method jetpack.slideBar.append(options)
525 Users
No summary!
526 aza
No summary!
527 Dropbox
No summary!
528 docs
No summary!
529 Meta
No summary!
530 Enabling Experimental Jetpack Features
The proposed method for accessing Jetpack features that are still in development and may be added in the future is inspired by python's future module. In Python, you can call
531 Storage
No summary!
532 Simple Storage
The jetpack.storage.simple namespace provides an easy way to persist data across browser restarts. It's a simple key-based persistent object data store.
533 System
No summary!
534 Clipboard
Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.
535 UI
No summary!
536 Selection
Jetpack's selection API provides a method for detecting the selections made by the user. Features can get, set, and listen for selection events in HTML or plain text.
537 jspage
No summary!
538 statusBar
No summary!
539 statusBar Class
The Class statusBar contains functions to add and control the Statusbar of the Browser. You can find the complete Sourcecode in the status-bar-panel.js file in your Jetpack Repository.
540 Litmus tests
Litmus tests are (non-automated) tests that are documented in the litmus database. See http://litmus.mozilla.org.
541 Mac OS X Build Prerequisites/fink
Fink is a package management system for Mac OS X, alternative to MacPorts. It doesn't seem to be as well maintained (in terms of available packages) as macports, so it is strongly suggested that you use macports instead of fink.
542 Makefile.mozextension.2
This Makefile is a modification of the Makefile.mozextention, found in Makefile for packaging an extension - MozillaZine Knowledge Base (2005).
543 Measuring add-on startup performance Add-ons, Extensions, Guide, Performance, Testing
The About Startup add-on provides a much simpler way to measure startup performance. Once installed, it will gather startup data and display it in the about:startup page. The add-on is very lightweight, so it shouldn't have a noticeable negative effect on your baseline and add-on tests.
544 Message Summary Database MailNews, thunderbird
The Mail Summary Files (.msf) are used to store summary information about messages and threads in a folder, and some meta information about the folder.
545 Metro browser chrome tests Automated testing, Developing Mozilla, Metro Browser
The metro browser chrome test suite is an automated testing framework designed to allow testing of the immersive version of Firefox for Windows 8 and above using JavaScript. It currently allows you to run JavaScript code in the same scope as the immersive browser and report results using the same functions as the Mochitest test framework.
546 Microsummary topics Microsummaries
To programmatically install a microsummary generator -- for example, in an extension that helps users create custom generators for their favorite sites -- obtain a reference to the nsIMicrosummaryService interface implemented by the nsIMicrosummaryService component, then call its installGenerator() method, passing it an XML document containing the generator.
547 Microsummary XML grammar reference Microsummaries
A microsummary generator is an XML document that describes how to pull specific information from a web page to be presented in summary form as a bookmark whose title changes based on the content of the page it targets.
548 Migrate apps from Internet Explorer to Mozilla
When Netscape started the Mozilla browser, it made the conscious decision to support W3C standards. As a result, Mozilla is not fully backwards-compatible with Netscape Navigator 4.x and Microsoft Internet Explorer legacy code; for example, Mozilla does not support <layer> as I will discuss later. Browsers, like Internet Explorer 4, that were built before the conception of W3C standards inherited many quirks. In this article, I will describe Mozilla's quirks mode, which provides strong backwards HTML compatibility with Internet Explorer and other legacy browsers.
549 Modularization techniques Mozilla, XPCOM
The purpose of this document is provide all the information you need to create a new Mozilla Module or break existing code into a module. The mechanism we're using is based on the principles laid down by COM, so pretty much anything you know about COM can be applied here, and any reference on COM can provide you with more interesting and complex examples than the ones provided here.
550 Monitoring downloads Download Manager, Firefox 3
Firefox 3 makes it easier than ever to monitor the status of downloads. Although it was possible to do so in previous versions of Firefox, it was previously only possible for one observer to do so at a time. Firefox 3 introduces new API that allows any number of listeners to observe downloads.
551 Mozilla Application Framework Developing Mozilla, XUL, XULRunner
The Mozilla Application Framework: for powerful, easy to develop cross-platform applications
552 Mozilla Application Framework in Detail Developing Mozilla, XUL, XULRunner
No summary!
553 Mozilla Crypto FAQ NSS, Outdated_articles
In this document I try to answer some frequently asked questions about the Mozilla web browser and mail/news client and its support for SSL, S/MIME, and related features based on cryptographic technology. Note that this document is for your information only and is not intended as legal advice. If you wish to develop and distribute cryptographic software, particularly for commercial sale or distribution, then you should consult an attorney with expertise in the particular laws and regulations that apply in your jurisdiction.
554 Mozilla Modules and Module Ownership Developing Mozilla
REDIRECT https://www.mozilla.org/hacking/module-ownership.html
555 Mozilla Web Developer Community NeedsContent, Obsolete, Web Development
No summary!
556 Mozilla project presentations Presentations
This article provides links to presentations covering various aspects of the Mozilla project.
557 Mozprocess
mozprocess provides python process management via an operating system and platform transparent interface to Mozilla platforms of interest. Mozprocess aims to provide the ability to robustly terminate a process (by timeout or otherwise), along with any child processes, on Windows, OS X, and Linux. Mozprocess utilizes and extends subprocess.Popen to these ends.
558 Mozprofile Junk
Mozprofile is a python tool for creating and managing profiles for Mozilla's applications (Firefox, Thunderbird, etc.). In addition to creating profiles, mozprofile can install addons and set preferences.
Mozprofile can be utilized from the command line or as an API.
559 Mozrunner Junk
mozrunner is a python package which handles running of Mozilla applications. mozrunner utilizes mozprofile for managing application profiles and mozprocess for robust process control.
560 NSC_SetPIN
No summary!
561 Nanojit Developing Mozilla, SpiderMonkey
Nanojit is a small, cross-platform C++ library that emits machine code. Both the Tamarin JIT and the SpiderMonkey JIT (a.k.a. TraceMonkey) use Nanojit as their back end.
562 LIR
In Nanojit, LIR is the source language for compilation to machine code. LIR stands for low-level intermediate representation.  It is a typed assembly language.
563 New Security Model for Web Services SOAP
The proposed declaration file places the server operator, not the client in control of access to his server by untrusted scripts. The access hole is no bigger than the service in question. The access is disabled by default, and there is nothing the user needs to do to open access, and nothing that can go wrong to make a hole in his firewall. It seems fairly easy to drop an access file into the root directory of the web server to allow access.
564 New Skin Notes MDC Project archives
Devmo has a new skin that is ready for testing. If you go to your user preferences, you can change the skin to "Devmo". This is currently just a preview, but we would appreciate help with testing.
565 Overview of how downloads work DocShell, Embedding Mozilla, Necko, Uriloader
There are two ways of downloading files in Mozilla. One way is to encounter a file with an unknown content type, the other is to choose "Save link target as" from the context menu of a link. Things like File|Save Page as, Save Image As, etc. are all part of the second codepath.
566 Persona Persona
Mozilla Persona is a cross-browser login system for the Web, that's easy to use and easy to deploy. It works on all major browsers, and you can get started today.
567 .well-known-browserid Persona
Domains advertise their ability to act as Persona Identity Providers (IdPs) by publishing a support document at /.well-known/browserid. This JSON-formatted document must be served over HTTPS with the content type application/json.
568 Browser compatibility Persona
Persona is developed, tested, and supported with the following browsers. Thanks to Persona's cross-platform JavaScript library, users do not need add-ons in order to use Persona.
569 Cryptography Persona
The Persona identity system uses public key cryptography to ensure trust and security in authentication.
570 FAQ Persona
Persona is a complete implementation of a new, distributed login system from Mozilla.
571 Glossary Persona
Persona is a complete implementation of a new, distributed login system from Mozilla.
572 Identity Provider Overview Extensions, Graphics, Persona, Tutorial
A Persona Identity Provider (IdP) is a domain which directly signs and certifies the identities of its users. Because Persona identities are based on email addresses, any domain which offers email to its users is a natural fit for becoming an IdP.
573 Implementing a Persona IdP Persona
After you've read the Identity Provider overview, this document will guide you through implementing a Persona Identity Provider (IdP). This page provides a guide to implementating an IdP. For details of the current data formats used by Persona, you should refer to the BrowserID specification.
574 Internationalization Persona
In the future, the user interface for signing into sites with Persona will be directly integrated into the browser, and thus localized along with the browser's own localization. For browsers without integrated support, Persona's user interface consists of a series of dialogs served from login.persona.org. These dialogs are translated by a team of community volunteers, and more than 45 locales are currently enabled in production.
575 Libraries and plugins Persona
Want to use Persona on your website or blog? Implementing Persona from scratch is easy, but the plugins and libraries listed here might get you going faster!

This page lists three types of libraries:

1. Plugins that integrate Persona with existing frameworks and content management systems
2. Utility libraries that are useful when building new plugins or integrating Persona into a site from scratch
3. Everything else related to Persona, including libraries for turning your domain into a Persona Identity Provider

This is a community-maintained list. If you've created a library or plugin, please add it to this page.
576 Persona Hosted Services Persona
To be truly successful and decentralized, Persona needs support from three different groups:
577 Protocol Overview Persona
Persona is built on the BrowserID protocol. This page describes the BrowserID protocol at a high level.
578 Quick Setup Persona
Adding the Persona login system to your site takes just five steps:
579 Remote Verification API Persona
When a user tries to log into a website, their browser generates a data structure called an assertion, which is essentially a cryptographically signed email address. The browser sends this assertion to the website, which must verify that the assertion is valid before logging the user in.
580 Security considerations Persona
When you add Persona support to your website, Persona takes on as much of the security burden as it can. However, some aspects of security can only be handled by your website. They're listed below.
581 The implementor's guide Persona
The Quick setup guide should be enough to get you started, but when building a full production site you'll probably need features that aren't covered in that guide. In this page we've collected features that are commonly needed by sign-in systems, and explained the best-practice way to implement them with Persona.
582 Adding extra email addresses with Persona Persona
It's a good idea to allow your users to add extra email addresses to their account. This enables users to change their email addresses, and to access their account with you even if they are unable to access their primary email account.
583 Call logout() after a failed login Persona
After your onlogin handler gets called with an assertion, if for any reason you can't use the assertion to log the user in, you must call navigator.id.logout().
584 Call request() only from a click handler Persona
The Persona dialog is currently implemented as a popup window. Modern web browsers typically block popups, unless they are triggered directly by a mouse click or a key press. This means that your call to navigator.id.request() or navigator.id.get() must be made directly from a click or keypress handler. If it's made in response to some other event, the popup won't be shown and the user won't be able to sign in.
585 Enabling users to change their email address Persona
Because in Persona usernames are email addresses, it's not obvious how you can let your users change their email address. We're working on improving the flow for this and at the moment it is a little awkward, but it is possible if you follow these steps:
586 Problems integrating with CRSF protection Persona
If you implement a particular type of protection against CSRF (Cross-Site Request Forgery) login attacks, you will experience a problem when a user has multiple pages open on your site, and then tries to log in using one of them. This document explains what the problem is, and how to resolve it.
587 Supporting users without JavaScript Persona
Persona currently requires JavaScript. If you need to support users who don't have JavaScript enabled, you'll have to implement an alternative login scheme for these users, and disable the "Sign in with Persona" button, enabling it in the JavaScript code that connects the sign-in button to navigator.id.request().
588 Testing Persona, checkmate
If you're making a production system you will need to write integration tests that simulate logging a user in and out of your site using Persona.
589 The navigator.id API
With Persona, a website asks the user to provide an "assertion", which is a digitally signed email address. By verifying the signature, the site can be assured that the user really does control the address in question. The site can then use this email address as an identifier for that user.
590 User Interface guidelines Persona
Presenting sign-in options to users without confusing them can be difficult, especially if your site offers multiple sign-in options. This article aims to provide guidance about the best way to present Persona sign-in to your users. It covers four different possible approaches, depending on the different sign-in options the website supports:
591 Why Persona for Mozilla? Featured, Intro, Persona
Persona utilizes a safe, two-click system built on top of public-key cryptography for logging in to websites. The user's browser generates a cryptographic affirmation of identity that expires after a few minutes and is only valid on one site. By avoiding passwords, users do not need to worry about remembering several distinct passwords and need no longer be concerned with unsecure access to their password. This quick and easy sign-in process eliminates the current inefficiencies of traditional account registration and allows users to quickly establish accounts on websites.
592 Plug-n-Hack Security, plugnhack
Plug-n-Hack (PnH) is a proposed standard from the Mozilla security team for defining how security tools can interact with browsers in a more useful and usable way.
593 Plug-n-Hack Get Involved Security, plugnhack
While this project has been started by the Mozilla Security Team and has been validated with Firefox and OWASP ZAP, this is an open project and we welcome involvement from anyone, especially people working on other browsers and security tools.
594 Plug-n-Hack Phase1 Security, plugnhack
Plug-n-Hack (PnH) phase 1 allows easier integration and defines how security tools can advertise their capabilities to browsers.
595 Plug-n-Hack Phase2 Security, plugnhack
The next phase of Plug-n-Hack (PnH) is still being planned but is intended to allow browsers to advertise their capabilities to security tools.
596 Plug-n-Hack Tools Supported Security, plugnhack
597 Plugin Architecture Add-ons, Developing Mozilla, NeedsTechnicalReview, NeedsUpdate, Plugins
This page contains some notes on how plugins work internally in Gecko. It is mainly of interest to Gecko developers.
598 Porting NSPR to Unix Platforms NSPR
Last modified 16 July 1998
599 Priority Content
Update: I've removed documents from this list that have been migrated into the wiki. The list of completed documents is available through the DevEdge page.
600 Prism prism
Prism is a simple XULRunner-based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site-Specific Browsers (SSB). An SSB is designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and other accoutrements of a traditional web browser. An SSB also offers tighter integration with the operating system and desktop than a typical web application running through a web browser. Applications running in an SSB are therefore able to benefit from many of the advantages of the desktop and of the web at the same time.
601 BlogPosts prism
Just Browsing: Mozilla Prism Update
ThansCorner: Mozilla Prism - Webrunner with Pazzaz
Mozilla Prism - A Revolution in Web Apps
ThansCorner: Mozilla WebRunner 0.7
Site Specific Browsers
WebRunner
Using WebRunner
WebRunner + Gears = Offline Desktop Reader
WebRunner 0.5
WebRunner 0.5 - Mac Support
WebRunner 0.5 - Linux Install
WebRunner, Google Reader, and Google Notebook
Distraction Free GTD - 32+ web app files for online todo lists
Mozilla WebRunner: a one-window, tabless browser with no URL bar
WebRunner becomes Prism - A Mozilla Labs Project
Mozilla Labs: Prism
Alex Faaborg: Prism
Mozilla Prism: Bringing Web Apps to the Desktop
Everyone should use Site Specific Browsers
Mozilla Prism Portable (Spanish)
Prism, l'avenir des applications Web selon Mozilla (French)
Mozilla Prism : bundle custom Google Reader + Talk (French)
Just Browsing: Site-Specific Browsers
602 Build
Building Prism is similar to building McCoy, but there are some differences which is why a separate build documentation article. To build prism, you must first build the xulrunner tree, and then build prism.
603 BundleLibrary prism
No summary!
604 Bundles prism
In addition to passing simple command line parameters, Prism can use a zipped bundle package to install a webapp. The bundle can hold additional resources currently limited to:
605 Configuration prism
A webapp profile is a simple, INI-style text file that specifies some parameters about a webapp. The profile can be used to launch the webapp in Prism. The parameters also control some of the features of the Prism host window. Here is the list of parameters:
606 Extensions
Prism has support for extensions. Extensions are built using the same methods as any Mozilla-based extension. Since Prism is a totally separate host application, there are some Prism-specific issues that you need to handle when creating your extension. Most notably, the Prism application ID and the differences in the user interface (UI). Extensions typically overlay the host application's UI to add toolbar buttons, menus and other features. One of Prism's features is an extreme lack of UI elements, which means that trying to use the same overlays in Firefox and Prism is really not possible.
607 FAQ prism
Prism is an application that integrates web applications into the desktop environment. It lets users start web applications from their desktop, start menu, and dock, and it opens those applications in their own window separate from a web browser and without the browser interface (back and forward buttons, location bar, etc.).
608 HostWindow prism
Prism hosts web applications in a simple, minimal window. The window does have some UI components (as shown in the screenshot below). Prism can be configured to show or hide several of the UI components.
609 Installer prism
The installer should configure the OS to associate *.webapp files with Prism. This means that when you double-click or launch a *.webapp file, Prism is launched and automatically opens the web application.
610 Scripting prism
Prism allows for some client-side web application customization. The web application bundle is allowed to hold a JavaScript file named webapp.js (called the webapp script). This file will be loaded into the Prism chrome window very much like a Firefox extension is loaded into the browser chrome window. It can contain the following functions:
611 Styling prism
Prism allows for some client-side web application styling. The web application bundle is allowed to hold a CSS file named webapp.css (called the webapp style). This file will be loaded into the web application content stylesheet and can override the web application's native styles.
612 Proxy UI
(Recently Added - some support for reading OS and account settings.)
613 PyDOM
This is the documentation for the binding of Python and the Mozilla DOM. This allows you to use Python code (almost) anywhere you can use JavaScript.
614 RDF API
No summary!
615 RDF Datasource How-To RDF
No summary!
616 Reading textual data Add-ons, Extensions, Internationalization, Unicode
This article describes how to read textual data from streams, files and sockets.
617 Remote XUL XUL
How to use XUL delivered from a webserver, not as part of chrome.
618 Remote debugging
When a bug is reproducible by a community member, but not on a developer's computer, a last-resort strategy is to debug it on the community member's computer. The crash victim should at least know how to run a debugger, if not how to use it, and should have a debug build of Firefox handy.
619 Remotely debugging Firefox for Metro
This article explains how to use remote debugging to inspect and code running in the new Windows 8 ("Metro-style") Firefox app, using the developer tools in Firefox on the desktop.
620 Rsyncing the CVS Repository Developing Mozilla
The mozilla.org CVS repository can be downloaded via rsync. This is useful for faster diffs or for attempting to import it into another version control system.
621 Running Windows Debug Builds Downloaded From Tinderbox
If you run the windows debug builds you will often get "This application has failed to start because the application configuration is incorrect..." This is because the debug builds need the msvc80 crt debug dlls. You can see this by looking in at firefox.exe with http://www.dependencywalker.com/.
622 SXSW 2007 presentations Presentations
Presentations about the Mozilla project given at the SXSW 2007 event in Austin, Texas.
623 Safe Browsing
This documentation now lives on the main Mozilla Wiki, see https://wiki.mozilla.org/Safe_Browsing.
624 Safe Browsing: Design Documentation
This documentation now lives on the main Mozilla Wiki, see https://wiki.mozilla.org/Phishing_Protection:_Design_Documentation.
625 Safely loading URIs Add-ons, Extensions, Security
Not all URI loads are safe. For example, loading some file: URIs can hang the browser or even crash the operating system in some cases. Some other schemes are used internally by Mozilla modules to communicate with each other. Finally, some URIs (e.g. chrome: give the loaded page expanded privileges. If a web page gets access to a window with such expanded privileges, it may be able to abuse it to gain access to those privileges itself.
626 Same origin policy for XBL Same-origin policy, Security, XBL
The same origin policy used for XBL documents is different from the policy used for other content. This article provides a description of how the same origin policy for XBL works.
627 Space Manager Detailed Design Gecko
The Space Manager and related classes and structures are an important of the Gecko Layout system, specifically Block Layout. See the High Level Design document for an overview of the Space Manager, and as an introduction to the classes, structures and algorithms container in this, the Detailed Design Document.
628 Space Manager High Level Design Gecko
The Space Manager and associated classes and structures are used by Block and Line layout to manage rectangular regions that are occupied and available, for correct handling of floated elements and the elements that flow around them. When elements are floated to the left or right in a layout, they take up space and influence where other elements can be placed. The Space Manager is responsible for keeping track of where space is taken up and where it is available. This information is used by block layout to correctly compute where other floated elements should be placed, and how much space is available to normal in-flow elements that flow around the floated bits.
629 Standalone XPCOM Outdated articles, Outdated_articles, XPCOM
Standalone XPCOM is a tree configuration that builds a minimal set of libraries (shared mostly) that can be used to get all features of XPCOM. The contents of this standalone XPCOM in general are:
630 Standard Makefile Header
No summary!
631 Static Analysis for Windows Code under Linux
This document will describe how to run Mozilla static check for Windows code under Linux platform by creating a cross-compiler with Dehydra support for Mingw.
632 Stress testing
Consume.exe from the Windows Server 2003 Resource Kit Tools can consume various resources: physical memory, CPU time, page file, disk space and even the kernel pool. Although for Win2003, it should install into WinXP fine (Win2000 compatibility is unknown). The only downside is you can't specify how much of the resource to use, only which one to consume. Also be warned: always remember the -time option, or you may be hitting that physical reset button sooner than you would have liked!
633 String Quick Reference XPCOM
What: Use abstract classes instead of concrete classes when passing strings across function boundaries
634 String Rosetta Stone
FindInReadable(const nsAString& pattern, nsAString::const_iterator start, nsAString::const_iterator end, nsStringComparator& aComparator = nsDefaultStringComparator())
635 Structure of an installable bundle Add-ons, Extensions, Search plugins, Themes, Toolkit API, XULRunner
XULRunner applications, extensions, and themes all share a common directory structure, and in some cases the same bundle can be used as a standalone XULRunner application as well as an installable application extension.
636 Supporting per-window private browsing
Firefox 20 introduced per-window private browsing mode, in which private user data is stored and accessed concurrently with public user data from another window.
637 Supporting private browsing mode Private browsing
Firefox 3.5 introduced private browsing mode, in which potentially private information is not recorded. This includes cookies, history information, download information, and so forth.
638 Table Cellmap Gecko
The table layout use the cellmap for two purposes:
639 Table Cellmap - Border Collapse
This document describes the additional information that is stored for border collapse tables in the cellmap.
640 Table Layout Regression Tests Gecko, Outdated_articles
Changes in layout, parser and content code can have unintended side effects, also known as regressions. It is good style to check for these unwanted regressions and fixing them before checkin rather than causing Bugzilla avalanches.
641 Table Layout Strategy Gecko
The table layout algorithm is based on two W3C recommendations: HTML 4.01 (Chapter 11) and CSS2.1 (Chapter 17).In CSS2 a distinction between fixed and auto layout of tables has been introduced. The auto-layout mechanism is implemented in BasicTableLayoutStrategy.cpp the fixed-layout in FixedTableLayoutStrategy.cpp. All these files are in the layout/html/table/src subdirectory.
642 Tamarin JavaScript, Landing, Tamarin
No summary!
643 ABCasm
ABCasm - an ABC assembler
644 Tamarin Acceptance Testing
In order to ensure that changes to the Tamarin code base are high quality before submitting, all developers are required to complete the following steps.
645 Abc Assembler Tests
It is possible to write tests using the abc assembler.  The assembler code can be found in /utils/abcasm.  Tests can be found in /test/acceptance/abcasm and end with the .abs extension.  The tests are run using the same runtests.py script that is used for the actionscript tests.
646 Actionscript Acceptance Tests
The majority of the acceptance tests are written in actionscript and located in test/acceptance.
647 Tamarin Acceptance Test Template
This is the test template for Tamarin acceptance tests (placed in test/acceptance/feature_name):
648 Actionscript Performance Tests
Performance tests for tamarin are located in the test/performance directory.  Similar to the acceptance tests set the environment variables AVM, ASC, BUILTINABC.  The runtests.py test harness works by parsing the abc stdout for lines like: 'metric time 566'.  The testconfig.txt file defines groups of tests to run (e.g. sunspider, scimark, language).  By default the time for each test is output.  Use the --memory flag to capture the maximum private bytes memory (high water mark) for a test.  By default each test is run a single time.  To run each test multiple times use the --iterations flag.  When the number of iterations is greater than 2 all times are displayed in [], faster time is displayed in the output column, and the 95% confidence interval is calculated.  The 95% confidence interval is the calculated percentage of the mean value to fall within 95% of the measured results.  For example if the mean is 100 and the 95% confidence interval is 2%, 95% of the expected values should fall between 98 and 102.  To compare two vms against each other export AVM2=<path to 2nd vm> or use --avm2=<path to 2nd vm>.   The percentage difference is calculated between the two vms. See the --help usage for more details about performance tests.
649 Cmdline tests
The cmdline testsuite is located in test/cmdline.  The testsuite allows more flexibility by coding scripts in python allowing any executable to run, sending commands to stdin, and asserting output using regular expressions. See test/cmdline/README document for more information.   Two use cases for the cmdline testsuite:
650 Running Tamarin acceptance tests
The Tamarin acceptance tests can be used to verify your installation and or local changes that you have made to the source. To run acceptance tests on the android shell see the "Testing the Android Shell" heading below. Running the Tamarin test suite requires the following steps:
651 Running Tamarin performance tests
The tamarin performance tests can be used to measure performance changes made to tamarin. To run performance tests on the android shell see 'Testing the Android Shell' below. Running the performance tests requires the following steps:
652 Tamarin Build System Documentation
No summary!
653 Tamarin Releases
This page tracks Tamarin source code releases, past, present and future.
654 Tamarin-central rev 703:2cee46be9ce0
Tamarin-Central rev 703:2cee46be9ce0 was declared stable on 12/02/08.  The announcement sent to tamarin-devel can be read here.
655 Tamarin Roadmap
The Tamarin roadmap is intended to provide visibility into planned features and release dates. The roadmap is a living document representing current best thinking and is subject to change. Comments or questions are welcome and encouraged via the tamarin-devel mailing list.
656 Tamarin build documentation Build documentation, Developing Mozilla, Tamarin
The following instructions are for obtaining and building the Tamarin Central source code. For instructions on Tamarin Tracing, please see Tamarin Tracing Build Documentation.
657 Tamarin mercurial commit hook
It is highly recommended that all developers enable the mercurial commit hook for tamarin.  The hook is located in the tamarin-redux repository in the file utils/hooks/tamarin-commit-hook.py
658 The Download Manager schema Firefox 3
The Download Manager uses an SQLite table to keep track of downloads in progress as well as queued and past downloads.
659 The life of an HTML HTTP request Developing Mozilla, DocShell, Guide, Necko, NeedsUpdate
Image:url_load.gif
660 The new nsString class implementation (1999) Outdated_articles, XPCOM
This document is intended to briefly describe the new nsString class architecture, and discuss the implications on memory management, optimizations, internationalization and usage patterns.
661 TraceVis
TraceVis is a performance visualization system for TraceMonkey. If TraceMonkey is built with TraceVis, and run with TraceVis enabled, then TraceMonkey will output a log of all its activity transitions. The log can be postprocessed into a visualization that can be used to rapidly diagnose many tracing-related performance issues.
662 Transforming XML with XSLT:Mozilla XSLT
No summary!
663 Transforming XML with XSLT:The Netscape XSLT
No summary!
664 Treehydra Treehydra
Try the gcc python plugin instead: https://fedorahosted.org/gcc-python-plugin/.
665 Treehydra Build Instructions Dehydra
Follow Dehydra build instructions. This automatically builds Treehydra for you.
666 Treehydra Manual
Treehydra is meant to be used for analyses that need more detail than Dehydra's flattened ASTs. Instead of representing code in "easy" form like Dehydra, Treehydra relies on GIMPLE, the GCC Internals "middle-end" intermediate representation. Treehydra simply reflects the GCC Internals structures into JavaScript.
667 Tuning Pageload Developing Mozilla
Tuning pageload can be beneficial if you know what you're doing. Firefox (and all Mozilla Products/Projects which do page-loading) ship with what are considered the "best" settings for the most cases. This document explains which preferences to tweak to affect your pageload time. You use the URL about:config or the file prefs.js in your profile to change these.
668 URIScheme Necko, NeedsUpdate, URI, URL
List of Mozilla supported URI schemes
669 URIs and URLs Guide, Mozilla, Necko, NeedsUpdate
Handling network and locally retrievable resources is a central part of Necko. Resources are identified by URI "Uniform Resource Identifier" (Taken from RFC 2396):
670 Uriloader Uriloader
Uriloader: Responsible for the dispatch of content to content handlers as it comes in from the network.
671 Using Monotone With Mozilla CVS Build documentation, Developing Mozilla
No summary!
672 Using SVK With Mozilla CVS Developing Mozilla
When working with Mozilla, you tend to accumulate patches which need to be reviewed, super-reviewed, and/or approved before they can be committed to the trunk. When you have only a few uncommitted patches, you can get by using cvs diff, and just editing the output to remove other patches before submitting. However, this approach quickly becomes unscalable, especially when you have different fixes in the same tree. Using a distributed versioning system like SVK takes out much of the hassle of managing your patches.
673 Using addresses of stack variables with NSPR threads on win16 NSPR, Outdated_articles
This is a cautionary note that may be old information for some of you. However, since it affects the portability of code, it was deemed prudent to include a short memo describing the issue.
674 Using cross commit Tools
No summary!
675 Using gdb on wimpy computers
If your computer has less than 256 MB of memory, your computer will become unhappy as GDB loads Mozilla's shared libraries. The solution to this is to delay loading shared libraries until they are actually needed. However, you need to make sure that the base libraries like libc and pthreads are loaded before you tell GDB to stop loading shared libraries. If you don't allow those libraries to be loaded then GDB will not be able to properly debug threads on Linux. Mozilla uses pthreads for its networking library so you need to be able to work in a threaded environment. The best way to do this is to set a breakpoint in main, let the program run until main and then turn off automatic library loading. From there you can allow the program to continue running. Here's an example:
676 Venkman Extensions, Extensions:Tools, JavaScript, JavaScript:Tools, Tools, Venkman, Web Development, Web Development:Tools
Venkman is the code name for Mozilla's JavaScript Debugger. It aims to provide a powerful JavaScript debugging environment for Mozilla based browsers namely Firefox, Netscape 7.x/9.x and SeaMonkey. Note that it is not included in the Gecko-based browsers such as K-Meleon, Galeon and Netscape 8.x. Venkman has been provided as part of the Mozilla install distribution since October 2001, as well as an extension package in XPI format.
677 Using Breakpoints in Venkman Tools, Venkman
This article continues a series of articles on Venkman that began with Venkman Introduction.
678 Venkman Internals Developing Mozilla, Tools, Venkman
Start with Venkman Information.
679 Venkman Introduction Tools, Venkman
A powerful new tool is available for web developers for use in many Mozilla-based products, including Firefox, Mozilla Suite and Netscape 7.x. The JavaScript debugger, also called Venkman, has been a part of the Mozilla browser and the community of web and script developers there for some time. This article provides an overview and some practical examples of using the JavaScript debugger in web applications and web page scripting. This introduction is the first in a series of articles on Venkman and JavaScript debugging. Even if you are already using Venkman, the features, procedures, and tips described here will make you a more confident web developer and debugger.
680 Video presentations Presentations
Mozilla is actively working to produce video presentations that can help you learn how the Mozilla codebase works and how to take advantage of its technology in your own applications and extensions. This article is a jumping-off point to help you find those presentations.
681 When To Use ifdefs Developing Mozilla
The mozilla codebase is used for many different projects and products, including Firefox, Thunderbird, XULRunner, and many others. Sometimes the same basic code is used for multiple projects, but there are small differences needed. "ifdefs", or conditional instructions, are used to build different code
682 Why Embed Gecko Embedding Mozilla
Gecko - the Smart Embedding Choice
683 Windows Build Prerequisites (1.9.0 and 1.9.1 branches)
This document is a guide to the build prerequisites for building the Mozilla 1.9.0 (Firefox 3.0) and 1.9.1 (Firefox 3.5) codebases. For building Mozilla 1.9.2 (Firefox 3.6) or greater, please see Windows Build Prerequisites.
684 Working around the Firefox 1.0.3 DHTML regression DHTML
Please note that the following issues have been fixed for the Firefox 1.0.4 release, and this document applies strictly to the 1.0.3 version of the browser.
685 Writing textual data Add-ons, Extensions, Internationalization, Unicode
This article describes how to write textual data to streams, files and sockets in an internationalization-aware way.
686 XBL Landing, Mozilla, Reference, XBL
XML Binding Language (XBL, sometimes also called Extensible Bindings Language) is a language for describing bindings that can be attached to elements in other documents. The element that the binding is attached to, called the bound element, acquires the new behavior specified by the binding.
687 XBL 1.0 Reference XBL
No summary!
688 Anonymous Content
A binding can specify an anonymous content template using the content element. This template describes a content tree that will be generated around the bound element during binding attachment. An element declared in a bound document using a single tag can then be constructed out of multiple child elements, and this implementation is hidden from the bound document.
689 Binding Attachment and Detachment XBL
Bindings can be attached to elements through CSS using the -moz-binding property.
690 Binding Implementations Mozilla, Reference, XBL
Bindings can define methods and properties on a bound element using the implementation tag. A binding implementation provides a new set of methods and properties that can be invoked directly from the bound element.
691 DOM Interfaces
No summary!
692 Elements XBL
This section is tested and adjusted for the current Firefox implementation. Please edit only if an actual behavior differs from the described one. Please do not edit only on the basis of another XBL specification.
693 Event Handlers
No summary!
694 Example Sticky Notes
No summary!
695 XML in Mozilla NeedsHelp, NeedsUpdate, XML
Mozilla has a relatively good support for XML. Several World Wide Web Consortium (W3C) Recommendations and drafts from the XML family of specifications are supported, as well as other related technologies.
696 XPInstall XPInstall, XPInstall_API_reference
No summary!
697 Creating XPI Installer Modules XPInstall
Mozilla has introduced major changes to the way that themes and all the other parts of the UI are packaged. This new packaging scheme is called XPI (pronounced "zippy"), and interacts with XPInstall. A XPI file typically contains the resources to be installed (in this case the barley.jar we want to have installed in the Mozilla/bin/chrome/ directory) and an install script that guides the installation process.
698 Install Wizards (aka: Stub Installers) XPInstall
No summary!
699 Mac stub installer XPInstall
No summary!
700 Unix stub installer XPInstall
No summary!
701 Windows stub installer XPInstall
No summary!
702 Learn XPI Installer Scripting by Example XPInstall, XPInstall_API_reference
This article uses the installer script from browser.xpi install package as the basis for discussing XPI installations in general. This installer script is relatively short, but it exercises most of the important features of the XPInstall API, and it can easily be used as a template for other more general software installations. In this article, we use the unix install file, but the installers for all the platforms are quite similar, and you can easily take what you learn here and apply it to installations on any platform that mozilla supports.
703 Installer Script
No summary!
704 Using XPInstall to Install Plugins Add-ons, Plugins, XPInstall, XPInstall_API_reference
No summary!
705 Install script template Add-ons, Plugins, XPInstall
No summary!
706 XPInstall API reference XPInstall, XPInstall_API_reference
See complete list
707 Examples
Trigger Scripts and Install Scripts describes typical kinds of script that use the XPInstall API.
708 File.macAlias
In this example, a mac alias is created for software (AppleCD Audio Player) that is installed locally.
709 File.windowsShortcut
In this example, the windowsShortcut method is used to add a shortcut in the Program directory ("Program" is a keyword for the directory in which the program itself is installed, for example, C:\Program Files\Netscape\Netscape 6\" on Windows) to Windows software (misc.exe) that is installed in the "Windows" directory.
710 Install.addDirectory
The Install object's addDirectory method queues an entire directory for installation once performInstall is called.
711 Install.addFile
The Install object's addFile method is the standard way to queue files for installation.
712 InstallTrigger.installChrome
Trigger scripts are typically invoked by JavaScript event handlers on hyperlinks. When a user clicks the link "Install the New Blue theme" in the example below, XPInstall downloads, registers, and installs the theme contained in newblue.xpi to the user's profile directory.
713 InstallTrigger.startSoftwareUpdate
This is a very simple example of the InstallTrigger object's principal method, startSoftwareUpdate, which takes a string representing the path to the XPI and installs that XPI on the local machine.
714 Trigger Scripts and Install Scripts
Trigger scripts are simple installations that can be initiated from event handlers and other JavaScript code on a web page.
715 Windows Install
This example shows the installation of a XPI in which user profile information is contained.
716 File Object
Use the File object to manipulate local files and directories during the installation process.
717 Methods
No summary!
718 Install Object XPInstall_API_reference
Use the Install object to manage the downloading and installation of software with the XPI Installation Manager.
719 Methods
No summary!
720 Properties
No summary!
721 InstallVersion Object
You use InstallVersion objects to contain version information for software.
722 Methods
No summary!
723 Properties
No summary!
724 Return Codes
The methods described in this chapter can return any of the following return codes. In Mozilla/SeaMonkey, these constants are defined as part of the xpinstall object (formerly the SoftwareUpdate object in Netscape Communicator 4.5).
725 WinProfile Object
(Windows only) Windows developers use this object to manipulate the content of a Windows .ini file.
726 Methods
No summary!
727 WinReg Object
(Windows only)
728 Methods
The WinRegValue constructor creates a WinRegValue object.
729 WinRegValue
(Windows only)
730 XPJS Components Proposal Outdated_articles
Draft 1.0
731 XRE
No summary!
732 XTech 2005 Presentations Presentations
No summary!
733 Directions of the Mozilla RDF engine Presentations, RDF
This presentation showed new developments in the Mozilla RDF engine. These include plans to expose the RDF API to public web content, as well as performance and correctness improvements.
734 Extending Gecko with XBL and XTF Presentations, XBL, XTF
This session explored ways to extend Mozilla/Firefox to handle new XML tags and namespaces via drop-in extensions to the layout engine.
735 Mozilla E4X E4X, JavaScript, Presentations
"ECMAScript for XML" (ECMA-357), a new standard for writing and processing XML directly in JavaScript (ECMA-262, ISO-16262). E4X marries XML and JavaScript syntax, and extends JavaScript to include namespaces, qualified names, and XML elements and lists. E4X also adds new JavaScript operators for filtering XML lists, and for enumerating XML children and descendants. Another E4X feature: the ability to bind a W3C DOM document to a new XML object, reflecting the DOM in E4X terms so that updates to either the DOM or the E4X object hierarchy show up in the other.
736 Rich Web
No summary!
737 SVG And Canvas In Mozilla Presentations, SVG
Today's Web browsers offer somewhat limited graphics capabilities to Web developers. Advances in hardware, especially graphics processors, offer the potential for far richer graphics in interactive applications. To realize this potential in Web applications, browsers must expose rich new graphics APIs to Web content. The Mozilla project will meet this challenge with two major new features to be delivered in Firefox 1.5: integrated SVG and a new canvas HTML element. Work is also underway "under the hood" on a new unified graphics architecture that uses 3D graphics processors to accelerate all rendering. This work provides additional benefits to Web developers such as the ability to apply SVG effects to HTML content.
738 XUL - Mozilla's XML User Interface Language Presentations, XUL
Ben Goodger, lead engineer for Mozilla Firefox talked about XUL, Mozilla's XML User Interface toolkit.
739 XTech 2006 Presentations Presentations
No summary!
740 XUL Landing, Mozilla, XUL
XUL (XML User Interface Language) is Mozilla's XML-based language for building user interfaces of applications like Firefox.
741 <statusbarpanel> Deprecated, XUL, XUL Elements, XUL Reference
An individual element of a statusbar. This is a special type of button which is drawn differently. Unlike normal buttons, a statusbarpanel can only have a label or an image but not both. This element is often used with a short label or icon to indicate status, for instance whether the user is online or whether there are new messages.
742 A XUL Bestiary Add-ons, Extensions, NeedsTechnicalReview, XUL
This XULNote presents some of the key concepts and terms in the XUL development environment. The purpose of this article is not to describe these items in any great detail but to define what they are in simple terms. I selected items for this group because they seemed to be either shrouded in mystery, misused as concepts or terms, or underestimated according to their role in XUL and cross-platform development. In contrast to the Mozilla Jargon File, this article describes items of specific interest to the web or content developer looking to establish a context for understanding Mozilla's new technologies -- and in particular Mozilla's XML-based User Interface Language, XUL.
743 Accessibility/XUL Accessibility Reference Accessibility, XUL
This table is designed to show how to expose text properly for various XUL element types. Sections in bold are to draw attention to pieces that are often overlooked for visual layouts. Underlined text may be read by the screen reader.
744 Attribute (XUL) XUL Attributes, XUL Reference
No summary!
745 Flexgroup
"flexgroup" is used to group flexible elements together and should be set to an integer. Elements with a lower flexgroup are flexed first. When those elements have reached their maximum sizes, the elements with the next higher flexgroup are flexed. This process continues until there are no more elements remaining. The same process occurs when decreasing the size, except in the other direction.
746 accelerated XUL, XUL Attribute, XUL Reference
No summary!
747 acceltext XUL Attributes, XUL Reference
No summary!
748 accessible XUL Attributes, XUL Reference
No summary!
749 accesskey Reference, XUL, XUL Attributes, XUL Reference, accesskey
No summary!
750 activetitlebarcolor XUL Attributes, XUL Reference
No summary!
751 afterselected XUL Attributes, XUL Reference
No summary!
752 align Reference, Référence(2), XUL
No summary!
753 allowevents XUL Attributes, XUL Reference
No summary!
754 allownegativeassertions XUL Attributes, XUL Reference
No summary!
755 alternatingbackground XUL Attributes, XUL Reference
No summary!
756 alwaysopenpopup XUL Attributes, XUL Reference
No summary!
757 attribute XUL Attributes, XUL Reference
No summary!
758 autoFillAfterMatch XUL Attributes, XUL Reference
No summary!
759 autocheck XUL Attributes, XUL Reference
No summary!
760 autocompleteenabled XUL Attributes, XUL Reference
No summary!
761 autocompletepopup XUL Attributes, XUL Reference
No summary!
762 autocompletesearch XUL Attributes, XUL Reference
No summary!
763 autocompletesearchparam XUL Attributes, XUL Reference
No summary!
764 autofill XUL Attributes, XUL Reference
No summary!
765 autoscroll XUL Attributes, XUL Reference
No summary!
766 backdrag XUL, XUL Attribute
No summary!
767 beforeselected XUL Attributes, XUL Reference
No summary!
768 bottom XUL Attribute, XUL Reference
No summary!
769 browser.type XUL Attributes, XUL Reference
Type: one of the values below.The type of browser, which can be used to set access of the document loaded inside the browser.
770 browserid XUL, XUL Reference
No summary!
771 button.type XUL Attributes, XUL Reference
No summary!
772 buttonaccesskeyaccept XUL Attributes, XUL Reference
No summary!
773 buttonaccesskeycancel XUL Attributes, XUL Reference
No summary!
774 buttonaccesskeydisclosure XUL Attributes, XUL Reference
No summary!
775 buttonaccesskeyextra1 XUL Attributes, XUL Reference
No summary!
776 buttonaccesskeyextra2 XUL Attributes, XUL Reference
No summary!
777 buttonaccesskeyhelp XUL Attributes, XUL Reference
No summary!
778 buttonalign XUL Attributes, XUL Reference
No summary!
779 buttondir XUL Attributes, XUL Reference
No summary!
780 buttondisabledaccept XUL Attributes, XUL Reference
No summary!
781 buttonlabelaccept XUL Attributes, XUL Reference
No summary!
782 buttonlabelcancel XUL Attributes, XUL Reference
No summary!
783 buttonlabeldisclosure XUL Attributes, XUL Reference
No summary!
784 buttonlabelextra1 XUL Attributes, XUL Reference
No summary!
785 buttonlabelextra2 XUL Attributes, XUL Reference
No summary!
786 buttonlabelhelp XUL Attributes, XUL Reference
No summary!
787 buttonorient XUL Attributes, XUL Reference
No summary!
788 buttonpack XUL Attributes, XUL Reference
No summary!
789 buttons XUL Attributes, XUL Reference
No summary!
790 checkState XUL Attributes, XUL Reference
No summary!
791 checkbox.src XUL Attributes, XUL Reference
No summary!
792 checked XUL Attributes, XUL Reference
No summary!
793 chromemargin XUL, XUL Attribute, XUL Reference
No summary!
794 class XUL Attributes, XUL Reference
No summary!
795 clicktoscroll
clicktoscroll, if true, the arrows must be clicked to scroll the scrollbox content.
796 close XUL Attributes, XUL Reference
No summary!
797 closebutton XUL Attributes, XUL Reference
No summary!
798 closemenu XUL Attributes, XUL Reference
No summary!
799 coalesceduplicatearcs XUL Attributes, XUL Reference
No summary!
800 collapse XUL Attributes, XUL Reference
No summary!
801 collapsed XUL Attributes, XUL Reference
No summary!
802 color XUL Attributes, XUL Reference
No summary!
803 colorpicker.type XUL Attributes, XUL Reference
No summary!
804 cols XUL Attributes, XUL Reference
No summary!
805 command XUL Attributes, XUL Reference
No summary!
806 commandupdater XUL Attributes, XUL Reference
No summary!
807 completedefaultindex XUL Attributes, XUL Reference
No summary!
808 completeselectedindex
No summary!
809 container XUL Attributes, XUL Reference
No summary!
810 containment XUL Attributes, XUL Reference
No summary!
811 contentcontextmenu XUL Attributes, XUL Reference
No summary!
812 contenttooltip XUL Attributes, XUL Reference
No summary!
813 context XUL Attributes, XUL Reference
No summary!
814 contextmenu XUL Attributes, XUL Reference
No summary!
815 control XUL Attributes, XUL Reference
No summary!
816 crop XUL Attributes, XUL Reference
No summary!
817 curpos XUL Attributes, XUL Reference
No summary!
818 current XUL Attributes, XUL Reference
No summary!
819 currentset NeedsHelp, XUL Attributes, XUL Reference
No summary!
820 customindex XUL Attributes, XUL Reference
No summary!
821 customizable XUL Attributes, XUL Reference
No summary!
822 cycler XUL Attributes, XUL Reference
No summary!
823 datasources XUL Attributes, XUL Reference
No summary!
824 datepicker.type XUL Attributes, XUL Reference
No summary!
825 datepicker.value XUL Attributes, XUL Reference
No summary!
826 decimalplaces XUL Attributes, XUL Reference
No summary!
827 default XUL Attributes, XUL Reference
No summary!
828 defaultButton XUL Attributes, XUL Reference
No summary!
829 defaultset XUL Attributes, XUL Reference
No summary!
830 description XUL Attributes, XUL Reference
No summary!
831 dir XUL Attributes, XUL Reference
No summary!
832 disableKeyNavigation XUL Attributes, XUL Reference
No summary!
833 disableautocomplete XUL Attributes, XUL Reference
No summary!
834 disableautoselect XUL Attributes, XUL Reference
No summary!
835 disablechrome XUL, XUL Attribute, XUL Reference
No summary!
836 disableclose XUL Attributes, XUL Reference
No summary!
837 disabled XUL Attributes, XUL Reference
No summary!
838 disablefastfind XUL, XUL Attribute, XUL Reference
No summary!
839 disableglobalhistory
No summary!
840 disablehistory
No summary!
841 disablesecurity XUL Attributes, XUL Reference
No summary!
842 dlgtype XUL Attributes, XUL Reference
No summary!
843 dragging XUL Attributes, XUL Reference
No summary!
844 drawintitlebar
No summary!
845 droppedLinkHandler XUL Attributes, XUL Reference
No summary!
846 editable XUL Attributes, XUL Reference
No summary!
847 editor.type XUL Attributes, XUL Reference
No summary!
848 editortype XUL Attributes, XUL Reference
No summary!
849 element XUL Attributes, XUL Reference
No summary!
850 empty XUL Attributes, XUL Reference
No summary!
851 emptytext XUL Attributes, XUL Reference
No summary!
852 enableColumnDrag XUL Attributes, XUL Reference
No summary!
853 enablehistory XUL Attributes, XUL Reference
No summary!
854 equalsize XUL Attributes, XUL Reference
No summary!
855 eventnode XUL Attributes, XUL Reference
No summary!
856 events XUL Attributes, XUL Reference
No summary!
857 expr XUL Attributes, XUL Reference
No summary!
858 fadein XUL, XUL Attribute, XUL Reference
No summary!
859 findnextaccesskey XUL, XUL Attributes
No summary!
860 findpreviousaccesskey
No summary!
861 first-tab XUL Attributes, XUL Reference
No summary!
862 firstdayofweek XUL Attributes, XUL Reference
No summary!
863 firstpage XUL Attributes, XUL Reference
No summary!
864 fixed XUL Attributes, XUL Reference
No summary!
865 flags XUL Attributes, XUL Reference
No summary!
866 flex XUL Attributes, XUL Reference
No summary!
867 focused XUL Attributes, XUL Reference
No summary!
868 forcecomplete XUL Attributes, XUL Reference
No summary!
869 fullscreenbutton XUL, XUL Attributes, XUL Reference
No summary!
870 grippyhidden XUL Attributes, XUL Reference
No summary!
871 grippytooltiptext XUL Attributes, XUL Reference
No summary!
872 group XUL Attributes, XUL Reference
No summary!
873 handleCtrlTab XUL Attributes, XUL Reference
No summary!
874 height XUL Attributes, XUL Reference
No summary!
875 helpURI XUL Attributes, XUL Reference
No summary!
876 hidden XUL Attributes, XUL Reference
No summary!
877 hidechrome XUL Attributes, XUL Reference
No summary!
878 hidecolumnpicker XUL Attributes, XUL Reference
No summary!
879 hideheader XUL Attributes, XUL Reference
No summary!
880 hideseconds XUL Attributes, XUL Reference
No summary!
881 hidespinbuttons XUL Attributes, XUL Reference
No summary!
882 highlightaccesskey
No summary!
883 highlightnonmatches XUL Attributes, XUL Reference
No summary!
884 homepage XUL Attributes, XUL Reference
No summary!
885 href XUL Attributes, XUL Reference
No summary!
886 icon XUL Attributes, XUL Reference
No summary!
887 iconsize Toolbar, XUL, XUL Attribute
No summary!
888 id XUL Attributes, XUL Reference
No summary!
889 iframe.transparent
No summary!
890 ignoreblurwhilesearching XUL Attributes, XUL Reference
No summary!
891 ignorecase XUL Attributes, XUL Reference
No summary!
892 ignoreincolumnpicker XUL Attributes, XUL Reference
No summary!
893 ignorekeys XUL Attributes, XUL Reference
No summary!
894 image XUL Attributes, XUL Reference
No summary!
895 image.onload
No summary!
896 inactivetitlebarcolor XUL Attributes, XUL Reference
No summary!
897 increment XUL Attributes, XUL Reference
No summary!
898 index XUL Attributes, XUL Reference
No summary!
899 inputtooltiptext XUL Attributes, XUL Reference
No summary!
900 insertafter XUL Attributes, XUL Reference
No summary!
901 insertbefore XUL Attributes, XUL Reference
No summary!
902 instantApply XUL Attributes, XUL Reference
No summary!
903 inverted XUL Attributes, XUL Reference
No summary!
904 iscontainer XUL Attributes, XUL Reference
No summary!
905 isempty XUL Attributes, XUL Reference
No summary!
906 key XUL Attributes, XUL Reference
No summary!
907 keycode XUL Attributes, XUL Reference
No summary!
908 keytext XUL Attributes, XUL Reference
No summary!
909 label XUL Attributes, XUL Reference
No summary!
910 label.value XUL Attributes, XUL Reference
No summary!
911 last-tab XUL Attributes, XUL Reference
No summary!
912 lastSelected XUL Attributes, XUL Reference
No summary!
913 lastpage XUL Attributes, XUL Reference
No summary!
914 left XUL Attributes, XUL Reference
No summary!
915 lightweightthemes Lightweight themes, XUL Attributes, XUL Reference
No summary!
916 lightweightthemesfooter
No summary!
917 linkedpanel XUL Attributes, XUL Reference
No summary!
918 listcell.type XUL Attributes, XUL Reference
No summary!
919 listitem.type XUL Attributes, XUL Reference
No summary!
920 matchcaseaccesskey
No summary!
921 max XUL Attributes, XUL Reference
No summary!
922 maxheight XUL Attributes, XUL Reference
No summary!
923 maxlength XUL Attributes, XUL Reference
No summary!
924 maxpos XUL Attributes, XUL Reference
No summary!
925 maxrows XUL Attributes, XUL Reference
No summary!
926 maxwidth XUL Attributes, XUL Reference
No summary!
927 member XUL Attributes, XUL Reference
No summary!
928 menu XUL Attributes, XUL Reference
No summary!
929 menuactive XUL Attributes, XUL Reference
No summary!
930 menuitem.key XUL Attributes, XUL Reference
No summary!
931 menuitem.name XUL Attributes, XUL Reference
No summary!
932 menuitem.type XUL Attributes, XUL Reference
More information on adding checkmarks to menus in the XUL tutorial
933 min XUL Attributes, XUL Reference
No summary!
934 minheight XUL Attributes, XUL Reference
No summary!
935 minresultsforpopup XUL Attributes, XUL Reference
No summary!
936 minwidth XUL Attributes, XUL Reference
No summary!
937 mode
No summary!
938 modifiers XUL Attributes, XUL Reference
No summary!
939 mousethrough XUL Attributes, XUL Reference
No summary!
940 movetoclick
No summary!
941 multiline XUL Attributes, XUL Reference
No summary!
942 multiple XUL Attributes, XUL Reference
No summary!
943 name XUL Attributes, XUL Reference
No summary!
944 negate XUL Attributes, XUL Reference
No summary!
945 newlines XUL Attributes, XUL Reference
No summary!
946 next XUL Attributes, XUL Reference
No summary!
947 noautofocus XUL Attributes, XUL Reference
No summary!
948 noautohide XUL Attributes, XUL Reference
No summary!
949 noinitialfocus XUL, XUL Attribute, XUL Reference
No summary!
950 nomatch XUL Attributes, XUL Reference
No summary!
951 norestorefocus
No summary!
952 notification.type XUL Attributes, XUL Reference
No summary!
953 object XUL Attributes, XUL Reference
No summary!
954 observes XUL Attributes, XUL Reference
No summary!
955 onbeforeaccept XUL Attributes, XUL Reference
No summary!
956 onbookmarkgroup XUL Attributes, XUL Reference
No summary!
957 onchange NeedsHelp, Reference, Référence(2), XUL Attributes, XUL Reference
An onchange attribute is an event listener to the object for the Event change. A change event is fired in different ways for different XUL Input Elements as listed below:
958 onclick XUL Attributes, XUL Reference
No summary!
959 onclosetab XUL Attributes, XUL Reference
No summary!
960 oncommand XUL Attributes, XUL Reference
No summary!
961 oncommandupdate XUL Attributes, XUL Reference
No summary!
962 onerror XUL Attributes, XUL Reference
No summary!
963 onerrorcommand XUL Attributes, XUL Reference
No summary!
964 oninput XUL Attributes, XUL Reference
No summary!
965 onload XUL Attributes, XUL Reference
No summary!
966 onnewtab XUL Attributes, XUL Reference
No summary!
967 onpaneload XUL Attributes, XUL Reference
No summary!
968 onpopuphidden XUL Attributes, XUL Reference
No summary!
969 onpopuphiding XUL Attributes, XUL Reference
No summary!
970 onpopupshowing XUL Attributes, XUL Reference
No summary!
971 onpopupshown XUL Attributes, XUL Reference
No summary!
972 onsearchbegin XUL, XUL Attributes, XUL Reference
No summary!
973 onsearchcomplete XUL Attributes, XUL Reference
No summary!
974 onselect
No summary!
975 ontextcommand XUL Attributes, XUL Reference
No summary!
976 ontextentered XUL Attributes, XUL Reference
No summary!
977 ontextrevert XUL Attributes, XUL Reference
No summary!
978 ontextreverted XUL Attributes, XUL Reference
No summary!
979 onunload XUL Attributes, XUL Reference
No summary!
980 open NeedsHelp, XUL Attributes, XUL Reference, needsattention
No summary!
981 ordinal XUL Attributes, XUL Reference
No summary!
982 orient XUL Attributes, XUL Reference
No summary!
983 pack XUL Attributes, XUL Reference
No summary!
984 page
No summary!
985 pageid XUL Attributes, XUL Reference
No summary!
986 pageincrement XUL Attributes, XUL Reference
No summary!
987 pagestep XUL Attributes, XUL Reference
No summary!
988 panel.consumeoutsideclicks
No summary!
989 panel.fade XUL, XUL Attribute, XUL Reference
No summary!
990 panel.flip Reference, XUL, XUL Attribute, XUL Reference
No summary!
991 panel.ignorekeys XUL Attributes, XUL Reference
No summary!
992 panel.label XUL Attributes, XUL Reference
No summary!
993 panel.level XUL Attributes, XUL Reference
No summary!
994 panel.noautohide XUL Attributes, XUL Reference
No summary!
995 panel.type Reference, XUL, XUL Attribute, XUL Reference
No summary!
996 parent XUL Attributes, XUL Reference
No summary!
997 parsetype XUL Attributes, XUL Reference
No summary!
998 pending Reference, XUL, XUL Attributes
No summary!
999 persist XUL Attributes, XUL Reference
No summary!
1000 persistence XUL Attributes, XUL Reference
No summary!
1001 phase XUL Attributes, XUL Reference
No summary!
1002 pickertooltiptext XUL Attributes, XUL Reference
No summary!
1003 pinned XUL, XUL Attribute, XUL Reference
No summary!
1004 placeholder XUL Attributes, XUL Reference
No summary!
1005 popup XUL Attributes, XUL Reference
No summary!
1006 popup.left XUL Attributes, XUL Reference
No summary!
1007 popup.position XUL Attributes, XUL Reference
No summary!
1008 popup.top XUL Attributes, XUL Reference
No summary!
1009 popupalign
No summary!
1010 popupanchor
No summary!
1011 position XUL Attributes, XUL Reference
No summary!
1012 predicate XUL Attributes, XUL Reference
No summary!
1013 preference XUL Attributes, XUL Reference
No summary!
1014 preference-editable XUL Attributes, XUL Reference
No summary!
1015 preference.name XUL Attributes, XUL Reference
No summary!
1016 preference.type NeedsHelp, Reference, Référence(2), XUL Attributes, XUL Reference
No summary!
1017 prefpane.selected XUL Attributes, XUL Reference
No summary!
1018 prefpane.src XUL Attributes, XUL Reference
No summary!
1019 prefwindow.onload
No summary!
1020 prefwindow.type XUL Attributes, XUL Reference
No summary!
1021 primary XUL Attributes, XUL Reference
No summary!
1022 priority XUL Attributes, XUL Reference
No summary!
1023 progressmeter.max
No summary!
1024 progressmeter.mode XUL Attributes, XUL Reference
No summary!
1025 progressmeter.value XUL Attributes, XUL Reference
No summary!
1026 properties XUL Attributes, XUL Reference
No summary!
1027 query.name XUL Attributes, XUL Reference
No summary!
1028 query.type XUL Attributes, XUL Reference
No summary!
1029 querytype XUL Attributes, XUL Reference
No summary!
1030 readonly XUL Attributes, XUL Reference
No summary!
1031 ref XUL Attributes, XUL Reference
No summary!
1032 rel XUL Attributes, XUL Reference
No summary!
1033 remote Reference, XUL Reference
No summary!
1034 removeelement XUL Attributes, XUL Reference
No summary!
1035 reserved DOM, Deprecated, events
No summary!
1036 resizeafter XUL Attributes, XUL Reference
No summary!
1037 resizebefore XUL Attributes, XUL Reference
No summary!
1038 resizer.dir XUL Attributes, XUL Reference
No summary!
1039 resizer.element XUL Attributes, XUL Reference
No summary!
1040 resizer.type XUL, XUL Attribute
No summary!
1041 right
No summary!
1042 rows NeedsHelp, XUL Attributes, XUL Reference
No summary!
1043 screenX XUL Attributes, XUL Reference
No summary!
1044 screenY XUL Attributes, XUL Reference
No summary!
1045 script.src XUL Attributes, XUL Reference
No summary!
1046 script.type XUL Attributes, XUL Reference
No summary!
1047 searchSessions XUL Attributes, XUL Reference
No summary!
1048 searchbutton XUL Attributes, XUL Reference
No summary!
1049 searchlabel XUL Attributes, XUL Reference
No summary!
1050 selected XUL Attributes, XUL Reference
No summary!
1051 selectedIndex NeedsHelp, XUL Attributes, XUL Reference
No summary!
1052 seltype XUL Attributes, XUL Reference
No summary!
1053 separator.orient XUL Attributes, XUL Reference
No summary!
1054 setfocus XUL Attributes, XUL Reference
No summary!
1055 showcaret XUL Attributes, XUL Reference
No summary!
1056 showcommentcolumn XUL Attributes, XUL Reference
No summary!
1057 showimagecolumn XUL, XUL Attributes, XUL Reference, popup
No summary!
1058 showpopup XUL Attributes, XUL Reference
No summary!
1059 size XUL Attributes, XUL Reference
No summary!
1060 sizemode XUL Attributes, XUL Reference
This attribute is used to save and restore the state of a window (together with the persist attribute) and for CSS styles (e.g. to hide the resizer grippy on maximized windows).
1061 sizetopopup XUL Attributes, XUL Reference
No summary!
1062 smoothscroll XUL Attributes, XUL Reference
No summary!
1063 sort XUL Attributes, XUL Reference
No summary!
1064 sortActive XUL Attributes, XUL Reference
No summary!
1065 sortDirection XUL Attributes, XUL Reference
No summary!
1066 sortResource XUL Attributes, XUL Reference
No summary!
1067 sortResource2 XUL Attributes, XUL Reference
No summary!
1068 spellcheck XUL Attributes, XUL Reference
The HTML
1069 src XUL Attributes, XUL Reference
No summary!
1070 state XUL Attributes, XUL Reference
No summary!
1071 statedatasource XUL Attributes, XUL Reference
No summary!
1072 statusbar XUL Attributes, XUL Reference
No summary!
1073 statustext Deprecated, XUL Attributes, XUL Reference
No summary!
1074 stringbundle.src XUL Attributes, XUL Reference
No summary!
1075 style XUL Attributes, XUL Reference
No summary!
1076 subject XUL Attributes, XUL Reference
No summary!
1077 substate XUL Attributes, XUL Reference
No summary!
1078 suppressonselect XUL Attributes, XUL Reference
No summary!
1079 tab.selected XUL, XUL Attributes, XUL Reference
No summary!
1080 tabindex XUL Attributes, XUL Reference
No summary!
1081 tabmodalPromptShowing XUL, XUL Methods, XUL Reference
No summary!
1082 tabs.onselect XUL Attributes, XUL Reference
No summary!
1083 tabscrolling XUL Attributes, XUL Reference
No summary!
1084 targets XUL Attributes, XUL Reference
No summary!
1085 template XUL Attributes, XUL Reference
No summary!
1086 template.container XUL Attributes, XUL Reference
No summary!
1087 textbox.autoFill
No summary!
1088 textbox.crop XUL Attributes, XUL Reference
No summary!
1089 textbox.disableAutocomplete
No summary!
1090 textbox.disablehistory XUL Attributes, XUL Reference
No summary!
1091 textbox.empty XUL Attributes, XUL Reference
No summary!
1092 textbox.forceComplete
No summary!
1093 textbox.ignoreBlurWhileSearching
No summary!
1094 textbox.label XUL Attributes, XUL Reference
No summary!
1095 textbox.min XUL, XUL Attribute, XUL Reference
No summary!
1096 textbox.minResultsForPopup
No summary!
1097 textbox.onblur XUL, XUL Attributes, XUL Reference
No summary!
1098 textbox.onchange XUL Attributes, XUL Reference
No summary!
1099 textbox.onfocus XUL, XUL Attributes, XUL Reference
No summary!
1100 textbox.showCommentColumn
No summary!
1101 textbox.tabScrolling
No summary!
1102 textbox.type XUL Attributes, XUL Reference
No summary!
1103 textbox.value XUL Attributes, XUL Reference
No summary!
1104 textnode.value XUL Attributes, XUL Reference
No summary!
1105 timeout XUL Attributes, XUL Reference
No summary!
1106 timepicker.increment XUL Attributes, XUL Reference
No summary!
1107 timepicker.value XUL Attributes, XUL Reference
No summary!
1108 title XUL Attributes, XUL Reference
No summary!
1109 titlebar
No summary!
1110 toolbar.mode XUL Attributes, XUL Reference
No summary!
1111 toolbarbutton.title
No summary!
1112 toolbarbutton.type XUL Attributes, XUL Reference
No summary!
1113 toolbarname XUL Attributes, XUL Reference
No summary!
1114 tooltip XUL Attributes, XUL Reference
No summary!
1115 tooltiptext XUL Attributes, XUL Reference
No summary!
1116 tooltiptextnew XUL Attributes, XUL Reference
No summary!
1117 top XUL Attributes, XUL Reference
No summary!
1118 tree.editable XUL Attributes, XUL Reference
No summary!
1119 tree.onselect XUL Attributes, XUL Reference
No summary!
1120 treecell.editable XUL Attributes, XUL Reference
No summary!
1121 treecell.mode XUL Attributes, XUL Reference
No summary!
1122 treecell.src XUL Attributes, XUL Reference
No summary!
1123 treecol.editable XUL Attributes, XUL Reference
No summary!
1124 treecol.src XUL Attributes, XUL Reference
No summary!
1125 treecol.type XUL Attributes, XUL Reference
No summary!
1126 treecol.width XUL Attributes, XUL Reference
No summary!
1127 treeitem.label XUL Attributes, XUL Reference
No summary!
1128 treelines
No summary!
1129 type
No summary!
1130 unread XUL, XUL Attributes, XUL Reference
No summary!
1131 uri XUL, XUL Attribute, XUL Reference
No summary!
1132 userAction XUL Attributes, XUL Reference
No summary!
1133 validate XUL Attributes, XUL Reference
No summary!
1134 value XUL Attributes, XUL Reference
No summary!
1135 var XUL Attributes, XUL Reference
No summary!
1136 visuallyselected
No summary!
1137 wait-cursor XUL Attributes, XUL Reference
No summary!
1138 where.subject XUL Attributes, XUL Reference
No summary!
1139 where.value XUL Attributes, XUL Reference
No summary!
1140 width XUL Attributes, XUL Reference
No summary!
1141 windowtype XUL Attributes, XUL Reference
No summary!
1142 wrap XUL Attributes, XUL Reference
No summary!
1143 wraparound XUL Attributes, XUL Reference
No summary!
1144 Building accessible custom components in XUL Accessibility, DHTML, XUL
DHTML Accessibility is a new technology which enables developers to construct accessible controls within (X)HTML pages. Developers have been doing this for some time, but the resulting controls were never as accessible as similar controls in desktop applications. Assistive technologies could only see the generic HTML markup used to build the control; they had no way of knowing that a particular collection of div and span elements should be treated as a single cohesive control (such as a tab bar or a treeview).
1145 Deprecated and defunct markup Reference, XUL
{many elements on this page are wrongly marked as deprecated, this page needs review}
1146 Dynamically modifying XUL-based user interface Add-ons, DOM, Extensions, XUL
This article discusses manipulating XUL interfaces, using DOM and other APIs. It explains the concept of DOM documents, demonstrates a few simple examples of using DOM calls to perform basic manipulations on a document, and then demonstrates working with anonymous XBL content using Mozilla-specific methods.
1147 FileGuide
See IO
1148 Accessing Files
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1149 Getting File Information
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1150 IO
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1151 Moving, Copying and Deleting Files
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1152 Reading from Files
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1153 TOC
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1154 Uploading and Downloading Files
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1155 Working With Directories
File and Stream Guide: [ nsIScriptableIO | Accessing Files | Getting File Information | Reading from Files | Writing to Files | Moving, Copying and Deleting Files | Uploading and Downloading Files | Working With Directories ]
1156 Writing to Files
To write to a file, an output stream is used. An output stream is an object which can be used to write bytes, strings and other values to a file. To create an output stream, use nsIScriptableIO.newOutputStream(). This method has a number of options to specify text or binary writing, the character set, and whether to append to an existing file or create a new one.
1157 How to Quit a XUL Application XUL, XULRunner
Script can attempt to quit a XUL application, or force the application to quit, using the nsIAppStartup interface.
1158 How to implement a custom XUL query processor component
XUL supports templating to create a block of content from a datasource query. The XUL Template Guide has lots of detailed information on using XUL templates. XUL provides template query processors for RDF, XML and SQL (mozStorage). The templating system also supports building custom query processors. Custom query processors are XPCOM components, must implement the nsIXULTemplateQueryProcessor interface and follow some conventions for when registering the component.
1159 Index
Found 1218 pages:
1160 International characters in XUL JavaScript Firefox, Gecko, Guide, Internationalization, JavaScript, Mozilla, XPCOM, XUL
Gecko 1.8, as used in Firefox 1.5 and other applications, added support for non-ASCII characters in JavaScript files loaded from XUL files.
1161 Introduction to XUL Guide, XUL
Mozilla has configurable, downloadable chrome, meaning that the arrangement and even presence or absence of controls in the main window is not hardwired into the application, but loaded from a separate UI description. In fact, most of Mozilla's windows (and dialogs) will be described using this mechanism. XUL (pronounced "zool," as if that spelling helped any, and short for "XML User Interface Language") is our name for the language in which these UI descriptions are built.
1162 List of commands XUL
The following lists commands which might be usable by <command> or command dispatchers/controllers.
1163 Menus Add-ons, Extensions, NeedsContent, Reference, Référence(2), XUL
An extension will often wish to attach a new command to a menu. To do this, the new menu will need to be laid over the existing menu which the item should be displayed upon. For more information about how to use an overlay to modify a menu, see Using Menus and Popups in Extensions
1164 Methods XUL Methods, XUL Reference
No summary!
1165 acceptDialog XUL Methods, XUL Reference
No summary!
1166 addItemToSelection XUL Methods, XUL Reference
No summary!
1167 addPane XUL Methods, XUL Reference
No summary!
1168 addProgressListener XUL Methods, XUL Reference
No summary!
1169 addSession XUL Methods, XUL Reference
No summary!
1170 addTab Method, Mozilla, Reference, XUL, XUL Methods, XUL Reference
No summary!
1171 addTabsProgressListener
No summary!
1172 advance XUL Methods, XUL Reference
No summary!
1173 advanceSelectedTab XUL Methods, XUL Reference
No summary!
1174 appendCustomToolbar XUL Methods, XUL Reference
No summary!
1175 appendGroup XUL Methods, XUL Reference
No summary!
1176 appendItem XUL Methods, XUL Reference
No summary!
1177 appendNotification XUL Methods, XUL Reference
No summary!
1178 blur XUL Methods, XUL Reference
No summary!
1179 cancel XUL Methods, XUL Reference
No summary!
1180 cancelDialog XUL Methods, XUL Reference
No summary!
1181 centerWindowOnScreen XUL Methods, XUL Reference
No summary!
1182 checkAdjacentElement XUL Methods, XUL Reference
No summary!
1183 clearResults NeedsContent, NeedsHelp, XUL Methods, XUL Reference
No summary!
1184 clearSelection XUL Methods, XUL Reference
No summary!
1185 click XUL Methods, XUL Reference
No summary!
1186 close XUL Methods, XUL Reference
No summary!
1187 collapseToolbar XUL Methods, XUL Reference
No summary!
1188 contains XUL Methods, XUL Reference
No summary!
1189 decrease XUL Methods, XUL Reference
No summary!
1190 decreasePage XUL Methods, XUL Reference
No summary!
1191 doCommand XUL Methods, XUL Reference
No summary!
1192 ensureElementIsVisible XUL Methods, XUL Reference
No summary!
1193 ensureIndexIsVisible XUL Methods, XUL Reference
No summary!
1194 ensureSelectedElementIsVisible XUL Methods, XUL Reference
No summary!
1195 expandToolbar XUL Methods, XUL Reference
No summary!
1196 extra1 XUL Methods, XUL Reference
No summary!
1197 extra2 XUL Methods, XUL Reference
No summary!
1198 focus XUL Methods, XUL Reference
No summary!
1199 getBrowserAtIndex XUL Methods, XUL Reference
No summary!
1200 getBrowserForDocument Method, Mozilla, Reference, XUL, XUL Methods, XUL Reference
No summary!
1201 getBrowserForTab XUL Methods, XUL Reference
No summary!
1202 getBrowserIndexForDocument XUL Methods, XUL Reference
No summary!
1203 getButton XUL Methods, XUL Reference
No summary!
1204 getDefaultSession XUL Methods, XUL Reference
No summary!
1205 getEditor XUL Methods, XUL Reference
No summary!
1206 getElementsByAttribute XUL Methods, XUL Reference
No summary!
1207 getElementsByAttributeNS XUL Methods, XUL Reference
No summary!
1208 getFormattedString XUL Methods, XUL Reference
If you need to handle substitutions involving plurals, take a look at Localization and Plurals.
1209 getHTMLEditor XUL Methods, XUL Reference
No summary!
1210 getIcon XUL, XUL Methods, XUL Reference
No summary!
1211 getIndexOfFirstVisibleRow XUL Methods, XUL Reference
No summary!
1212 getIndexOfItem XUL Methods, XUL Reference
No summary!
1213 getItemAtIndex XUL Methods, XUL Reference
No summary!
1214 getNextItem XUL Methods, XUL Reference
No summary!
1215 getNotificationBox XUL Methods, XUL Reference
No summary!
1216 getNotificationWithValue XUL Methods, XUL Reference
No summary!
1217 getNumberOfVisibleRows XUL Methods, XUL Reference
No summary!
1218 getPageById XUL Methods, XUL Reference
No summary!
1219 getPreviousItem XUL Methods, XUL Reference
No summary!
1220 getResultAt XUL Methods, XUL Reference
No summary!
1221 getResultCount NeedsHelp, XUL Methods, XUL Reference
No summary!
1222 getResultValueAt XUL Methods, XUL Reference
No summary!
1223 getRowCount XUL Methods, XUL Reference
No summary!
1224 getSearchAt XUL Methods, XUL Reference
No summary!
1225 getSelectedItem XUL Methods, XUL Reference
No summary!
1226 getSession XUL Methods, XUL Reference
No summary!
1227 getSessionByName XUL Methods, XUL Reference
No summary!
1228 getSessionResultAt XUL Methods, XUL Reference
No summary!
1229 getSessionStatusAt XUL Methods, XUL Reference
No summary!
1230 getSessionValueAt XUL Methods, XUL Reference
No summary!
1231 getString XUL Methods, XUL Reference
No summary!
1232 getTabForBrowser Method, Mozilla, Reference, Référence(2), XUL, XUL Methods, XUL Reference
No summary!
1233 getTabModalPromptBox XUL, XUL Methods, XUL Reference
No summary!
1234 goBack XUL Methods, XUL Reference
No summary!
1235 goBackGroup XUL Methods, XUL Reference
No summary!
1236 goDown XUL Methods, XUL Reference
No summary!
1237 goForward XUL Methods, XUL Reference
No summary!
1238 goForwardGroup XUL Methods, XUL Reference
No summary!
1239 goHome XUL Methods, XUL Reference
No summary!
1240 goTo XUL Methods, XUL Reference
No summary!
1241 goUp XUL Methods, XUL Reference
No summary!
1242 gotoIndex XUL Methods, XUL Reference
No summary!
1243 hasUserValue XUL Methods, XUL Reference
No summary!
1244 hidePopup XUL Methods, XUL Reference
No summary!
1245 increase XUL Methods, XUL Reference
No summary!
1246 increasePage XUL Methods, XUL Reference
No summary!
1247 insertItem XUL Methods, XUL Reference
The id should match an element in the toolbar's toolbarpalette. Some special ids may also be used to create special spacing items:
1248 insertItemAt XUL Methods, XUL Reference
No summary!
1249 invertSelection XUL Methods, XUL Reference
No summary!
1250 loadGroup XUL Methods, XUL Reference
No summary!
1251 loadOneTab Method, Mozilla, Reference, XUL, XUL Methods, XUL Reference
No summary!
1252 loadTabs XUL Methods, XUL Reference
No summary!
1253 loadURI XUL Methods, XUL Reference
NOTE: This is the XUL method on <browser> / <tabbrowser>, not the global function in chrome://browser/content/browser.js. Please check which one you're documenting! (This one has no post data parameter, see loadURIWithFlags for a version that does)
1254 loadURIWithFlags XUL Methods, XUL Reference
(See nsIWebNavigation.loadURI() for details on the referrer and postData parameters.)
1255 makeEditable XUL Methods, XUL Reference
No summary!
1256 menulist.appendItem XUL Methods, XUL Reference
No summary!
1257 menulist.select XUL Methods, XUL Reference
No summary!
1258 moveByOffset XUL Methods, XUL Reference
No summary!
1259 moveTabTo XUL Methods, XUL Reference
No summary!
1260 moveTo XUL Methods, XUL Reference
No summary!
1261 moveToAlertPosition XUL Methods, XUL Reference
No summary!
1262 onFindAgainCommand
No summary!
1263 onSearchComplete NeedsHelp, XUL Methods, XUL Reference
No summary!
1264 onTextEntered NeedsHelp, XUL Methods, XUL Reference
No summary!
1265 onTextReverted NeedsHelp, XUL Methods, XUL Reference
No summary!
1266 open
No summary!
1267 openPopup XUL Methods, XUL Reference
Opens the popup relative to a specified node at a specific location.
1268 openPopupAtScreen XUL Methods, XUL Reference
No summary!
1269 openSubDialog XUL Methods, XUL Reference
No summary!
1270 openWindow XUL Methods, XUL Reference
No summary!
1271 pinTab XUL, XUL Attribute, XUL Reference
No summary!
1272 preferenceForElement XUL Methods, XUL Reference
No summary!
1273 reload XUL Methods, XUL Reference
No summary!
1274 reloadAllTabs XUL Methods, XUL Reference
No summary!
1275 reloadTab XUL Methods, XUL Reference
No summary!
1276 reloadWithFlags XUL Methods, XUL Reference
No summary!
1277 removeAllItems XUL Methods, XUL Reference
No summary!
1278 removeAllNotifications XUL Methods, XUL Reference
No summary!
1279 removeAllTabsBut XUL Methods, XUL Reference
No summary!
1280 removeCurrentNotification XUL Methods, XUL Reference
No summary!
1281 removeCurrentTab XUL Methods, XUL Reference
No summary!
1282 removeItemAt XUL Methods, XUL Reference
No summary!
1283 removeItemFromSelection XUL Methods, XUL Reference
No summary!
1284 removeNotification XUL Methods, XUL Reference
No summary!
1285 removeProgressListener XUL Methods, XUL Reference
No summary!
1286 removeSession NeedsHelp, XUL Methods, XUL Reference
No summary!
1287 removeTab XUL Methods, XUL Reference
No summary!
1288 removeTabsProgressListener XUL Methods, XUL Reference
No summary!
1289 removeTransientNotifications XUL Methods, XUL Reference
No summary!
1290 replaceGroup XUL Methods, XUL Reference
No summary!
1291 reset XUL Methods, XUL Reference
No summary!
1292 rewind XUL Methods, XUL Reference
No summary!
1293 scrollByIndex XUL Methods, XUL Reference
No summary!
1294 scrollByPixels XUL Methods, XUL Reference
No summary!
1295 scrollToIndex XUL Methods, XUL Reference
No summary!
1296 select XUL Methods, XUL Reference
No summary!
1297 selectAll XUL Methods, XUL Reference
No summary!
1298 selectItem XUL Methods, XUL Reference
No summary!
1299 selectItemRange XUL Methods, XUL Reference
No summary!
1300 selectTabAtIndex Method, Reference, XUL, XUL Methods, XUL Reference
No summary!
1301 setIcon XUL, XUL Methods, XUL Reference
No summary!
1302 setSelectionRange XUL Methods, XUL Reference
No summary!
1303 showOnlyTheseTabs Method, Reference, XUL
No summary!
1304 showPane XUL Methods, XUL Reference
No summary!
1305 showPopup NeedsHelp, NeedsRewrite, XUL Methods, XUL Reference
No summary!
1306 sizeTo XUL Methods, XUL Reference
No summary!
1307 startEditing XUL Methods, XUL Reference
No summary!
1308 startFind
No summary!
1309 stop XUL Methods, XUL Reference
No summary!
1310 stopEditing XUL Methods, XUL Reference
No summary!
1311 swapDocShells XUL Methods, XUL Reference
No summary!
1312 syncSessions NeedsHelp, XUL Methods, XUL Reference
No summary!
1313 timedSelect XUL Methods, XUL Reference
No summary!
1314 toggleHighlight
No summary!
1315 toggleItemSelection XUL Methods, XUL Reference
No summary!
1316 unpinTab XUL, XUL Attribute, XUL Reference
No summary!
1317 Namespaces Add-ons, Extensions
No summary!
1318 Node
This is a scriptable interface corresponding to the nsIDOMNode XPCOM interface.
1319 Other Resources XUL
No summary!
1320 Popup Guide XUL, XUL Popup Guide
No summary!
1321 ContextMenus XUL, XUL Popup Guide
A context menu is a menu where the items on the menu are specific to the context in which the menu was opened. A typical usage is for the user to right-click on an element to display a menu of commands pertaining to what was clicked on.
1322 Extensions XUL, XUL Popup Guide
The main menu bar in Firefox has the id 'main-menubar'. To add a new menu onto the main application menubar, you will need to overlay this menubar. For instance:
1323 Floating Panels
A floating panel is used for secondary popups such as tool palettes and property inspector panels. It will have a titlebar which the user may use to move the panel around on the screen. A floating panel can be created using the panel element with at least two additional attributes as in the following example:
1324 MenuButtons XUL, XUL Popup Guide
Menus may be attached to buttons in several ways. Both the button and the toolbar button elements support two special types used for creating menu buttons.
1325 MenuItems XUL, XUL Popup Guide
The menuitem element has a number of features beyond just being a label for a menu command.
1326 MenuModification XUL, XUL Popup Guide
Menus have a number of methods which may be used to add and remove items.
1327 Menus XUL, XUL Popup Guide
A menu provides a list of commands that the user can carry out.
1328 MoveResize XUL, XUL Popup Guide
No summary!
1329 OpenClose XUL, XUL Popup Guide
Popups and menus may be opened and closed by a script.
1330 Panels XUL, XUL Popup Guide
A panel is a popup which can support any type of content. It is used when supporting temporary popup displays for selecting or entering data.
1331 PopupEvents XUL, XUL Popup Guide
There are several events related to popups and menus.
1332 PopupKeys XUL, XUL Popup Guide
When using a menupopup element, a keyboard listener is attached to the window that will handle keypresses for the menu. This allows items within the menu to be navigated with the cursor keys. The following table lists the keys that are checked, and what the menu keyboard listener does in response:
1333 Positioning XUL, XUL Popup Guide
There are several ways in which the location of a popup on screen may be controlled.
1334 Special per-platform menu considerations Beginner, Guide, XUL, XUL Popup Guide
For many menu commands, convention dictates where these items will be placed. For instance, the Edit menu always starts with the Undo command if such a feature is available in the application, followed by Redo, Cut, Copy, Paste, and so forth.
1335 Tooltips XUL, XUL Popup Guide
A tooltip is used to provide descriptive help to the user about the control that the mouse is over. For instance, moving the mouse over top of a toolbar button and waiting for a second can display a small popup label containing text describing the button's function. When the mouse is moved again, the tooltip disappears. This is a useful means of providing additional details about a user interface without cluttering up the main interface.
1336 Printing from a XUL App Guide, NeedsContent, XUL
This document will talk about PrintUtils, and the ways that XUL applications can trigger print-related behaviors.
1337 Property XUL Properties, XUL Reference
No summary!
1338 accessKey XUL Properties, XUL Reference
No summary!
1339 accessible XUL Properties, XUL Reference
No summary!
1340 accessibleType XUL Properties, XUL Reference
No summary!
1341 align XUL Properties, XUL Reference
No summary!
1342 allNotifications XUL Properties, XUL Reference
No summary!
1343 allowEvents XUL Properties, XUL Reference
No summary!
1344 alwaysOpenPopup XUL Properties, XUL Reference
No summary!
1345 amIndicator XUL Properties, XUL Reference
No summary!
1346 anchorNode XUL, XUL Properties, XUL Reference
No summary!
1347 appLocale XUL Properties, XUL Reference
No summary!
1348 autoCheck XUL Properties, XUL Reference
No summary!
1349 autoFill XUL Properties, XUL Reference
No summary!
1350 autoFillAfterMatch XUL Properties, XUL Reference
No summary!
1351 boxObject XUL Properties, XUL Reference
No summary!
1352 browser
No summary!
1353 browser.preferences XUL Properties, XUL Reference
No summary!
1354 browsers XUL Properties, XUL Reference
No summary!
1355 builder XUL Properties, XUL Reference
No summary!
1356 builderView XUL Properties, XUL Reference
No summary!
1357 buttons XUL Properties, XUL Reference
No summary!
1358 canAdvance XUL Properties, XUL Reference
No summary!
1359 canGoBack XUL Properties, XUL Reference
No summary!
1360 canGoForward XUL Properties, XUL Reference
No summary!
1361 canRewind XUL Properties, XUL Reference
No summary!
1362 checkState XUL Properties, XUL Reference
No summary!
1363 checked XUL Properties, XUL Reference
No summary!
1364 child XUL Properties, XUL Reference
No summary!
1365 children XUL Properties, XUL Reference
No summary!
1366 className XUL Properties, XUL Reference
No summary!
1367 clickSelectsAll XUL Properties, XUL Reference
No summary!
1368 collapsed XUL Properties, XUL Reference
No summary!
1369 color NeedsContent, NeedsHelp, XUL Properties, XUL Reference
No summary!
1370 colorpicker.open XUL Properties, XUL Reference
No summary!
1371 columns XUL Properties, XUL Reference
No summary!
1372 command XUL Properties, XUL Reference
No summary!
1373 commandManager XUL Properties, XUL Reference
No summary!
1374 completeDefaultIndex XUL Properties, XUL Reference
No summary!
1375 container XUL Properties, XUL Reference
No summary!
1376 contentDocument XUL Properties, XUL Reference
No summary!
1377 contentPrincipal XUL Properties, XUL Reference
No summary!
1378 contentTitle XUL Properties, XUL Reference
No summary!
1379 contentView XUL Properties, XUL Reference
No summary!
1380 contentViewerEdit XUL Properties, XUL Reference
No summary!
1381 contentViewerFile XUL Properties, XUL Reference
No summary!
1382 contentWindow XUL Reference
No summary!
1383 contextMenu XUL Properties, XUL Reference
No summary!
1384 control XUL Properties, XUL Reference
No summary!
1385 controller XUL Properties, XUL Reference
No summary!
1386 controllers XUL Properties, XUL Reference, commands, controllers
No summary!
1387 crop XUL Properties, XUL Reference
No summary!
1388 current XUL Properties, XUL Reference
No summary!
1389 currentIndex XUL Properties, XUL Reference
No summary!
1390 currentItem XUL Properties, XUL Reference
No summary!
1391 currentNotification XUL Properties, XUL Reference
No summary!
1392 currentPage XUL Properties, XUL Reference
No summary!
1393 currentPane XUL Properties, XUL Reference
No summary!
1394 currentSet NeedsHelp, XUL Properties, XUL Reference
No summary!
1395 currentURI XUL Properties, XUL Reference
No summary!
1396 customToolbarCount NeedsHelp, XUL Properties, XUL Reference
No summary!
1397 database XUL Properties, XUL Reference
No summary!
1398 datasources XUL Properties, XUL Reference
No summary!
1399 date XUL Properties, XUL Reference
No summary!
1400 dateLeadingZero XUL Properties, XUL Reference
No summary!
1401 dateValue XUL Properties, XUL Reference
No summary!
1402 datepicker.open XUL Properties, XUL Reference
No summary!
1403 datepicker.value XUL Properties, XUL Reference
No summary!
1404 decimalPlaces XUL Properties, XUL Reference
No summary!
1405 decimalSymbol XUL Properties, XUL Reference
No summary!
1406 deck.selectedPanel XUL Properties, XUL Reference
No summary!
1407 defaultButton XUL Properties, XUL Reference
No summary!
1408 defaultValue XUL Properties, XUL Reference
No summary!
1409 description XUL Properties, XUL Reference
No summary!
1410 dir XUL Properties, XUL Reference
No summary!
1411 disableAutocomplete XUL Properties, XUL Reference
No summary!
1412 disableKeyNavigation NeedsHelp, XUL Properties, XUL Reference
No summary!
1413 disableautoselect XUL Properties, XUL Reference
No summary!
1414 disabled XUL Properties, XUL Reference
No summary!
1415 dlgType XUL Properties, XUL Reference
No summary!
1416 docShell XUL Properties, XUL Reference
No summary!
1417 documentCharsetInfo XUL Properties, XUL Reference
No summary!
1418 editable XUL Properties, XUL Reference
No summary!
1419 editingColumn XUL Properties, XUL Reference
No summary!
1420 editingRow XUL Properties, XUL Reference
No summary!
1421 editingSession XUL Properties, XUL Reference
No summary!
1422 editor XUL Properties, XUL Reference
No summary!
1423 editortype XUL Properties, XUL Reference
No summary!
1424 emptyText XUL Properties, XUL Reference
No summary!
1425 enableColumnDrag XUL Properties, XUL Reference
No summary!
1426 eventNode XUL Properties, XUL Reference
No summary!
1427 externalToolbars Toolbars, XUL, XUL Reference
No summary!
1428 findMode
No summary!
1429 firstOrdinalColumn XUL Properties, XUL Reference
No summary!
1430 firstPermanentChild XUL Properties, XUL Reference
No summary!
1431 flex XUL Properties, XUL Reference
No summary!
1432 flexGroup
No summary!
1433 focused XUL Properties, XUL Reference
No summary!
1434 focusedItem XUL Properties, XUL Reference
No summary!
1435 forceComplete XUL Properties, XUL Reference
No summary!
1436 group XUL Properties, XUL Reference
No summary!
1437 handleCtrlPageUpDown XUL Properties, XUL Reference
No summary!
1438 handleCtrlTab XUL Properties, XUL Reference
No summary!
1439 hasUserValue
No summary!
1440 height XUL Properties, XUL Reference
No summary!
1441 hidden XUL Properties, XUL Reference
No summary!
1442 hideSeconds XUL Properties, XUL Reference
No summary!
1443 highlightNonMatches XUL Properties, XUL Reference
No summary!
1444 homePage XUL Properties, XUL Reference
No summary!
1445 hour XUL Properties, XUL Reference
No summary!
1446 hourLeadingZero XUL Properties, XUL Reference
No summary!
1447 id XUL Properties, XUL Reference
No summary!
1448 ignoreBlurWhileSearching XUL Properties, XUL Reference
No summary!
1449 image XUL Properties, XUL Reference
No summary!
1450 increment XUL Properties, XUL Reference
No summary!
1451 inputField XUL Properties, XUL Reference
No summary!
1452 instantApply
No summary!
1453 inverted XUL Properties, XUL Reference
No summary!
1454 is24HourClock XUL Properties, XUL Reference
No summary!
1455 isPM XUL Properties, XUL Reference
No summary!
1456 isSearching XUL Properties, XUL Reference
No summary!
1457 isWaiting XUL Properties, XUL Reference
No summary!
1458 itemCount XUL Properties, XUL Reference
No summary!
1459 label XUL Properties, XUL Reference
No summary!
1460 labelElement XUL Properties, XUL Reference
No summary!
1461 lastPermanentChild XUL Properties, XUL Reference
No summary!
1462 lastSelected NeedsHelp, XUL Properties, XUL Reference
No summary!
1463 left XUL Properties, XUL Reference
No summary!
1464 linkedPanel XUL Properties, XUL Reference
No summary!
1465 listBoxObject XUL Properties, XUL Reference
No summary!
1466 listbox.currentIndex XUL Properties, XUL Reference
No summary!
1467 locked XUL Properties, XUL Reference
No summary!
1468 markupDocumentViewer XUL Properties, XUL Reference
No summary!
1469 max XUL Properties, XUL Reference
No summary!
1470 maxHeight XUL Properties, XUL Reference
No summary!
1471 maxLength XUL Properties, XUL Reference
No summary!
1472 maxRows XUL Properties, XUL Reference
No summary!
1473 maxWidth XUL Properties, XUL Reference
No summary!
1474 menu XUL Properties, XUL Reference
No summary!
1475 menu.open XUL Properties, XUL Reference
No summary!
1476 menuBoxObject XUL Properties, XUL Reference
No summary!
1477 menuitem.control XUL Properties, XUL Reference
No summary!
1478 menulist.image XUL Properties, XUL Reference
No summary!
1479 menulist.inputField XUL Properties, XUL Reference
No summary!
1480 menupopup XUL Properties, XUL Reference
No summary!
1481 messageManager XUL Properties, XUL Reference
No summary!
1482 min XUL Properties, XUL Reference
No summary!
1483 minHeight XUL Properties, XUL Reference
No summary!
1484 minResultsForPopup XUL Properties, XUL Reference
No summary!
1485 minWidth XUL Properties, XUL Reference
No summary!
1486 minute XUL Properties, XUL Reference
No summary!
1487 minuteLeadingZero XUL Properties, XUL Reference
No summary!
1488 mode XUL Properties, XUL Reference
No summary!
1489 month XUL Properties, XUL Reference
No summary!
1490 monthLeadingZero XUL Properties, XUL Reference
No summary!
1491 name Reference, Référence(2), XUL Properties, XUL Reference
No summary!
1492 next XUL Properties, XUL Reference
No summary!
1493 noMatch XUL Properties, XUL Reference
No summary!
1494 notificationsHidden XUL Properties, XUL Reference
No summary!
1495 object XUL Properties, XUL Reference
No summary!
1496 observes XUL Properties, XUL Reference
No summary!
1497 onFirstPage XUL Properties, XUL Reference
No summary!
1498 onLastPage XUL Properties, XUL Reference
No summary!
1499 open XUL Properties, XUL Reference
No summary!
1500 ordinal XUL Properties, XUL Reference
No summary!
1501 orient XUL Properties, XUL Reference
No summary!
1502 pack XUL Properties, XUL Reference
No summary!
1503 pageCount XUL Properties, XUL Reference
No summary!
1504 pageIncrement XUL Properties, XUL Reference
No summary!
1505 pageIndex XUL Properties, XUL Reference
No summary!
1506 pageStep XUL Properties, XUL Reference
No summary!
1507 pageid XUL Properties, XUL Reference
No summary!
1508 palette XUL Properties, XUL Reference
No summary!
1509 parentContainer XUL Properties, XUL Reference
No summary!
1510 persist XUL Properties, XUL Reference
No summary!
1511 persistence XUL Properties, XUL Reference
No summary!
1512 placeholder XUL Properties, XUL Reference
No summary!
1513 pmIndicator XUL Properties, XUL Reference
No summary!
1514 popup XUL Properties, XUL Reference
No summary!
1515 popupBoxObject XUL Properties, XUL Reference
No summary!
1516 popupOpen XUL Properties, XUL Reference
No summary!
1517 position XUL Properties, XUL Reference
No summary!
1518 predicate XUL Properties, XUL Reference
No summary!
1519 preference.preferences XUL Properties, XUL Reference
No summary!
1520 preferenceElements XUL Properties, XUL Reference
No summary!
1521 preferencePanes XUL Properties, XUL Reference
No summary!
1522 preferences XUL Properties, XUL Reference
No summary!
1523 prefpane.preferences XUL Properties, XUL Reference
No summary!
1524 priority XUL Properties, XUL Reference
No summary!
1525 radio.control XUL Properties, XUL Reference
No summary!
1526 radioGroup XUL Properties, XUL Reference
No summary!
1527 readOnly XUL Properties, XUL Reference
No summary!
1528 ref XUL Properties, XUL Reference
No summary!
1529 resource XUL Properties, XUL Reference
No summary!
1530 resultsPopup XUL Properties, XUL Reference
No summary!
1531 richlistitem.label XUL Properties, XUL Reference
No summary!
1532 scrollBoxObject XUL Properties, XUL Reference
No summary!
1533 scrollIncrement XUL Properties, XUL Reference
No summary!
1534 searchButton XUL Properties, XUL Reference
No summary!
1535 searchCount XUL Properties, XUL Reference
No summary!
1536 searchLabel XUL Properties, XUL Reference
No summary!
1537 searchParam XUL Properties, XUL Reference
No summary!
1538 searchSessions NeedsHelp, XUL Properties, XUL Reference
No summary!
1539 second XUL Properties, XUL Reference
No summary!
1540 secondLeadingZero XUL Properties, XUL Reference
No summary!
1541 securityUI XUL Properties, XUL Reference
No summary!
1542 selType NeedsHelp, XUL Properties, XUL Reference
No summary!
1543 selected XUL Properties, XUL Reference
No summary!
1544 selectedBrowser XUL Properties, XUL Reference
No summary!
1545 selectedCount XUL Properties, XUL Reference
No summary!
1546 selectedIndex XUL Properties, XUL Reference
No summary!
1547 selectedItem XUL Properties, XUL Reference
No summary!
1548 selectedItems XUL Properties, XUL Reference
No summary!
1549 selectedPanel XUL Properties, XUL Reference
No summary!
1550 selectedTab XUL Properties, XUL Reference
No summary!
1551 selectionEnd XUL Properties, XUL Reference
No summary!
1552 selectionStart XUL Properties, XUL Reference
No summary!
1553 selstyle XUL Properties, XUL Reference
No summary!
1554 sessionCount XUL Properties, XUL Reference
No summary!
1555 sessionHistory XUL Properties, XUL Reference
No summary!
1556 showCommentColumn XUL Properties, XUL Reference
No summary!
1557 showImageColumn XUL, XUL Properties, XUL Reference, popup
No summary!
1558 showPopup XUL Properties, XUL Reference
No summary!
1559 size XUL Properties, XUL Reference
No summary!
1560 smoothScroll XUL Properties, XUL Reference
No summary!
1561 spinButtons XUL Properties, XUL Reference
No summary!
1562 src XUL Properties, XUL Reference
No summary!
1563 state XUL Properties, XUL Reference
No summary!
1564 statusText XUL Properties, XUL Reference
No summary!
1565 statusbar XUL Properties, XUL Reference
No summary!
1566 stringBundle XUL Properties, XUL Reference
No summary!
1567 strings XUL Properties, XUL Reference
No summary!
1568 style XUL Properties, XUL Reference
No summary!
1569 subject XUL Properties, XUL Reference
No summary!
1570 suppressOnSelect XUL Properties, XUL Reference
No summary!
1571 tab.control XUL Properties, XUL Reference
No summary!
1572 tabContainer XUL Properties, XUL Reference
No summary!
1573 tabIndex XUL Properties, XUL Reference
No summary!
1574 tabScrolling XUL Properties, XUL Reference
No summary!
1575 tabbox XUL, XUL Properties, XUL Reference
No summary!
1576 tabbox.tabs XUL Properties, XUL Reference
No summary!
1577 tabbrowser.tabs XUL, XUL Properties, XUL Reference
No summary!
1578 tabpanels XUL Properties, XUL Reference
No summary!
1579 tabs XUL Properties, XUL Reference
No summary!
1580 tag XUL Properties, XUL Reference
No summary!
1581 textLength XUL Properties, XUL Reference
No summary!
1582 textValue XUL Properties, XUL Reference
No summary!
1583 textbox.label XUL, XUL Properties, XUL Reference
No summary!
1584 textbox.type XUL Properties, XUL Reference
No summary!
1585 textbox.value XUL Properties, XUL Reference
No summary!
1586 timeout XUL Properties, XUL Reference
No summary!
1587 timepicker.value XUL Properties, XUL Reference
No summary!
1588 title XUL Properties, XUL Reference
No summary!
1589 toolbarName NeedsHelp, XUL Properties, XUL Reference
No summary!
1590 toolbarset XUL Properties, XUL Reference
No summary!
1591 toolboxid Toolbars, XUL, XUL Reference
No summary!
1592 tooltip XUL Properties, XUL Reference
No summary!
1593 tooltipText XUL Properties, XUL Reference
No summary!
1594 top XUL Properties, XUL Reference
No summary!
1595 tree.inputField XUL Properties, XUL Reference
No summary!
1596 treeBoxObject XUL Properties, XUL Reference
No summary!
1597 triggerNode XUL, XUL Properties, XUL Reference
No summary!
1598 type XUL Properties, XUL Reference
No summary!
1599 uri XUL Properties, XUL Reference
No summary!
1600 userAction XUL Properties, XUL Reference
No summary!
1601 value XUL Properties, XUL Reference
No summary!
1602 valueNumber XUL Properties, XUL Reference
No summary!
1603 view XUL Properties, XUL Reference
No summary!
1604 visibleTabs Gecko 2.0, XUL Properties, XUL Reference
No summary!
1605 webBrowserFind XUL Properties, XUL Reference
No summary!
1606 webNavigation NeedsHelp, XUL Properties, XUL Reference
No summary!
1607 webProgress XUL Properties, XUL Reference
No summary!
1608 width XUL Properties, XUL Reference
No summary!
1609 wizardPages XUL Properties, XUL Reference
No summary!
1610 wrapAround XUL Properties, XUL Reference
No summary!
1611 year XUL Properties, XUL Reference
No summary!
1612 yearLeadingZero XUL Properties, XUL Reference
No summary!
1613 Providing Command-Line Options Add-ons, Command Line, Extensions, Guide, XULRunner
Extensions and XUL applications can modify the way command line parameters are handled by writing a component that implements the nsICommandLineHandler interface and registering it in a category.
1614 Notes
No summary!
1615 Sorting and filtering a custom tree view
This is example code for sorting and filtering a custom tree view, that is, a tree whose values are loaded via JavaScript. This will not work for other types of trees, for example RDF-backed or ones created with DOM methods.
1616 Style classes XUL Reference, XUL_Style_classes
No summary!
1617 alert-icon XUL Reference, XUL_Style_classes
No summary!
1618 chromeclass-toolbar XUL Reference, XUL_Style_classes
No summary!
1619 error-icon XUL Reference, XUL_Style_classes
No summary!
1620 groove XUL Reference, XUL_Style_classes
No summary!
1621 groove-thin XUL Reference, XUL_Style_classes
No summary!
1622 header XUL Reference, XUL_Style_classes
No summary!
1623 indent XUL Reference, XUL_Style_classes
No summary!
1624 listcell-iconic XUL Reference, XUL_Style_classes
No summary!
1625 listitem-iconic XUL Reference, XUL_Style_classes
No summary!
1626 menu-iconic XUL, XUL Reference
No summary!
1627 menuitem-iconic XUL Reference, XUL_Style_classes
No summary!
1628 menuitem-non-iconic XUL Reference, XUL_Style_classes
No summary!
1629 message-icon XUL Reference, XUL_Style_classes
No summary!
1630 monospace XUL Reference, XUL_Style_classes
No summary!
1631 plain XUL Reference, XUL_Style_classes
No summary!
1632 question-icon XUL Reference, XUL_Style_classes
No summary!
1633 small-margin XUL Reference, XUL_Style_classes
No summary!
1634 statusbarpanel-iconic XUL Reference, XUL_Style_classes
No summary!
1635 statusbarpanel-iconic-text XUL Reference, XUL_Style_classes
No summary!
1636 statusbarpanel-menu-iconic XUL Reference, XUL_Style_classes
No summary!
1637 text-link XUL Reference, XUL_Style_classes
No summary!
1638 thin XUL Reference, XUL_Style_classes
No summary!
1639 tree-splitter XUL Reference, XUL_Style_classes
No summary!
1640 treecol-image XUL Reference, XUL_Style_classes
No summary!
1641 Template Guide XUL, XUL_Template_Guide
Basics of XUL Templates
1642 Actions XUL, XUL_Template_Guide
The content to generate in a template is specified using the <xul:action> element which should either be the next sibling of the <xul:query> element (if no rules need be specified) or be a direct child of a <xul:rule> element. The content to generate goes directly inside the action element. This content will be copied for each matching result (though see below for an exception) and inserted into the document. Let's look at a simple example first.
1643 Additional Navigation XUL, XUL_Template_Guide
The triples used so far have all had variables in both the subject and object. However, a string value may be used instead. Since the subject of an RDF arc is always a resource, the subject may be a resource URI. The object attribute may be a resource URI or a literal value. Using a literal as the object of a triple is a common way to filter out specific items. For instance, if items were identified with a type, the data could be filtered to include only items of a particular type.
1644 Additional Template Attributes XUL, XUL_Template_Guide
All the templates used so far have had the template placed inside the root element with the datasources attribute. However, you may use the template attribute to refer to a template located elsewhere within the document. This allows you to share the same template among two different parts of the user interface. To use this technique, place a template attribute on the root element set to the id of a template.
1645 Attribute Substitution XUL, XUL_Template_Guide
The effect will be that the ?name part of the attribute will be replaced by the value of the variable ?name. For instance, if the value of ?name is 'Jake', then the attribute value will be 'My name is Jake'. You can include multiple variables in one attribute if desired:
1646 Bindings XUL, XUL_Template_Guide
We can add more triples to the previous example to show more information. For example, a description could be added to a photo. To do this all we need to do is add the necessary data to the RDF datasource and add another <triple> element to the template's statements.
1647 Building Hierarchical Trees XUL, XUL_Template_Guide
No summary!
1648 Building Menus With Templates XUL, XUL_Template_Guide
Menus may be generated using a template in the same manner as other elements. However, unlike with other elements, the content of a menu is only generated once the menu has been opened. This means that a menu created with a template will not have any of the generated items until the user opens the menu, or a script opens the menu. This applies to menus on menubars, submenus, as well as menu-type buttons such as those with a type attribute set to menu. This allows for better performance as the entire content of a complex menu does not need to be created until the user needs to use the menu.
1649 Building Trees XUL, XUL_Template_Guide
The most common element to use with a template is the tree.
1650 Containment Properties
Let's look back at the very first example again. It doesn't have any containers, but we may want to iterate over the relatedItem predicate using the simple query syntax. We can add the containment attribute to do this.
1651 Filtering XUL, XUL_Template_Guide
No summary!
1652 Introduction XUL, XUL_Template_Guide
Each template retrieves its data from a datasource. Several types of datasources are supported by default, RDF, XML and SQLite databases, however, processors may be written to support other types of datasources. In XUL, the datasource is specified by placing the datasources attribute on an element. Typically, the value will be a URI that identifies the location of the data. For example, for an XML datasource, the URL of an XML file is specified. When the XUL parser sees an element with this attribute, it constructs a template builder for the element and attaches it to the element. It is expected that there will be a template inside the element. The template builder loads the datasource, performs a query on the datasource and generates content based on the results in combination with the template. The type of datasource is specified with the querytype attribute. The type affects how the datasource is used as well as the syntax for specifying queries.
1653 Multiple Queries XUL, XUL_Template_Guide
No summary!
1654 Multiple Rule Example XUL, XUL_Template_Guide
No summary!
1655 Multiple Rules XUL, XUL_Template_Guide
No summary!
1656 Namespaces
XML Namespaces can be used in XUL Templates by binding the namespace URI and prefix to the template element.  For example using the following XML document containing a list of people:
1657 RDF Modifications XUL, XUL_Template_Guide
No summary!
1658 RDF Query Syntax XUL, XUL_Template_Guide
Let's look at a simple query with two statements. Each statement is placed as a direct child of the <query> element within the template.
1659 Recursive Generation XUL, XUL_Template_Guide
After generating content, the template builder always repeats the generation for inner levels as far as it can go. Thus, the builder can be said to generate content from the graph recursively. After generating a result's content, the builder starts again using a new parent and starting point. Naturally, the parent will be the new result's content, rather than the outer containing element, and the starting point will be the endpoint of the previous iteration. For the top level generation the parent insertion point is the element with the datasources attribute, in this example a <vbox>. For nested results, the insertion point is the generated element. Here is the content that was generated after one iteration:
1660 Result Generation XUL, XUL_Template_Guide
In this section, we'll look at generating template output using RDF datasources. First, however, some background.
1661 Rule Compilation XUL, XUL_Template_Guide
A XUL template is made up of a query and a series of rules. A query contains instructions for how to retrieve a set of data from the datasource. The exact syntax is dependent on the type of datasource used in the template. For instance, for an SQLite datasource, an SQL statement is used as the query. This will return a table of result records which are then used to generate output. For RDF and XML, the query contains a set of instructions for navigating through the RDF graph or XML document tree. A query is declared with the query tag (new to FF3; FF2 only worked with RDF datasources and had no query tag), which you would place directly inside the <template>. The job of the query is to generate a set of output results.
1662 SQLite Templates XUL, XUL_Template_Guide
No summary!
1663 Simple Example XUL, XUL_Template_Guide
No summary!
1664 Simple Query Syntax XUL, XUL_Template_Guide
No summary!
1665 Sorting Results XUL, XUL_Template_Guide
When results are generated from a query, content is generated in the same order as the results. For an XML datasource, generated content will be output in the order corresponding to the results of the XPath query expression. For an Sqlite datasource, the generated content corresponds to the order of results of the SQL query. For an RDF datasource, again, the results are in the order the query generates them, although except in the case of an RDF Seq, this order is arbitrary as RDF triples don't occur in any particular order. When the reference node is an RDF Seq container and the results are in that container, however, the template builder orders the results in the order the items appear in the Seq. For instance, the photos are listed in the same order in this example as they appear in the Seq in the datasource.
1666 Special Condition Tests XUL, XUL_Template_Guide
There are several additional types of conditional tests that may be performed.
1667 Static Content XUL, XUL_Template_Guide
No summary!
1668 Template Builder Interface XUL, XUL_Template_Guide
When inserting an element into a XUL document, the element is checked to see if it has a datasources attribute. If so, a template builder will be created for the element and attached to the element. If the element is a <tree> element and has the flags attribute set to "dont-build-content", a tree builder will be created. Otherwise, a content builder will be created. Both types of builder share much of the same code except for how they generate output to be displayed. Both types of builders implement the nsIXULTemplateBuilder interface, while the tree builder also implements the nsIXULTreeBuilder interface.
1669 Template Logging
Debugging problems with a template can be difficult as many problems are logic errors that are often not possible to determine automatically. For example, if you spell a value wrong, no data may be returned, but the template system won't know that that this was because of a spelling error, or simply that there shouldn't be any data anyway. Fortunately, some debugging and logging support is provided with templates that may help.
1670 Template and Tree Listeners XUL, XUL_Template_Guide
There are several listeners (or observers) used during the template build process, each used for different purposes. These each implement a different XPCOM interface, as listed below:
1671 Using Multiple Queries to Generate More Results XUL, XUL_Template_Guide
No summary!
1672 Using Recursive Templates XUL, XUL_Template_Guide
You may recall that templates generate content recursively. After the data is generated, each result is used as the new reference point for a nested iteration of the template. This is usually used to generate content in a tree or menu. Both the RDF and XML datasource types support recursion. For example, using this XML datasource:
1673 XML Assignments XUL, XUL_Template_Guide
No summary!
1674 XML Templates XUL, XUL_Template_Guide
Mozilla also supports the use of XML datasources. An XML document will be loaded and XPath expressions may be used to take portions of the XML document and generate content from these. When an XML source is desired, specify a querytype attribute on the root node of the template to the value xml. This indicates to the template builder that an XML source is being used as that the queries use syntax that is specific to XML.
1675 Textbox (XPFE autocomplete) XUL Elements, XUL Reference
This element is created by setting the type attribute of a textbox to autocomplete. It is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
1676 The Joy of XUL Guide, Mozilla, XPCOM, XPConnect, XUL
This guide is designed to introduce application developers and their managers to XUL so they can not only understand why Mozilla's platform is based on it, but how they might adopt it for their own use. XUL (pronounced "zool") is Mozilla's XML-based user interface language that lets you build feature rich cross-platform applications that can run connected to or disconnected from the Internet. These applications are easily customized with alternative text, graphics, and layout so they can be readily branded or localized for various markets. Web developers already familiar with Dynamic HTML (DHTML) will learn XUL quickly and can start building applications right away.
1677 Things I've tried to do with XUL XUL
This is a grab-bag type of FAQ, with a list of things that should work (hopefully with bug numbers), things that don't work (hopefully with explanations), and workarounds for both of the above. Feel free to add your own XUL experiences here.
1678 Toolbars
Toolbars, implemented using the XUL toolbar element, are containers for toolbar buttons and other user interface objects. The following articles provide details about implementing and working with toolbars.
1679 Creating toolbar buttons (Customize Toolbar Window) Add-ons, Extensions, Firefox 3, Toolbars, XUL
This article explains how to add a toolbar button to a Toolkit application (such as Firefox, Thunderbird, or Kompozer) using overlays. Its intended audience is extension developers with a basic knowledge of XUL and CSS.
1680 Custom toolbar button Add-ons, Extensions, SeaMonkey, Toolbars, XUL, thunderbird
This page tells you step-by-step how to make a custom toolbar button in Firefox, SeaMonkey 2.0, Thunderbird or Sunbird. (For SeaMonkey 1.x, see the page Custom Toolbar Button:SeaMonkey.)
1681 Code Samples Add-ons, Extensions
This page contains sample code that you can use with the Custom Toolbar Button tutorial.
1682 Complete
This page is for readers who have followed the Custom Toolbar Button tutorial for Firefox, Thunderbird and Sunbird, or the Custom Toolbar Button:SeaMonkey tutorial for SeaMonkey, and who want to learn more about developing extensions.
1683 SeaMonkey - making custom toolbar (SM ver. 1.x) Add-ons, Extensions, SeaMonkey
This page tells you step-by-step how to make a custom toolbar button in SeaMonkey 1.x. (For SeaMonkey 2, Firefox, Thunderbird and Sunbird, see the page: Custom Toolbar Button)
1684 Toolbar customization events Toolbars, XUL
When toolbars are customized, events are sent to their parent window. You can use window.addEventListener() to listen for these events in order to keep abreast of changes to toolbars.
1685 Tree Widget Changes XUL
This describes changes in XUL Trees API for Gecko 1.8.
1686 Urlbar-icons XUL Reference, XUL_Element
The location of UI elements like the bookmarks, feed and go buttons. Create new image or button child elements to add your own items.
1687 Using Remote XUL XUL
XUL (pronounced like "zool"), which is short for XML-based User Interface Language, is an XML-based language for describing application interfaces. It contains elements for all common UI widgets (menus, buttons, toolbars, etc.) and many sophisticated ones (trees, browsers, color pickers).
1688 Using Visual Studio as your XUL IDE
Compared to a simple text-editor, Visual Studio gives you some special features when writing XUL:
1689 Using multiple DTDs Internationalization, Localization, XUL
No summary!
1690 Using nsIXULAppInfo Add-ons, Extensions
Starting with Mozilla/XULRunner 1.8, there now is a way to find out which application, application version, and Gecko version your code is running on.
1691 Using spell checking in XUL Add-ons, Extensions
Spell checking functionality is available starting in Firefox 2. This document describes how to use the mozISpellCheckingEngine component to add spell checking capabilities to your Firefox extension.
1692 Using the Editor from XUL XUL
The editor in XUL lives on top of a XUL <iframe> element; it observes document loading in this <iframe>, and, when document loading is complete, it instantiates an editor on the loaded document. The <iframe> contents are then editable.
1693 Using the standard theme Add-ons, Extensions, Themes
No summary!
1694 Widget Cheatsheet
See the Periodic Table of XUL for more examples.
1695 Window icons Add-ons, Extensions, Toolkit API, XPInstall, XUL
Starting with Firefox 1.5, Thunderbird 1.5, and XULRunner 1.8, you can specify an icon for a XUL window by putting files named mywindow.ico (for Windows) and mywindow.xpm or mywindow16.xpm (Linux), where mywindow is the id of the <window> you want to attach the icon to, in the chrome/icons/default subfolder of your bundle.
1696 Writing Skinnable XUL and CSS CSS, XUL
No summary!
1697 XML XUL
No summary!
1698 XUL Accesskey FAQ and Policies XUL
An accesskey is an underlined letter in a web page, menu or dialog that indicates to a user a quick, keyboard method of simulating a click on that element. For example, an Apply button may have the letter A underlined. On Windows and UNIX, pressing ALT+A is a convenient way to push that button. On Macintosh, accesskeys are available only in HTML not in XUL, and they are activated using CTRL+letter instead of ALT.
1699 XUL Changes for Firefox 1.5 XUL
This lists the most notable changes to XUL in Firefox 1.5 (Gecko 1.8). For other changes you should be aware of, see Adapting XUL Applications for Firefox 1.5.
1700 XUL Coding Style Guidelines XUL
No summary!
1701 XUL Event Propagation DOM, XUL
No summary!
1702 XUL Events Mozilla, Non-standard, Overview, Reference, XUL, XUL_Events, events
The following tables and sections describe the event handler that are valid for most XUL elements. The events listeners can be attached using addEventListener and removed using removeEventListener.
1703 CheckboxStateChange Event, events
The CheckboxStateChange event is executed when the state of a <checkbox> element has changed.
1704 DOMMenuItemActive
The DOMMenuItemActive event is executed when a <menu> or a <menuitem> has been hovered or highlighted.
1705 DOMMenuItemInactive
The DOMMenuItemInactive event is executed when a <menu> or a <menuitem> in no longer hovered or highlighted.
1706 RadioStateChange Event, events
The RadioStateChange event is executed when the state of a <radio> element has changed.
1707 ValueChange Event, events
The ValueChange event is executed when the value of an element, <progress> for example, has changed.
1708 broadcast
The broadcast event is executed when the attributes of the element (such as a broadcaster) being listened to are changed. The event handler should be placed on an observer.
1709 close
The close event is executed when a request has been made to close the window when the user presses the close button.
1710 command
The command event is executed when an element is activated.
1711 commandupdate
The commandupdate event is executed when a command update occurs on a <commandset>. This event would be used to update the disabled status of its commands.
1712 popuphidden
The popuphidden event is executed when a <menupopup>, <panel> or <tooltip> has become hidden.
1713 popuphiding
The popuphiding event is executed when a <menupopup>, <panel> or <tooltip> is about to be hidden.
1714 popupshowing
The popupshowing event is executed when a <menupopup>, <panel> or <tooltip> is about to become visible. The default action of the event can be prevented to prevent the popup to appear.
1715 popupshown
The popupshown event is executed when a <menupopup>, <panel> or <tooltip> has become visible.
1716 XUL FAQ XUL
This document contains answers to frequently asked questions about XUL, Mozilla's markup language for describing application's user interface.
1717 XUL Parser in Python/source
Source code for the XUL Parser in Python.
1718 XUL Questions and Answers
Return to mozilla-dev-tech-xul summaries
1719 XUL Reference XUL, XUL Reference
No summary!
1720 XUL element attributes XUL Attributes, XUL Reference
No summary!
1721 XULBrowserWindow NeedsContent, XUL
The XULBrowserWindow object provides methods and properties that let the browser update the user interface of the enclosing XUL window. In order to do so it implements the following interfaces:
1722 XUL Template Primer - Bindings Outdated articles, Outdated_articles, XUL
This document expands on the XUL Template Primer by introducing the <bindings> element in the extended XUL template syntax.
1723 XUL Tutorial Tutorials, XUL, XUL_Tutorial
This tutorial describes XUL, the XML User-interface Language. This language was created for the Mozilla application and is used to describe its user interface.
1724 Accesskey display rules Localization
Each controls of XUL can have an accesskey which is specified by accesskey attribute or accessKey property (See accesskey attribute document for the detail). XUL elements display their accesskeys in their label automatically if it's necessary. This document describes the rules of generating a label text.
1725 Adding Buttons Tutorials, XUL, XUL_Tutorial
In this section, we will look at how to add some simple buttons to a window.
1726 Adding Event Handlers Tutorials, XUL, XUL_Tutorial
The find files dialog so far looks quite good. We haven't cleaned it up much but we have created a simple user interface easily. Next, we will show how to add scripts to it.
1727 Adding Event Handlers to XBL-defined Elements Tutorials, XBL, XUL, XUL_Tutorial
Next, we'll find out how to add event handlers to XBL-defined elements.
1728 Adding HTML Elements Tutorials, XUL, XUL_Tutorial
Now that we've added some buttons, let's add some other elements.
1729 Adding Labels and Images Tutorials, XUL, XUL_Tutorial
This section describes a way to add labels and images to a window. In addition, we look at how to include elements into groups.
1730 Adding Methods to XBL-defined Elements Tutorials, XBL, XUL, XUL_Tutorial
No summary!
1731 Adding Properties to XBL-defined Elements Tutorials, XBL, XUL, XUL_Tutorial
Next, we'll find out how to add custom properties to XBL-defined elements.
1732 Adding Style Sheets Tutorials, XUL, XUL_Tutorial
We have hardly modified the look of the elements we have created so far. XUL uses CSS (Cascading Style Sheets) to customize elements.
1733 Adding more elements Tutorials, XUL, XUL_Tutorial
We will conclude the discussion of boxes by adding some boxes to the find files dialog.
1734 Additional Install Features Tutorials, XUL, XUL_Tutorial
This section describes some more specifics of installers.
1735 Advanced Rules Tutorials, XUL, XUL_Tutorial
This section describes the more advanced rule syntax.
1736 Anonymous Content Tutorials, XBL, XUL, XUL_Tutorial
In this section we'll look at creating content with XBL.
1737 Box Model Details Tutorials, XUL, XUL_Tutorial
We've seen a lot of features of the box model. Here, we'll find out some more details with some examples.
1738 Box Objects Tutorials, XUL, XUL_Tutorial
This section describes the box object, which holds display and layout related information about a XUL box as well as some details about XUL layout.
1739 Broadcasters and Observers Tutorials, XUL, XUL_Tutorial
There may be times when you want several elements to respond to events or changes of state easily. To do this, we can use broadcasters.
1740 Commands Tutorials, XUL, XUL_Tutorial
A command is an operation which may be invoked.
1741 Content Panels Tutorials, XUL, XUL_Tutorial
In this section, we'll look at how to add panels that can display HTML pages or other XUL files.
1742 Creating Dialogs Tutorials, XUL, XUL_Tutorial
A XUL application will often require dialogs to be displayed. This section describes how one might construct them.
1743 Creating a Skin Tutorials, XUL, XUL_Tutorial
This section describes how to create a simple skin. For simplicity, we'll only apply it to the find files dialog.
1744 Creating a Window Tutorials, XUL, XUL_Tutorial
We're going to be creating a simple find files utility throughout this tutorial.
1745 Creating a Wizard Tutorials, XUL, XUL_Tutorial
Many applications use wizards to help the user through complex tasks. XUL provides a way to create wizards easily.
1746 Creating an Installer Tutorials, XPInstall_API_reference, XUL, XUL_Tutorial
This section will describe packaging a XUL application into an installer.
1747 Cross Package Overlays Tutorials, XUL, XUL_Tutorial
This section describes how to apply overlays to files that don't import them.
1748 Custom Tree Views Tutorials, XUL, XUL_Tutorial
The tree view holds the data to be displayed in the tree.
1749 Document Object Model DOM, Tutorials, XUL, XUL_Tutorial
The Document Object Model (DOM) can be used with XUL elements to get information about them or modify them.
1750 Element Positioning Tutorials, XUL, XUL_Tutorial
Here we'll look at controlling the position and size of an element.
1751 Features of a Window Guide, Tutorials, XUL, XUL Tutorial
No summary!
1752 Focus and Selection Tutorials, XUL, XUL_Tutorial
The section will describe how to handle the focus and selection of elements.
1753 Grids Tutorials, XUL, XUL_Tutorial
XUL has a set of elements for creating tabular grids.
1754 Groupboxes Tutorials, XUL, XUL_Tutorial
This section describes a way to include elements into groups
1755 Input Controls Tutorials, XUL, XUL_Tutorial
XUL has elements that are similar to the HTML form controls.
1756 Install Scripts Tutorials, XUL, XUL_Tutorial
This section describes the install script.
1757 Introduction Tutorials, XUL, XUL Tutorial
This tutorial is a guide to learning XUL (XML User Interface Language) which is a cross-platform language for describing applications' user interfaces.
1758 Introduction to RDF RDF, Tutorials, XUL, XUL_Tutorial
No summary!
1759 Introduction to XBL Tutorials, XBL, XUL, XUL_Tutorial
No summary!
1760 Keyboard Shortcuts Tutorials, XUL, XUL_Tutorial
You could use keyboard event handlers to respond to the keyboard. However, it would be tedious to do that for every button and menu item (though it could be necessary when one's key commands are only triggered when the user is focused on a particular element).
1761 List Controls Tutorials, XUL, XUL_Tutorial
XUL has a number of types of elements for creating list boxes.
1762 Localization Internationalization, Localization, Tutorials, XUL, XUL_Tutorial
XUL and XML provide entities which are a convenient way of allowing localization.
1763 Manifest Files NeedsUpdate, Tutorials, XUL, XUL_Tutorial
In this section, we'll see how to put chrome and XUL files into a package and create the manifest files for them.
1764 Manipulating Lists Tutorials, XUL, XUL_Tutorial
The XUL listbox provides a number of specialized methods.
1765 Modifying a XUL Interface DOM, Tutorials, XUL, XUL_Tutorial
The DOM provides various functions to modify the document.
1766 Modifying the Default Skin Customization, Firefox, Intermediate, Tutorials, XUL, XUL_Tutorial
No summary!
1767 More Button Features Tutorials, XUL, XUL_Tutorial
In this section, we will look at some additional features of buttons.
1768 More Event Handlers Tutorials, XUL, XUL_Tutorial
In this section, the event object is examined and additional events are described.
1769 More Menu Features Tutorials, XUL, XUL_Tutorial
In this section, we'll look at creating submenus and checked menus
1770 More Tree Features Tutorials, XUL, XUL_Tutorial
Here, we'll see more features of trees.
1771 More Wizards Tutorials, XUL, XUL_Tutorial
This section describes some additional features of wizards.
1772 Numeric Controls Firefox 3, Tutorials, XUL, XUL_Tutorial
XUL has two elements used for the entry of numeric values or ranges, and well as two elements for entering dates and times. These elements are only available in Firefox 3 and later.
1773 Open and Save Dialogs Tutorials, XUL, XUL_Tutorial
A common type of dialog is one where the user can select a file to open or save.
1774 Persistent Data Tutorials, XUL, XUL_Tutorial
No summary!
1775 Popup Menus Tutorials, XUL, XUL_Tutorial
In the last section, we looked at creating a menu on a menu bar. XUL also has the capability of creating popup menus. Popup menus are typically displayed when the user presses the right mouse button.
1776 Progress Meters Tutorials, XUL, XUL_Tutorial
In this section, we'll look at creating progress meters.
1777 Property Files Internationalization, Localization, Tutorials, XUL, XUL_Tutorial
No summary!
1778 RDF Datasources Tutorials, XUL, XUL_Tutorial
No summary!
1779 Scroll Bars
Now, let's find out to add scroll bars to a window.
1780 Scrolling Menus Tutorials, XUL, XUL_Tutorial
This section will describe scrolling menus and how to use the mechanism with other elements.
1781 Simple Menu Bars Tutorials, XUL, XUL_Tutorial
In this section, we'll see how to create a menu bar with menus on it.
1782 Skinning XUL Files by Hand XUL
No summary!
1783 Splitters Tutorials, XUL, XUL_Tutorial
We'll now look at how to add splitters to a window.
1784 Stack Positioning Tutorials, XUL, XUL_Tutorial
This section will describe how to position items in a stack.
1785 Stacks and Decks Tutorials, XUL, XUL_Tutorial
There may be need to display elements as a set of overlapping cards. The stack and deck elements can be used for this purpose.
1786 Styling a Tree Tutorials, XUL, XUL_Tutorial
The following describes how to style a tree.
1787 Tabboxes Tutorials, XUL, XUL_Tutorial
It is common in preference dialogs for tabbed pages to appear. We'll find out how to create them here.
1788 Templates Tutorials, XUL, XUL_Tutorial
In this section, we'll find out how to populate elements with data.
1789 The Box Model Tutorials, XUL, XUL_Tutorial
In this section, we'll look at how XUL handles layout.
1790 The Chrome URL Tutorials, XUL, XUL_Tutorial
The following section will describe how to refer to XUL documents and other chrome files.
1791 Toolbars Tutorials, XUL, XUL_Tutorial
A toolbar is usually placed along the top of a window and contains a number of buttons that perform common functions. XUL has a method to create toolbars.
1792 Tree Box Objects Tutorials, XUL, XUL_Tutorial
This section will describe the tree box object used to handle how a tree is displayed.
1793 Tree Selection Tutorials, XUL, XUL_Tutorial
No summary!
1794 Tree View Details Tutorials, XUL, XUL Tutorial
This section will describe some more features of tree views.
1795 Trees Tutorials, XUL, XUL_Tutorial
XUL provides a way to create tabular or hierarchical lists using a tree.
1796 Trees and Templates Tutorials, XUL, XUL_Tutorial
The following describes how to use a template with a tree.
1797 Updating Commands Tutorials, XUL, XUL_Tutorial
In this section, we will look at how to update commands.
1798 Using Spacers Tutorials, XUL, XUL_Tutorial
In this section, we will find out how to add some spacing in between the elements we have created.
1799 XBL Attribute Inheritance Tutorials, XBL, XUL, XUL_Tutorial
No summary!
1800 XBL Example Tutorials, XBL, XUL, XUL_Tutorial
This section will describe an example XBL element.
1801 XBL Inheritance Tutorials, XBL, XUL, XUL_Tutorial
No summary!
1802 XPCOM Examples Tutorials, XUL, XUL_Tutorial
This section provides some examples of using XPCOM along with some additional interfaces.
1803 XPCOM Interfaces Tutorials, XPCOM:Language Bindings, XPConnect, XUL, XUL_Tutorial
No summary!
1804 XUL Structure Tutorials, XUL, XUL_Tutorial
We'll begin by looking at how the XUL is handled in Mozilla.
1805 XUL accessibility guidelines Accessibility, XUL
Welcome to the XUL Accessibility Guidelines. By following these principles and practices, you will be able to write your XUL applications in such a way that all users, including those with physical, sensory, or communicative disabilities, with be able to use and enjoy them. Accessibility is not difficult, but does require a basic understanding of the different types of disabilities, commonly used assistive technologies, and special accessibility features built into the XUL languages. Most of all, accessibility requires a conscious effort on your part, and a desire to include everyone.
1806 XUL accessibility tool Accessibility
The XUL Accessibility Tool is a Firefox extension designed by Aaron Andersen of WebAIM as part of a Mozilla Foundation accessibility minigrant in the spring of 2007. It is designed to test (insofar as automated testing is possible) the guidelines and requirement for creating accessible XUL as set forth in the XUL accessibility guidelines, and to report on any problems found in tested documents. While not meant to be a comprehensive test suite (meaning that passing all included tests does not guarantee that an application is free of accessibility bugs or issues), many of the most common accessibility mistakes will be found and reported.
1807 XUL and RDF
This page was auto-generated because a user created a sub-page to this page.
1808 The Implementation of the Application Object Model Outdated_articles
Purpose - The purpose of this document is two-fold. The first section of the document describes the motivation and reasoning behind using RDF as the foundation of XUL. This section makes a technical argument both for having XUL in the first place and for using RDF as the underlying implementation of XUL's content model. The second section describes the XUL/RDF architecture itself and outlines enhancements to the XUL language in order to allow the markup language to reference local data and to indicate how and when it would like to be annotatable with local data.
1809 XUL controls NeedsUpdate, Reference, XUL
The following table lists the XUL user interface controls. For a step-by-step guide on how to use these controls, see the XUL Tutorial. For more reference information, see the XUL Reference.
1810 XUL:Property:flexGroup NeedsRelocation, Reference, Référence(2), XUL, XUL Reference
No summary!
1811 action NeedsExample, XUL Elements, XUL Reference
Used to specify the content that should be generated for each matching result from a query. The action should be contained within a query or rule element.
1812 appendChild
Node appendChild ( Node newChild )
1813 arrowscrollbox XUL Elements, XUL Reference
clicktoscroll, if true, the arrows must be clicked to scroll the scrollbox content.
1814 assign XUL Elements, XUL Reference
For XML templates, specifies an additional variable to assign a value to.
1815 attribute.align
The align attribute specifies how child elements of the box are aligned, when the size of the box is larger than the total size of the children. For boxes that have horizontal orientation, it specifies how its children will be aligned vertically. For boxes that have vertical orientation, it is used to specify how its children are algined horizontally. The pack attribute is related to the alignment but is used to specify the position in the opposite direction. You can also specify the value of align using the style property -moz-box-align.
1816 autohide
No summary!
1817 bbox XUL Elements, XUL Reference
A horizontal box that is baseline aligned. It is equivalent to using an hbox element with an align attribute set to baseline.
1818 binding NeedsHelp, NeedsTechnicalReview, XUL Elements, XUL Reference
Should be contained within a bindings element. A binding is used to bind a variable to a node. Like the triple element in syntax, it can be used to bind a particular property of a matched node to a particular variable name. That name can then be used within the action of a rule.
1819 bindings XUL Elements, XUL Reference
Used to specify a set of variable bindings for a rule. This element should be contained within a rule element and contain one or more binding elements. This element is optional in Firefox 3/Mozilla 1.9 and later; instead binding elements may be placed directly inside the rule element.
1820 box XUL Elements, XUL Reference
A container element which can contain any number of child elements. If the box has an orient attribute that is set to horizontal, the child elements are laid out from left to right in the order that they appear in the box. If orient is set to vertical, the child elements are laid out from top to bottom. Child elements do not overlap. The default orientation is horizontal.
1821 broadcaster XUL Elements, XUL Reference
A broadcaster is used when you want multiple elements to share one or more attribute values, or when you want elements to respond to a state change. Any elements that are observing the broadcaster will share the attributes placed on the broadcaster. For instance, if the broadcaster has a label attribute, the observers will use that label. If the label changes, the labels of the observers will update automatically. An onbroadcast event will be sent to the observers when a change is made.
1822 broadcasterset XUL Elements, XUL Reference
A container element for broadcaster elements. The broadcasterset and its descendants are not displayed.
1823 browser XUL Elements, XUL Reference
A XUL <browser> element represents a frame which is expected to contain a view of a Web document. It is similar to an iframe except that it holds a page history and contains additional methods to manipulate the currently displayed page.Type: one of the values below.The type of browser, which can be used to set access of the document loaded inside the browser.
1824 button XUL Elements, XUL Reference
A button that can be pressed by the user. Event handlers can be used to trap mouse, keyboard and other events. It is typically rendered as a grey outset rectangle. You can specify the label of the button using the label attribute or by placing content inside the button.
1825 caption XUL Elements, XUL Reference
A header for a groupbox. It may contain either a text label, using the label attribute, or child elements for a more complex caption.
1826 checkbox XUL Elements, XUL Reference
An element that can be turned on and off. This is most commonly rendered as a box when the element is off and a box with a check when the element is on. The user can switch the state of the check box by selecting it with the mouse. A label, specified with the label attribute, may be added beside the check box.
1827 clicktoscroll Event, Scroll, scrollbar
No summary!
1828 colorpicker XUL Elements, XUL Reference
A palette of colors from which a user may select by clicking on one of the grid cells.
1829 column XUL Elements, XUL Reference
A single column in a columns element. Each child of the column element is placed in each successive cell of the grid. The column with the most child elements determines the number of rows in each column.
1830 columns XUL Elements, XUL Reference
Defines the columns of a grid. Child column elements define the individual columns to appear in the grid. The columns element may be nested inside another columns element. Other elements placed inside a columns element occupy the full height of the grid and are placed in their corresponding positions between the columns.
1831 command XUL Elements, XUL Reference
A command element can be used to invoke an operation that can come from multiple sources. For example, a clipboard paste operation can be invoked from the Edit menu, a context menu and by pressing a keyboard shortcut. You attach the code to the command using the oncommand attribute. It will be called no matter how it is invoked by the user. In addition, disabling the command will automatically disable the menu items and keyboard shortcuts.
1832 commandset XUL Elements, XUL Reference
This element is not displayed and serves as a container for command elements.
1833 conditions XUL Elements, XUL Reference
This element should appear directly inside a rule element and is used to define conditions for the rule. Within the conditions can be placed content, member and triple elements. These may have attributes whose value is a variable name beginning with a question mark (?). When evaluating the rule for a particular RDF resource, the variables are replaced with values from the resource. If all variables can be replaced, the rule matched.
1834 content XUL Elements, XUL Reference
Éste elemento debería pertenecer a query ("consulta"). La pregunta en una regla debería enlazar a sólo a un elemento del contenido. Los contenidos deberían tener al atributo uri . Ésto se utiliza para vincular una variable a un nodo de contenido cuando se emparejan. Cuando use un árbol con los atributos flags ("banderas"), establezca dont-build-content, ("no almacenar contenido"), use treeitem en su lugar.
1835 datepicker XUL Elements, XUL Reference
A datepicker allows the user to enter a date. Three types are available, which can be specified using the type attribute.
1836 deck XUL Elements, XUL Reference
An element that displays only one of its children at a time. The selectedIndex attribute determines which child is displayed.
1837 description XUL Elements, XUL Reference
This element is used to create a block of text. The text can be set either with the value attribute or by placing text inside the open and close description tags. The value attribute is used to set text that appears in a single line. If text appears as a child of the description, it will wrap to multiple lines. It may contain arbitrary markup, which can be styled as needed.
1838 dialog XUL Elements, XUL Reference
This element should be used in place of the window element for dialog boxes. The buttons attribute may be used to set which buttons should appear in the dialog box. These buttons will be placed in the correct locations for the user's platform.
1839 dialogheader XUL Elements, XUL Reference
A heading row for a dialog box. This element should be placed inside a dialog element. The header may have a title and a description.
1840 dropmarker XUL Elements, XUL Reference
A dropmarker is a button with an arrow which will reveal more details when pressed. A dropmarker is not intended to be used as a separate element, but as part of another element. For instance the menulist and the popup type of datepicker use a dropmarker, that when pressed, will reveal a popup menu.
1841 editor XUL Elements, XUL Reference
A frame which is expected to contain an editable document. Set the value of the editortype attribute to html to create an editor document. Mozilla provides two types of editors, the HTML editor and the plaintext editor. The editor does not provide any editing user interface; you would supply that yourself. However, text editing, image resizing, and table row and cell editing capabilities are provided. If you do not set the editortype attribute on an editor, you must enable editing using the makeEditable method.
1842 elements Landing, XUL
No summary!
1843 findbar XUL, XUL Elements, XUL Reference
In Gecko 1.9, the findbar widget moved into toolkit, so it's available to any XUL application, as well as extensions.
1844 grid XUL Elements, XUL Reference
A grid is a layout type that arranges elements in rows and columns. The grid is expected to contain both a columns element as a child which defines the structure of the columns and a rows element as child to define the rows. The size and attributes defined on columns and rows will affect the size and placement of elements in each cell. Elements placed within both the columns and rows will be displayed, although usually only elements will be placed inside one of these. It is most common to place elements within the rows and use the columns only to define their flexibility and width. Whichever of the columns and rows is last in the grid is displayed on top; commonly the columns element appears in the grid first.
1845 grippy XUL Elements, XUL Reference
An element that may be used inside a splitter which can be used to collapse a sibling element of the splitter.
1846 groupbox XUL Elements, XUL Reference
The groupbox is used to group related elements together. If a caption element is placed inside the groupbox, it will be used as a caption which appears along the top of the groupbox. Typically, the groupbox will be drawn with a border around it and the caption either above or over the top border, however the actual appearance will be platform specific. On Linux, for instance, only the caption appears with no border around the group.
1847 hbox XUL Elements, XUL Reference
A container element which can contain any number of child elements. This is equivalent to the box element, except it defaults to horizontal orientation.
1848 iframe Reference, Référence(2), XUL, XUL Elements, XUL Reference
Type: one of the values below.The type of browser, which can be used to set access of the document loaded inside the browser.
1849 image XUL Elements, XUL Reference
An element that displays an image, much like the HTML img element. The src attribute can be used to specify the URL of the image.
1850 key Reference, XUL, XUL Elements, XUL Reference
The key element defines a window-global keyboard shortcut and must be placed inside a keyset element.
1851 keyset XUL Elements, XUL Reference
A container element for key elements. The keyset and its descendants are not displayed.
1852 label XUL Elements, XUL Reference
This element is used to provide a label for a control element. If the user clicks the label, it will move the focus to the associated control, specified with the control attribute.
1853 listbox XUL Elements, XUL Reference
This element is used to create a list of items where one or more of the items may be selected. A listbox may contain multiple columns. There are numerous methods which allow the items in the listbox to be retrieved and modified.
1854 listcell XUL Elements, XUL Reference
A single cell of a listbox. By default it only contains text but iconic and checkbox listcells are also available.
1855 listcol XUL Elements, XUL Reference
A column in a listbox. You can make some columns flexible and other columns non-flexible.
1856 listcols XUL Elements, XUL Reference
A container for the columns of a listbox, each of which are created with the listcol element. There should be only one listcols element in a list box. If there is no listcols element, the list box has a single column.
1857 listhead XUL Elements, XUL Reference
A header row of a listbox. It is usual to place listheader elements inside the listhead, one for each column.
1858 listheader XUL Elements, XUL Reference
A header for a single column in a listbox.
1859 listitem XUL Elements, XUL Reference
A single row in a listbox. The text of the listitem is specified either using listcell elements, or by placing a label attribute directly on the listitem element. By default it contains a single listcell element of type and class appropriate to that of the listitem.
1860 member XUL Elements, XUL Reference
Used within a rule's conditions element to match elements that are containers or are contained within another element. Both the container and child attributes may use variables.
1861 menu XUL, XUL Elements, XUL Reference
An element, much like a button, that is placed on a menubar. When the user clicks the menu element, the child menupopup of the menu will be displayed. This element is also used to create submenus.
1862 menubar NeedsUpdate, XUL Elements, XUL Reference
A container that usually contains menu elements. On the Macintosh, the menubar is displayed along the top of the screen, and all non-menu related elements inside the menubar will be ignored. To look native (at least on Windows), the menubar element needs to be placed inside a toolbox element.
1863 menuitem XUL Elements, XUL Reference
A single choice in a menupopup element. It acts much like a button but it is rendered on a menu.
1864 menulist XUL Elements, XUL Reference
An element that can be used for drop-down choice lists. The user may select one of the elements displayed in the menulist. The currently selected choice is displayed on the menulist element. To create the drop-down, put a menupopup inside the menulist containing the choices as menuitem elements. The command event may be used to execute code when the menulist selection changes.
1865 menupopup XUL Elements, XUL Reference
A container used to display the contents of a popup menu. When a menupopup is open, it floats above the window and may extend outside the window border. There are several ways in which a menupopup may be used:
1866 menuseparator XUL Elements, XUL Reference
Used to create a separator between menu items. Typically drawn as a thin line.
1867 notification XUL Elements, XUL Reference
The notification is used to display an informative message. It will normally be used as part of a notificationbox. The box includes a button which the user can use to close the box.
1868 notificationbox NeedsMarkupWork, XUL, XUL Elements, XUL Reference
The notificationbox element is used to display notifications above an element. Typically the element will be a browser, but any element may be used. The notification element is used for each notification, and will be created automatically for each item. Each notification will slide in and out as needed. This element is used, for example, to implement the yellow information bar in various Firefox windows.
1869 observes XUL Elements, XUL Reference
The observes element can be used to listen to a broadcaster and receive events and attributes from it. The observes element should be placed inside the element that wants to observe the broadcaster. When an observed attribute is modified on the broadcaster, the attribute's value will be forwarded and set on the parent element of the observer.
1870 page XUL Elements, XUL Reference
Similar to a window, except it should be used for XUL files that are to be loaded into an iframe.
1871 panel XUL Elements, XUL Reference
A panel is a used as a temporary floating popup window that may contain any type of content. It does not have any window decorations. When open, it floats above the window and may extend outside the border of the main window. Typically, it will be attached to a button using the button's type attribute so that when the button is pressed, the panel will be displayed. A panel may also be opened via a script using the openPopup method.
1872 param XUL Elements, XUL Reference
For SQL templates, used to bind values to parameters specified within an SQL statement. The value to bind should be text as a child of the param element.
1873 popup Deprecated, XUL Elements, XUL Reference
The popup element is equivalent to the menupopup element which should be used instead. See the documentation on the menupopup element for more information.
1874 popupset XUL Elements, XUL Reference
A container for menupopup, panel and tooltip elements. This element is optional; the given elements need not appear in a popupset container.
1875 preference Preferences system, XUL Elements, XUL Reference
Declares a preference that may be adjusted in a prefpane. This element must be placed inside a preferences element. Each preference element corresponds to a preference which is stored in the user's preferences file. You can connect a user interface element such as a checkbox to a preference element using the user interface element's preference attribute.
1876 preferences Preferences system, XUL Elements, XUL Reference
<preferences> is a container for <preference> elements. It's supposed to be a child of <prefpane> element.
1877 prefpane Preferences system, XUL Elements, XUL Reference
A single preference panel in a prefwindow. A prefpane is made up of two parts, the preferences descriptions, which specify the set of preferences that will be modified, and the user interface for adjusting those preferences. The former is specified using a preferences element while the latter may be specified using other XUL elements.
1878 prefwindow Preferences system, XUL Elements, XUL Reference
A specialized window used for preference dialogs. This element should be used in place of the window tag and should contain one or more prefpane elements. A row of buttons appears across the preference dialog, one for each prefpane. Each pane will usually group together a set of related preferences. If there is only one prefpane, the navigation area will be hidden.
1879 progressmeter XUL Elements, XUL Reference
A meter which can be used to display the progress of a lengthy operation. It is drawn as a bar that is filled as the operation completes. In addition, an indeterminate progressmeter may be created by setting the mode attribute to undetermined. This is used when the length of time to complete an operation is not known beforehand.
1880 progressmeter.max
No summary!
1881 promptBox XUL
The promptBox object represents the tab-modal prompts (or alerts) on a given tab. It's returned by the tabbrowser method getTabModalPromptBox method.
1882 query XUL Elements, XUL Reference
Used to specify the query for a template. The attributes and content of the query are dependent on the type of datasource being used.
1883 queryset XUL Elements, XUL Reference
A container for query elements when more than one query is used.
1884 radio XUL Elements, XUL Reference
An element that can be turned on and off. Radio buttons are almost always listed together in groups. Only one radio button within the same radiogroup may be selected at a time. The user can switch which radio button is turned on by selecting it with the mouse or keyboard. Other radio buttons in the same group are turned off. A label, specified with the label attribute may be added beside the radio button.
1885 radiogroup XUL Elements, XUL Reference
A group of radio buttons. Only one radio button inside the group can be selected at a time. The radio buttons may either direct children of the radiogroup or descendants. Place the radiogroup inside a groupbox if you would like a border or caption for the group. The radiogroup defaults to vertical orientation.
1886 resizer XUL Elements, XUL Reference
An element used for window resizing. If you place a custom resizing button inside the resizer, the user will be able to resize the window by dragging it. The resizer will send a command event after the resize is complete.
1887 richlistbox XUL Elements, XUL Reference
This element is used to create a list of listitems (richlistitems), similar to a listbox, but is designed to be used when the items do not contain simple text content.
1888 richlistitem NeedsExample, XUL Elements, XUL Reference
An individual item in a richlistbox.
1889 row XUL Elements, XUL Reference
A single row in a rows element. Each child of the row element is placed in each successive cell of the grid. The row with the most child elements determines the number of columns in each row, which may be smaller or larger than the number of column elements defined in the grid.
1890 rows XUL Elements, XUL Reference
Defines the rows of a grid. Child row elements define the individual rows to appear in the grid. Each child of a rows element should be a row element.
1891 rule XUL Elements, XUL Reference
A rule is used in a template. The children of the rule are used to declare the conditions in which the rule matches and the content that is generated. A rule may contain where, binding and/or action elements. A condition is defined used a where element. For each result that matches all of the conditions, content within the rule's action body is generated. The bindings element is optional and may specify additional variable bindings to be used.
1892 scale XUL Elements, XUL Reference
A scale (sometimes referred to as a "slider") allows the user to select a value from a range. A bar displayed either horizontally or vertically allows the user to select a value by dragging a thumb on the bar.
1893 script XUL Elements, XUL Reference
Much like the HTML script element, this is used to declare a script to be used by the XUL window. You should usually put scripts in a separate file pointed to by the src attribute, but you may also place the script inline inside the opening and closing script tags.
1894 scrollbar XUL Elements, XUL Reference
When a container's contents which are larger that the size of the container, scroll bars may be placed at the side of the container to allow the user to scroll around in the container. The scroll bar may also be used independently when a numeric value or percentage needs to be selected by the user. The user can adjust the position of the scroll bar by clicking arrows on either end of the scroll bar or by dragging the scroll bar thumb around.
1895 scrollbox NeedsContent, Reference, Référence(2), XUL Elements, XUL Reference
A box that has additional functions that can be used to scroll the content. Note that a scrollbox doesn't cause scrollbars to be displayed. It is intended to be used when an application wants to be able to adjust the scroll position itself. If you just want scrollbars to appear, add style='overflow: auto;'. This may also be used with any other container element.
1896 scrollcorner XUL Elements, XUL Reference
This element is used for the small box where the horizontal and vertical scrollbars meet.
1897 separator XUL Elements, XUL Reference
Creates a small separating gap between elements. This type of separator should be used to separate parts of a dialog. It doesn't draw a bar visually, but is just a small space. It is functionally equivalent to a spacer except it defaults to a small size (usually 1.5 ems).
1898 spacer XUL Elements, XUL Reference
An element that takes up space but does not display anything. It is usually used to place spacing within a container. If you don't specify that the spacer has a size or is flexible, the spacer does not occupy any space. If you want a small gap, consider using a separator instead.
1899 spinbuttons XUL Elements, XUL Reference
Spin buttons are two arrows, one to increase a value and one to decrease a value. Spin buttons are not used as separate elements, but are used in combination with other elements to create a control that can be increased and decreased.
1900 splitter XUL Elements, XUL Reference
An element which should appear before or after an element inside a container. When the splitter is dragged, the sibling elements of the splitter are resized. If a grippy is placed inside the splitter, one sibling element of the splitter is collapsed when the grippy is clicked.
1901 stack XUL Elements, XUL Reference
An element that renders its children on top of each other. The first element is placed on the bottom and each successive child is placed above the previous. All elements are displayed at once. Child elements may also be placed at absolute positions within the stack.
1902 statusbar Deprecated, XUL Elements, XUL Reference
An element used to create a status bar, usually placed along the bottom of a window. It is virtually equivalent to a standard box, but may be rendered differently. Contains statusbarpanels.
1903 stringbundle XUL Elements, XUL Reference
An element which can be used to load localized resources from property files. Stringbundles should be placed inside a stringbundleset element.
1904 stringbundleset XUL Elements, XUL Reference
A container for stringbundle elements.
1905 tab NeedsExample, XUL, XUL Elements, XUL Reference
A single tab which should be placed inside a tabs element. The user may click a tab to bring the associated page of the tabbox to the front.
1906 tabbox XUL Elements, XUL Reference
A container used to display a set of tabbed pages of elements. A row of tabs is displayed at the top of tabbox which may be used to switch between each page. The tabbox should contain two children, the first a tabs element which contains the tabs and the second a tabpanels element which contains the contents of the pages.
1907 tabbrowser Element, Mozilla, Reference, XUL, XUL Elements, XUL Reference, tabbrowser
This element is used for holding a set of read-only views of Web documents. It is similar to the browser element, except that multiple documents can be displayed, each in a separate tab.
1908 tabpanel XUL Elements, XUL Reference
A individual panel in a tabpanels element. This element is optional and you may just use any other container in place of it.
1909 tabpanels XUL Elements, XUL Reference
A container to hold the set of pages in a tabbox. The tabpanels element should be placed in a tabbox although it does not have to be a direct child. The children of the tabpanels element become the panels of the tabbox. In most cases you would use a vbox, but they can be any element, although some people like to use tabpanel elements. By clicking the first tab, the first panel will be displayed. By clicking the second tab, the second panel will be displayed and so on. There should be the same number of panels as there are tabs. Panels should never be hidden; hiding the tab suffices to make the panel inaccessible.
1910 tabs XUL Elements, XUL Reference
A row of tabs. A tabs element should be placed inside a tabbox and should contain tab elements.
1911 template NeedsExample, XUL Elements, XUL Reference
Used to declare a template for rule-based construction of elements. Elements are constructed from a datasource. For more information see the rule element.
1912 textbox XUL Elements, XUL Reference
An input field where the user can enter text. It is similar to the HTML input element. Only one line of text is displayed by default. The multiline attribute can be specified to display a field with multiple rows.
1913 textbox (Toolkit autocomplete) XUL Elements, XUL Reference
This element is created by setting the type attribute of the textbox to autocomplete. It is used to create a textbox with a popup containing a list of possible completions for what the user has started to type.
1914 textnode XUL Elements, XUL Reference
Normally when substituting RDF resources in template rules, you place the RDF property name inside an attribute value preceded with rdf:. In the case of the textnode element, the entire node is replaced with text corresponding to the result of the value attribute.
1915 timepicker XUL Elements, XUL Reference
The timepicker is used to allow the user to enter a time. It contains three fields to enter the hour, minute and second. Arrow buttons next to the fields allow the values to be adjusted with the mouse. A fourth textbox appears for 12 hour clocks which allows selection of AM or PM.
1916 titlebar XUL Elements, XUL Reference
Boxes created with the titlebar element behave just like a normal window titlebar: when the element is clicked and dragged, the window moves with it. This element can't be used to change the platform-native titlebar of normal windows; instead, it's used to create custom titlebars for chromeless windows. If the titlebar is in a panel element, dragging it will move the panel.
1917 toolbar NeedsHelp, XUL Elements, XUL Reference
A container which typically contains a row of buttons. It is a type of box that defaults to horizontal orientation. It can be collapsed with a grippy when the toolbar is placed inside a toolbox. The toolbar should always have an id attribute.
1918 toolbarbutton XUL Elements, XUL Reference
A button that appears on a toolbar. It is equivalent to a regular button except that it may be rendered differently. Typically, it is expected to have an image.
1919 toolbargrippy XUL Elements, XUL Reference
Not in Firefox
1920 toolbaritem NeedsHelp, XUL Elements, XUL Reference
Firefox only
1921 toolbarpalette NeedsHelp, XUL Elements, XUL Reference
Firefox only
1922 toolbarseparator NeedsHelp, XUL Elements, XUL Reference
Creates a separator between groups of toolbar items. It is functionally equivalent to a normal separator but some themes may apply a different appearance.
1923 toolbarset NeedsExample, XUL Elements, XUL Reference
Firefox only
1924 toolbarspacer XUL Elements, XUL Reference
Firefox only
1925 toolbarspring XUL Elements, XUL Reference
Firefox only
1926 toolbox Toolbars, XUL Elements, XUL Reference
A container for toolbars. It is a type of box but defaults to vertical orientation. If a toolbar is placed inside a toolbox, a grippy is displayed on its left or upper edge. The user may click the grippy to collapse the toolbar. If multiple toolbars are placed in the same toolbox, they will all collapse into the same row. The Firefox browser does not have grippies so toolbars cannot be collapsed and expanded.
1927 tooltip XUL Elements, XUL Reference
This element is used for the tooltip popups. For text-only tooltips, this element doesn't need to be used; instead you may just add a tooltiptext attribute to an element.
1928 tree XUL Elements, XUL Reference
A container which can be used to hold a tabular or hierarchical set of rows of elements. The tree may contain any number of rows and any number of columns. Each row of the tree may contain child rows which are displayed indented from the parent. Unlike other elements, the data to display inside the tree is not specified using tags, but is determined from a view object. The view object implements the nsITreeView interface. The view is queried for the data to appear in the tree. There are several ways in which trees are used, as listed below. The second column lists the interfaces available via the tree's view property. The third column indicates whether treeitem element are used.
1929 treecell XUL Elements, XUL Reference
A single cell in a tree. This element should be placed inside a treerow. You can set the text for the cell using the label attribute.
1930 treechildren XUL Elements, XUL Reference
This element is the body of the tree. For content trees, the content will be placed inside this element. This element is also used to define container rows in the tree.
1931 treecol XUL Elements, XUL Reference
A column of a tree. It displays the column header and holds the size and other information about the column. You can also place splitter elements between the columns to allow column resizing. You should always place an id attribute on a treecol element to ensure that the column positioning is handled properly.
1932 treecols XUL Elements, XUL Reference
A group of treecol elements. There should one and only one treecols element in a tree.
1933 treeitem XUL Elements, XUL Reference
A treeitem should be placed inside a treechildren element and should contain treerow elements. The treeitem can be clicked by the user to select the row of the tree. The treeitem contains a single row and all of what appear to the user as that row's descendants.
1934 treerow XUL Elements, XUL Reference
A single row in a tree. It should be placed inside a treeitem element. Children of the treerow should be treecell elements. If child rows are necessary, they should be placed in a treechildren element inside the parent treeitem.
1935 treeseparator XUL Elements, XUL Reference
Used to place a separator row in a tree.
1936 triple XUL Elements, XUL Reference
A triple can be included inside a rule's conditions element. It is used to check for an assertion within a graph. If such an assertion exists, the rule may match, assuming that all the conditions match. If the assertion does not exist, the rule will not match. Both the subject and object attributes may be variables.
1937 vbox XUL Elements, XUL Reference
A container element which can contain any number of child elements. This is equivalent to the box element, except it defaults to vertical orientation.
1938 where XUL Elements, XUL Reference
Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding action body is generated; otherwise the result is ignored and no content is generated.
1939 window XUL Elements, XUL Reference
Describes the structure of a top-level window. It is the root node of a XUL document. It is by default a horizontally oriented box. As it is a box, all box attributes can be used. By default, the window will have a platform-specific frame around it.
1940 wizard XUL Elements, XUL Reference
This element is used to construct a step-by-step wizard found in some applications to guide users through a task. It is used for a window with several steps contained on several pages. This element provides the header and buttons along the bottom, and also handles navigation between the pages. Each page should be constructed using a wizardpage. The pages are displayed in the order that they are placed in the wizard, unless you use the next and pageid attributes on the pages to change the sequence. The wizard will rendered in a manner suitable for the user's selected theme and platform. In newer versions of Mozilla, a statusbar may be placed directly inside the wizard element which will be shared among all pages.
1941 wizardpage XUL Elements, XUL Reference
This element defines a page in a wizard. The content in the pages should be placed inside the wizardpage element.
1942 XUL Explorer Extensions, Extensions:Tools, Tools, XUL, XUL:Tools
XUL Explorer is a XULRunner application that provides an easy way to experiment with XUL. It’s a simple editor that can preview XUL inline or in a separate popup window. It has a list of code snippets (small fragments of XUL or JavaScript) that can be quickly inserted into the editor. The XUL can be loaded from and saved to files. A XUL validator and the Error Console are both available to help debug problems. The help menu provides access to XUL information on MDC. There is even simple “keyword” help lookup for XUL elements.
1943 XULRunner NeedsUpdate, XUL, XULRunner
XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It provides mechanisms for installing, upgrading, and uninstalling these applications.
1944 Application Update Tutorials, XUL, XULRunner
This article will hopefully explain how to update your XulRunner application using the same method that Firefox, Thunderbird, Songbird, and ChatZilla use.
1945 Article
No summary!
1946 Building XULRunner Build documentation, Developing Mozilla, XUL, XULRunner
No summary!
1947 Building XULRunner with Python Accessibility, Build documentation, Developing Mozilla, XUL, XULRunner
No summary!
1948 CommandLine Command Line, Guide, NeedsUpdate, XUL, XULRunner
It's fairly easy to retrieve application specific command line arguments in XULRunner when it's not a single instance application. An nsICommandLine object is passed as the first argument of the launched window:
1949 Components XUL, XULRunner
Adding components to XULRunner is simple once you understand how XULRunner registers and saves the components.
1950 Creating XULRunner Apps with the Mozilla Build System Build documentation, Developing Mozilla, XUL, XULRunner
No summary!
1951 Creating a Windows Inno Setup installer for XULRunner applications Deployment, Tutorials, XUL, XULRunner
A XULRunner application has no installer by default; however, these instructions can help you to easily create a Windows installer with Inno Setup. The tutorial here uses the My App example from the article Getting started with XULRunner.
1952 Custom app bundles for Mac OS X Guide, Mozilla, XUL, XULRunner
Mac OS X applications are typically packaged as application bundles which are then distributed in .dmg (disk image) files. This tutorial will show you how to package your XULRunner-based application in a way which is consistent with the expectations of Mac OS X users.
1953 Debugging a XULRunner Application Browser Debugger, Debug, Preferences, Venkman, XUL, XULRunner
The easiest way to debug a XULRunner application is to get the system to tell you what's wrong! There are two different consoles available and various preferences which will ensure that the information you need to know is displayed on them.
1954 Deploying XULRunner Deployment, Guide, Tutorials, XUL, XULRunner
Current XULRunner is a stable developer preview release. This means that while the release is immature in some areas such as embedding, application deployment, and OS integration, it can be used by developers that are releasing standalone XUL applications. This document explains how deployment should be managed for self contained portable applications built on XULRunner.
1955 Dialogs in XULRunner XUL, XULRunner
The last article in this series covered some simple XUL for creating windows, menus, and toolbars. This time I'll look at dialogs, including both custom dialogs and standard operating system dialogs. Dialogs are pretty fundamental to a desktop application. Certain types of dialogs are used so frequently that the OS can provide a default implementation. File open and save dialogs are good examples of these. Whenever possible, it is a good idea to reuse these "native" dialogs so users get a consistent experience across applications.
1956 Getting started with XULRunner Tutorials, XUL, XULRunner
This article explores the Mozilla platform by building a basic desktop application using XULRunner. Given that Firefox, Thunderbird, and multiple other applications are written using the platform, it's a safe bet that it can be used to build a basic application. There is an article with a more complicated approach to building XULRunner applications at Creating XULRunner Apps with the Mozilla Build System. If you need to change XULRunner itself or integrate it with external binaries you may need to read that article.
1957 How to enable locale switching in a XULRunner application Localization
This article is for developers who have localised their XUL application using DTD entity files and want to provide their users with a mechanism to switch the locale in the application itself. Normally the application locale is inherited from the OS environment of the host system, however there are situations when you might want to give users the option to override the default setting and choose a different locale.
1958 MacFAQ XUL, XULRunner
(Note this document has NOT been reviewed for accuracy or completeness.)
1959 Make your xulrunner app match the system locale XUL, XULRunner
This article is going to assume a lot of knowledge of xpcom and will be written for someone using python, but the ideas should be adaptable. Also, this may not be the proper way to do this and it may not work for you in all cases. Please update if there are more correct ways to do this.
1960 Opening a Link in the Default Browser Add-ons, Extensions, XUL, XULRunner
XULRunner applications may have situation where they wish to open a URI in the default browser. This will often be an HTTP or HTTPS URI, but can use any scheme for which an external handler exists. This can be done using the nsIExternalProtocolService interface:
1961 Specifying Startup Chrome Window XUL, XULRunner
In order to specify the main chrome window of your XULRunner application, you'll need to add a preferences file to your application directory structure and add a preference named toolkit.defaultChromeURI to that file.
1962 Using Crash Reporting in a XULRunner Application Crash_reporting, XUL, XULRunner
No summary!
1963 Using LDAP XPCOM with XULRunner XUL, XULRunner
By default, XULRunner is built without LDAP XPCOM support. If you want to use LDAP components in your XUL application, you have two options : compile XULRunner with LDAP support enabled, or add LDAP XPCOM directly to your XUL app (in the components directory).
1964 Using Mochitests in a XULRunner Application Guide, Testing, XUL
Mochitest is an automated testing framework built on top of the MochiKit JavaScript libraries. It's just one of the automated regression testing frameworks used by Mozilla. Tests report success or failure to the test harness using JavaScript function calls. Mochitest test scripts can be used to test XUL chrome and web content. When testing XULRunner based applications, you will typically be testing XUL chrome.
1965 Using SOAP in XULRunner 1.9 SOAP, XML Web Services, XULRunner
Since the native SOAP interface was removed from Gecko 1.9, those stuck speaking to SOAP APIs need a new place to turn. After some experimentation, the following seems to be the best way to speak SOAP in XULRunner.
1966 What XULRunner Provides FAQ, XUL, XULRunner
The goal of XULRunner is to provide a solution for deploying XUL applications (primarily Firefox and Thunderbird), as well as providing an embedding mechanism. The following features are either already implemented or planned:
1967 Windows and menus in XULRunner XUL, XULRunner
Our quest to build a basic desktop application using XULRunner continues. Last time I installed XULRunner and built a very simple, bare-bones test application. This time I want to add some of the things common to a desktop application user interface:
1968 XUL Application Packaging Deployment, XUL, XULRunner
XULRunner application packages are standard toolkit bundles (like a Firefox extension), with one additional manifest file (application.ini) which helps describe the application. XUL app packages are typically ZIPped into an archive with the extension .xulapp or .xpi. They can be installed to XULRunner with a command line flag "--install-app" if XULRunner is registered on the system. See Command Line Options for more details.
1969 XULRunner 1.8.0.1 Release Notes Release Notes, XUL, XULRunner
XULRunner 1.8.0.1 is the first stable developer preview release of XULRunner. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications.
1970 XULRunner 1.8.0.4 Release Notes Command Line, FAQ, Release Notes, XUL, XULRunner
XULRunner 1.8.0.4 is a stable developer preview of the Mozilla XULRunner application framework. It replaces version 1.8.0.1; all users should upgrade. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications.
1971 XULRunner 1.9 Release Notes Release Notes, XUL, XULRunner
XULRunner 1.9 is a stable release of the Mozilla XULRunner application framework. It replaces version 1.8.0.4; all users should upgrade. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications. XULRunner 1.9 is built from the same source code snapshot as Firefox 3.
1972 XULRunner 1.9.1 Release Notes Release Notes, XUL, XULRunner
XULRunner 1.9.1 is a stable release of the Mozilla XULRunner application framework. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications. XULRunner 1.9.1.x is built from the same source code snapshot as Firefox 3.5.x.
1973 XULRunner 1.9.2 Release Notes
XULRunner 1.9.2 is a stable release of the Mozilla XULRunner application framework. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications. XULRunner 1.9.2.x is built from the same source code snapshot as Firefox 3.6.x.
1974 XULRunner 2.0 Release Notes
XULRunner 2.0 is a stable release of the Mozilla XULRunner application framework. It provides facilities for launching standalone XUL applications and embedding APIs which can be used to render web pages within native and Java applications. XULRunner 2.0.x is built from the same source code snapshot as Firefox 4.0.x.
1975 XULRunner FAQ FAQ, XUL, XULRunner
This page is intended to answer frequently asked questions and correct common misconceptions about XULRunner.
1976 XULRunner Hall of Fame Demos, XUL, XULRunner, enterprise
See also Featured Mozilla-based applications, many of which use XULRunner.
1977 XULRunner tips Chrome URL, Command Line, Extension Manager, Extensions, FAQ, Password Manager, Preferences, Tips, XUL, XULRunner, branding
XULRunner Frequently Asked Questions. Work in progress. Contains tons of non-working code (bit rot).
1978 XULRunner/Old Releases XUL, XULRunner
No summary!
1979 toolkit.defaultChromeFeatures Preferences, XULRunner
Type: String
Specified by: default prefs of XULRunner applications
Default: "chrome,dialog=no,all"
Example: pref("toolkit.defaultChromeFeatures", "chrome,resizable=no,dialog=no");
1980 toolkit.defaultChromeURI Preferences, XULRunner
Type: String
Specified by: default prefs of XULRunner applications
Default: none
Example: pref("toolkit.defaultChromeURI", "chrome://myapp/content/");
1981 toolkit.singletonWindowType Preferences, XULRunner
Preference
1982 xulauncher
No summary!
1983 ant script to assemble an extension Extensions, Extensions:Tools, Tools
This ant script helps to package an extension
1984 application/http-index-format specification Necko
The application/http-index-format file format is an attempt to provide a generic, extensible file listing format that is principly machine readable.
1985 calICalendarView Interfaces, Interfaces:Scriptable, XPCOM, XPCOM API Reference
An object implementing calICalendarView is generally intended to serve as a way of manipulating a set of DOM nodes corresonding to a visual representation of calIEvent and calITodo objects. Because of this close association between methods and attributes on the one hand, and content on the other, calICalendarView implementations are particularly well suited to XBL. There is, however, no practical obstacle to the interface being implemented by any javascript object associated with a group of DOM nodes, even non-anonymous XUL nodes.
1986 calICalendarViewController Interfaces, Interfaces:Scriptable, XPCOM, XPCOM API Reference
A calICalendarViewController provides a way for a calICalendarView to create, modify, and delete items. Implementing a calICalendarViewController allows for these actions to be performed in a manner consistent with the rest of the application in which the calICalendarView is included.
1987 calIFileType Interfaces
The calIFileType interface provides information about a specific file type.
1988 mozilla.dev.platform FAQ
FAQ for questions asked on mozilla.dev.platform
1989 nsIContentPolicy Interfaces, Interfaces:Scriptable, NeedsMarkupWork, Reference, XPCOM, XPCOM Interface Reference
You can observe content that is being loaded into your browser by implementing nsIContentPolicy. This interface can be very useful if you are developing a content-aware plugin (blocking ads or altering the look of content, for example), or if you want to stop or allow user-browsed URLs.
1990 reftest opportunities files Automated testing, Developing Mozilla
These are files in the Mozilla source that may be usable for reftest. It is not always clear why particular files were checked in, but one presumes that something needed to be checked. Many of these were checked with the Layout Regression test tool, which has been described as difficult to use and it apparently reported a lot of regressions that were not errors.
1991 symsrv_convert
Make sure you have a symsrv.dll and symsrv.yes in the directory where symsrv_convert is looking. For me this was C:/Windows/SysWOW64/
1992 xbDesignMode.js
No summary!
1993 Archived open Web documentation Archive, Landing, Web
The documentation listed below is archived, obsolete material about open Web topics.
1994 Browser Detection and Cross Browser Support
Improper browser detection can lead to web maintenance nightmares. Rethinking the basics of when and how to detect user agents is crucial to creating maintainable, cross browser web content. This article reviews several approaches to browser detection, their usefulness in specific circumstances to arrive at a common sense approach to browser detection.
1995 Browser Feature Detection Compatibility, Cross-browser_Development, DOM, Gecko, Obsolete, Web Development
An experimental approach to discovering degree of support for Standards.
1996 CSS Archive, CSS, Obsolete, Overview
Obsolete CSS features
1997 display-inside CSS, CSS Display, CSS Property, Experimental, Graphics, Layout, NeedsExample, Reference, Web
The display-inside CSS property specifies the inner display type of the box generated by an element, dictating how its contents lay out inside the box.
1998 display-outside CSS, CSS Display, CSS Property, Experimental, Graphics, Layout, NeedsExample, Reference, Web
The display-outside CSS property specifies the outer display type of the box generated by an element, dictating how the element participates in its parent formatting context.
1999 Displaying notifications (deprecated) DOM, Mobile, Notifications, Obsolete
Firefox offers support for "desktop notifications"; these are notifications that are displayed to the user outside the context of the web content, using the standard notification system provided by the operating system.
2000 E4X Obsolete
ECMAScript for XML (E4X) is a programming language extension that adds native XML support to JavaScript. It does this by providing access to the XML document in a form that feels natural for ECMAScript programmers. The goal is to provide an alternative, simpler syntax for accessing XML documents than via DOM interfaces. A valid alternative to E4X is a non-native JXON algorithm.
2001 E4X for templating E4X
E4X can be used for creating templates for dynamic content.
2002 Processing XML with E4X Obsolete
First introduced in JavaScript 1.6, E4X introduces a native XML object to the JavaScript language, and adds syntax for embedding literal XML documents in JavaScript code.
2003 E4X Tutorial E4X, JavaScript, XML
This tutorial walks you through the basic syntax of E4X (ECMAScript for XML). With E4X, programmers can manipulate an XML document with a syntax more familiar to JavaScript programming.
2004 Accessing XML children
Normal JavaScript Objects use the . operator or [] notation to set properties.
2005 Descendants and Filters
In many cases, the node that you're interested in is not the direct child of the top XML element. Instead, it may be nested several levels down. You can access nodes at any depth using the .. operator, or by using the descendants property. For instance
2006 Introduction E4X, JavaScript, XML
With E4X enabled, basic XML elements are valid syntax for variables. For instance
2007 Namespaces
Oftentimes, XML documents will contain elements from a variety of namespaces. You can declare the default namespace for your E4X objects by placing the statement:
2008 The global XML object
E4X-capable JavaScript engines put a new property on the global object. The XML object has several properties that allow you to customize parsing and serialization of E4X. XML elements will remember the settings of the XML object from the time of their creation.
2009 Iterator Deprecated, JavaScript, Legacy Iterator, Reference
The Iterator function returns an object which implements legacy iterator protocol and iterates over enumerable properties of an object.
2010 JavaScript Archive, JavaScript, Overview
Obsolete JavaScript features and unmaintained docs
2011 Array comprehensions JavaScript, Language feature, Non-standard, Obsolete, Operator, Reference
The array comprehension syntax was a JavaScript expression which allowed you to quickly assemble a new array based on an existing one. However, it has been removed from the standard and the Firefox implementation. Do not use it!
2012 Array.observe() Array, JavaScript, Method, Obsolete
The Array.observe() method was used for asynchronously observing changes to Arrays, similar to Object.observe() for objects. It provided a stream of changes in order of occurrence. It's equivalent to Object.observe() invoked with the accept type list ["add", "update", "delete", "splice"]. However, this API has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
2013 Array.unobserve() Array, JavaScript, Method, Obsolete
The Array.unobserve() method was used to remove observers set by Array.observe(), but has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
2014 ArrayBuffer.transfer() ArrayBuffer, Experimental, JavaScript, Method, Reference, TypedArrays
The static ArrayBuffer.transfer() method returns a new ArrayBuffer whose contents have been taken from the oldBuffer's data and then is either truncated or zero-extended by newByteLength. If newByteLength is undefined, the byteLength of the oldBuffer is used. This operation leaves oldBuffer in a detached state.
2015 Date.prototype.toLocaleFormat() Date, JavaScript, Method, Non-standard, Prototype, Reference
The non-standard toLocaleFormat() method converts a date to a string using the specified formatting. Intl.DateTimeFormat is an alternative to format dates in a standards-compliant way. See also the newer version of Date.prototype.toLocaleDateString().
2016 ECMAScript 2016 to ES.Next support in Mozilla Firefox, JavaScript, NeedsUpdate
No summary!
2017 Expression closures Function, JavaScript, Language feature, Non-standard, Obsolete, Operator, Reference
Expression closures are a shorthand function syntax for writing simple functions.
2018 Function.arity Function, JavaScript, Obsolete, Property, Unimplemented
Not part of any standard.
2019 Function.prototype.isGenerator() Function, JavaScript, Method, Non-standard, Obsolete
The non-standard isGenerator() method used to determine whether or not a function is a generator. It has been removed from Firefox starting with version 58.
2020 Generator comprehensions Iterator, JavaScript, Language feature, Non-standard, Obsolete, Reference
The generator comprehension syntax was a JavaScript expression which allowed you to quickly assemble a new generator function based on an existing iterable object. However, it has been removed from the standard and the Firefox implementation. Do not use it!
2021 Legacy generator function JavaScript, Language feature, Legacy Iterator, Non-standard, Obsolete, Reference
The legacy generator function statement declares legacy generator functions with the specified parameters.
2022 Legacy generator function expression JavaScript, Language feature, Legacy Iterator, Non-standard, Obsolete, Operator, Reference
The function keyword can be used to define a legacy generator function inside an expression. To make the function a legacy generator, the function body should contain at least one yield expression.
2023 Microsoft JavaScript extensions JavaScript, JavaScript:Microsoft Extensions, Landing page, Non-standard, Reference
Microsoft browsers (Internet Explorer, and in a few cases, Microsoft Edge) support a number of special Microsoft extensions to the otherwise standard JavaScript APIs.
2024 @cc_on JavaScript, JavaScript:Microsoft Extensions, Language feature, Non-standard, Obsolete, Reference, Statement
The @cc_on statement activates conditional compilation support within comments in a script.
2025 @if JavaScript, JavaScript:Microsoft Extensions, Language feature, Non-standard, Obsolete, Reference, Statement
The @if statement conditionally executes a group of statements, depending on the value of an expression.
2026 @set JavaScript, JavaScript:Microsoft Extensions, Language feature, Non-standard, Obsolete, Reference, Statement
The @set statement creates variables used with conditional compilation statements.
2027 ActiveXObject ActiveXObject, Class, Deprecated, Extension, JavaScript, JavaScript:Microsoft Extensions, Microsoft, Non-standard, Obsolete, Reference
The ActiveXObject Object enables and returns a reference to an automation object.
2028 Date.getVarDate() JavaScript, JavaScript:Microsoft Extensions, Method, Non-standard, Obsolete, Reference
The getVarDate method returns a VT_DATE value from a Date object.
2029 Debug Debug, Interface, JavaScript, Namespace, Non-standard
The debug object is an instrinsic global object that sends output to a debugger.
2030 Debug.debuggerEnabled Debug, JavaScript, Property, Reference, debuggerEnabled
The debug.debuggerEnabled property determines whether debugging is enabled for the script context. Debugging may be enabled or disabled whether or not a debugger is attached.
2031 Debug.msTraceAsyncCallbackCompleted Debug, JavaScript, NeedsContent, Property, Reference, msTraceAsyncCallbackCompleted
Indicates that the callback stack associated with a previously specified asynchronous operation has completed.
2032 Debug.msTraceAsyncCallbackCompleted Debug, Example, JavaScript, Method, msTraceAsyncCallbackCompleted
The debug.msTraceAsyncCallbackCompleted function indicates that an asynchronous operation has completed.
2033 Debug.msTraceAsyncCallbackStarting Debug, Example, JavaScript, Method, msTraceAsyncCallbackStarting
The debug.msTraceAsyncCallbackStarting function associates the callback stack with a previously specified asynchronous operation.
2034 Debug.msTraceAsyncOperationStarting Debug, JavaScript, Method, Reference, msTraceAsyncOperationStarting
Initiates a trace for an asynchronous operation.
2035 Debug.msUpdateAsyncCallbackRelation Debug, JavaScript, Method, Reference, msUpdateAsyncCallbackRelation
The debug.msUpdateAsyncCallbackRelation function updates the relationship status between a synchronous work item and the associated asynchronous operation.
2036 Debug.setNonUserCodeExceptions Debug, Example, JavaScript, Property, setNonUserCodeExceptions
If this property is set to true within a given scope, the debugger can then choose whether to take some specified action on exceptions thrown inside that scope: for instance, if the developer wishes to break on user-unhandled exceptions. Setting this property to false is the same as never having set the property.
2037 Debug.write Debug, Example, JavaScript, Method, write
The debug.write function sends strings to the script debugger.
2038 Debug.writeln Beginner, JavaScript, Method
The debug.writeln function sends strings to the script debugger, followed by a newline character.
2039 Enumerator Class, JavaScript, Microsoft, enumerable
The Enumerator object enables enumeration of items in a collection.
2040 Enumerator.atEnd Enumerator, Internet Explorer, JavaScript, Method, Non-standard, atEnd
The Enumerator.atEnd method returns a Boolean value indicating if the enumerator is at the end of the collection.
2041 Enumerator.item Enumerator, JavaScript, Method
The Enumerator.item method returns the current item in the collection.
2042 Enumerator.moveFirst Enumerator, Example, JavaScript, Method, Non-standard, moveFirst
The Enumerator.moveFirst method resets the current item in the collection to the first item.
2043 Enumerator.moveNext Enumerator, Example, Internet Explorer, JavaScript, Method, Non-standard
The Enumerator.moveNext method moves the current item to the next item in the collection.
2044 Error.description Example, Internet Explorer, JavaScript, Non-standard, Property, description
The Error.description property returns or sets the descriptive string associated with a specific error.
2045 Error.number Example, Internet Explorer, JavaScript, Non-standard, Number, Property
The Error.number property returns or sets the numeric value associated with a specific error. The Error object's default property is number.
2046 Error.stackTraceLimit Example, Internet Explorer, JavaScript, Non-standard, Property, stackTraceLimit
The Error.stackTraceLimit property gets or sets the stack trace limit, which is equivalent to the number of error frames to display. The default limit is 10.
2047 GetObject Example, JavaScript, Method, Non-standard, Reference
The GetObject function returns a reference to an Automation object from a file.
2048 ScriptEngine() Deprecated, JavaScript, JavaScript:Microsoft Extensions, Method, Non-standard
The ScriptEngine function gets the name of the scripting language in use.
2049 ScriptEngineBuildVersion Example, Internet Explorer, JavaScript, Method, Non-standard, ScriptEngine, ScriptEngineBuildVersion
The ScriptEngineBuildVersion function bets the build version number of the scripting engine in use.
2050 ScriptEngineMajorVersion Example, Internet Explorer, JavaScript, Method, Non-standard, ScriptEngine, ScriptEngineMajorVersion
The ScriptEngineMajorVersion function gets the major version number of the scripting engine in use.
2051 ScriptEngineMinorVersion Example, Internet Explorer, JavaScript, Method, Non-standard, ScriptEngine, ScriptEngineMinorVersion
The ScriptEngineMinorVersion function gets the minor version number of the scripting engine in use.
2052 VBArray Class, Example, JavaScript, Non-standard, Reference
The VBArray object provides access to Visual Basic safe arrays.
2053 VBArray.dimensions Example, JavaScript, Method, Non-standard, Reference
The VBArray.dimensions method returns the number of dimensions in a VBArray.
2054 VBArray.getItem Example, JavaScript, Method, Non-standard, Reference
The VBArray.getItem method returns the item at the specified location.
2055 VBArray.lbound Example, JavaScript, Method, Non-standard, Reference
The VBArray.lbound method returns the lowest index value used in the specified dimension of a VBArray.
2056 VBArray.toArray Example, JavaScript, Method, Non-standard, Reference
The VBArray.toArray method returns a standard JavaScript array converted from a VBArray.
2057 VBArray.ubound Example, JavaScript, Method, Non-standard, Reference
The VBArray.ubound method returns the highest index value used in the specified dimension of the VBArray.
2058 New in JavaScript ECMAScript, JavaScript, Versions
This chapter contains information about JavaScript's version history and implementation status for Mozilla/SpiderMonkey-based JavaScript applications, such as Firefox.
2059 ECMAScript 2015 support in Mozilla ECMAScript 2015, Firefox, JavaScript
ECMAScript 2015 is the sixth edition of the ECMAScript Language Specification standard. It defines the standard for the JavaScript implementation in SpiderMonkey, the engine used in Firefox and other Mozilla applications.
2060 ECMAScript 5 support in Mozilla ECMAScript 5, JavaScript, Versions
ECMAScript 5.1, an older version of the standard upon which JavaScript is based, was approved in June 2011.
2061 New in JavaScript 1.1 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 2.0 to 3.0. The old Netscape documentation references this as "Features added after version 1". Netscape Navigator 3.0 was released on August 19, 1996. Netscape Navigator 3.0 was the second major version of the browser with JavaScript support.
2062 New in JavaScript 1.2 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 3.0 to 4.0. The old Netscape documentation can be found on archive.org. Netscape Navigator 4.0 was released on June 11, 1997. Netscape Navigator 4.0 was the third major version of the browser with JavaScript support.
2063 New in JavaScript 1.3 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 4.0 to 4.5. The old Netscape documentation can be found on archive.org. Netscape Navigator 4.5 was released on October 19, 1998.
2064 New in JavaScript 1.4 JavaScript, Versions
The following is a changelog for JavaScript 1.4, which was only used for Netscape's server side JavaScript released in 1999. The old Netscape documentation can be found on archive.org.
2065 New in JavaScript 1.5 JavaScript, Versions
The following is a changelog for JavaScript 1.5. This version was included in Netscape Navigator 6.0 was released on November 14, 2000 and was also used in later versions of Netscape Navigator and Firefox 1.0. You can compare JavaScript 1.5 to JScript version 5.5 and Internet Explorer 5.5, which was released in July 2000. The corresponding ECMA standard is ECMA-262 Edition 3 (from December 1999).
2066 New in JavaScript 1.6 JavaScript, Versions
The following is a changelog for JavaScript 1.6. This version was included in Firefox 1.5 (Gecko 1.8), which was released in November 2005. The corresponding ECMA standard is ECMA-262 Edition 3 and ECMAScript for XML (E4X) with some additional features. Several new features were introduced: E4X, several new Array methods, and Array and String generics.
2067 New in JavaScript 1.7 JavaScript, Versions
The following is a changelog for JavaScript 1.7. This version was included in Firefox 2 (October 2006).
2068 New in JavaScript 1.8 JavaScript, Versions
The following is a changelog for JavaScript 1.8. This version was included in Firefox 3 and is part of Gecko 1.9. See bug 380236 for a tracking development bug for JavaScript 1.8.
2069 New in JavaScript 1.8.1 Firefox 3.5, JavaScript, Versions
The following is a changelog for JavaScript 1.8.1. This version was included in Firefox 3.5.
2070 New in JavaScript 1.8.5 ECMAScript 5, Firefox 4, JavaScript, JavaScript 1.8.5, Versions
The following is a changelog for JavaScript 1.8.5. This version was included in Firefox 4.
2071 Number.toInteger() JavaScript, Method, Number, Obsolete
The Number.toInteger() method used to evaluate the passed value and convert it to an integer, but its implementation has been removed.
2072 Object.getNotifier() JavaScript, Method, Object, Obsolete
The Object.getNotifer() method was used to create an object that allows to synthetically trigger a change, but has been deprecated and removed in browsers.
2073 Object.observe() JavaScript, Method, Object, Obsolete
The Object.observe() method was used for asynchronously observing the changes to an object. It provided a stream of changes in the order in which they occur. However, this API has been deprecated and removed from browsers. You can use the more general Proxy object instead.
2074 Object.prototype.__count__ JavaScript, Non-standard, Object, Obsolete, Property, Prototype
The __count__ property used to store the count of enumerable properties on the object, but it has been removed.
2075 Object.prototype.__noSuchMethod__ JavaScript, Non-standard, Object, Obsolete, Property, Prototype
The __noSuchMethod__ property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available.
2076 Object.prototype.__parent__ JavaScript, Non-standard, Object, Obsolete, Property, Prototype
The __parent__ property used to point to an object's context, but it has been removed.
2077 Object.prototype.eval() JavaScript, Method, Object, Obsolete
The Object.eval() method used to evaluate a string of JavaScript code in the context of an object, however, this method has been removed.
2078 Object.prototype.unwatch() Debugging, Deprecated, JavaScript, Method, Object, Obsolete, Prototype, Reference
The unwatch() method removes a watchpoint set with the watch() method.
2079 Object.prototype.watch() Debugging, Deprecated, JavaScript, Method, Object, Obsolete, Prototype
The watch() method watches for a property to be assigned a value and runs a function when that occurs.
2080 Object.unobserve() JavaScript, Method, Object, Obsolete
The Object.unobserve() method was used to remove observers set by Object.observe(), but has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
2081 Reflect.enumerate() ECMAScript 2015, JavaScript, Method, Obsolete, Reflect
The static Reflect.enumerate() method used to return an iterator with the enumerable own and inherited properties of the target object, but has been removed in ECMAScript 2016 and is deprecated in browsers.
2082 arguments.caller Functions, JavaScript, Obsolete, Property, arguments
The obsolete arguments.caller property used to provide the function that invoked the currently executing function. This property has been removed and no longer works.
2083 for each...in Deprecated, E4X, JavaScript, Language feature, Obsolete, Statement
The for each...in statement iterates a specified variable over all values of object's properties. For each distinct property, a specified statement is executed.
2084 handler.enumerate() ECMAScript 2015, JavaScript, Method, Obsolete, Proxy
The handler.enumerate() method used to be a trap for for...in statements, but has been removed from the ECMAScript standard in ES2016 and is deprecated in browsers.
2085 LiveConnect Java, LiveConnect
(Please update or remove as needed.)
2086 LiveConnect Overview Advanced, Java, JavaScript, LiveConnect
This chapter describes using LiveConnect technology to let Java and JavaScript code communicate with each other. The chapter assumes you are familiar with Java programming.
2087 LiveConnect Reference
This section documents the Java classes used for LiveConnect, along with their constructors and methods.
2088 JSException
The public class JSException extends RuntimeException
2089 JSObject
The public final class netscape.javascript.JSObject extends Object.
2090 MSX Emulator (jsMSX) Canvas_examples, Examples, HTML:Canvas
No summary!
2091 Old Proxy API Obsolete
Proxies are objects for which the programmer has to define the semantics in JavaScript. The default object semantics are implemented in the JavaScript engine, often written in lower-level languages like C++. Proxies let the programmer define most of the behavior of an object in JavaScript. They are said to provide a meta-programming API.
2092 ParallelArray JavaScript, Obsolete, ParallelArray
The goal of ParallelArray was to enable data-parallelism in web applications. The higher-order functions available on ParallelArray attempted to execute in parallel, though they may fall back to sequential execution if necessary. To ensure that your code executes in parallel, it is suggested that the functions should be limited to the parallelizable subset of JS that Firefox supports.
2093 Properly Using CSS and JavaScript in XHTML Documents CSS, JavaScript, Web Development, XHTML
XHTMLℱ 1.0 The Extensible HyperText Markup Language (Second Edition) defines XHTML to be a reformulation of HTML 4 as an XML 1.0 application.
2094 Examples CSS, JavaScript, Web Development, XHTML
This page contains the source code of the examples related to the "Properly Using CSS and JavaScript in XHTML Documents" article.
2095 RDF: Resource Description Framework for metadata Metadata Model, RDF, Resource Description, Resource Description Framework, metadata, resources
Resource Description Framework (RDF) is a family of specifications for a metadata model that is often implemented as an application of XML.
2096 Reference
The guide section links to an interesting document discussing how to create and use private variables in objects, which is great if you want to protect the various properties within an object from being poked at accidentally. I also just read a document on proper inheritance using apply(). Well if you combine the two, you can have inherited private variables:
2097 Server-Side JavaScript
Here's a radical idea: Use one language to write entire Web apps -- the same language which billions of web pages already use, every day.
2098 Back to the Server: Server-Side JavaScript On The Rise
by Davey Waterson, JavaScript Architect, Aptana
2099 Sharp variables in JavaScript JavaScript, Obsolete
A sharp variable is a syntax in object initializers that allows serialization of objects that have cyclic references or multiple references to the same object.
2100 Standards-Compliant Authoring Tools HTML:Tools, Tools, XHTML, XHTML:Tools
Creating cross-browser code upfront will save you lots of time quality testing your web content. The following authoring tools adhere to the W3 standards. If you're using older versions of tools that rely on old browser bugs or generate browser-specific code, it may be time to upgrade:
2101 StopIteration Deprecated, JavaScript, Legacy Iterator, Reference, StopIteration
The StopIteration object was used to tell the end of the iteration in the legacy iterator protocol. Do not use this ancient feature.
2102 Styling the Amazing Netscape Fish Cam Page CSS
No summary!
2103 Using JavaScript Generators in Firefox
Generators can be used to simplify asynchronous code in Firefox by opting in to using JavaScript version 1.7 or later. You can opt in in HTML as follows:
2104 Window.importDialog() API, Archive, Archived, DOM, DOM Reference, Method, Non-standard, Obsolete, Reference, Référence(2), WebAPI
Because opening windows on mobile isn't necessarily appropriate, the Firefox Mobile team designed the importDialog() method to replace window.openDialog(). Instead of opening a new window, it merges the specified XUL dialog into the main window.
2105 Window: devicelight event Reference, Sensors, Web, events
The devicelight event is fired when fresh data is available from a light sensor.
2106 Writing JavaScript for XHTML JavaScript, XHTML, XML
In practise, very few XHTML documents are served over the Web with the correct MIME media type, application/xhtml+xml. Whilst authored to the stricter rules of XML, they are sent with the media type for HTML (text/html). The receiving browser considers the content to be HTML, and does not utilise its XML parser.
2107 XForms Archive, Archived, Obsolete, XForms
XForms were envisioned as the future of online forms as envisioned by the W3C. Drawing on other W3C standards like XML Schema, XPath, and XML Events, XForms tried to address some of the limitations of the current HTML forms model. However, XForms never gained traction and is now considered obsolete.
2108 Building Mozilla XForms XForms
Things to know first:
2109 Community XForms
No summary!
2110 Developing Mozilla XForms
Always start with a debug build of the xforms and the schema-validation extensions. See Building Mozilla XForms for a .mozconfig for debug builds. You should create a new, clean profile for debugging. Then start Firefox out of the build directory:
2111 Implementation Status
The extension has some limitations and custom extension to the XForms 1.1 specification. These can be found on the Mozilla XForms Specials page.
2112 Mozilla XForms Specials XForms
No summary!
2113 Mozilla XForms User Interface XForms
This article is a quick reference of the XForms user interface elements. Mainly this is aimed to document how XForms elements will be presented in Mozilla since the XForms specifications give only a hint of how controls might be rendered.
2114 XForms Alert Element XForms
No summary!
2115 XForms Group Element XForms
The group element is used as a container for defining a hierarchy of form controls. Groups can be nested to create complex hierarchies.
2116 XForms Help Element XForms
No summary!
2117 XForms Hint Element XForms
No summary!
2118 XForms Input Element XForms
No summary!
2119 XForms Label Element XForms
No summary!
2120 XForms Message Element XForms
No summary!
2121 XForms Output Element XForms
No summary!
2122 XForms Range Element XForms
No summary!
2123 XForms Repeat Element XForms
No summary!
2124 XForms Secret Element XForms
No summary!
2125 XForms Select Element XForms
No summary!
2126 XForms Select1 Element XForms
No summary!
2127 XForms Submit Element XForms
This form control initiates a submission. The result of which is all or part of an instance document being sent to a target destination, which could be local or remote (see the spec). Upon receiving a DOMActivate event, this form control dispatches a xforms-submit event to the submission element (see the spec) specified in its submission attibute.
2128 XForms Switch Module XForms
XForms Switch Module define a switch construct that allows the creation of user interfaces where the user interface can be varied based on user actions and events. The module defines for this switch, case and toggle elements.
2129 XForms Textarea Element XForms
No summary!
2130 XForms Trigger Element XForms
Allows the user to initiate actions (see the spec). Actions are described by the XForms Action Module (see the spec).
2131 XForms Upload Element XForms
No summary!
2132 Other Resources XForms
No summary!
2133 Requests For Enhancement XForms
No summary!
2134 RFE to the Custom Controls XForms
No summary!
2135 RFE to the Custom Controls Interfaces XForms
No summary!
2136 RFE to the XForms API XForms
No summary!
2137 Troubleshooting XForms Forms XForms
No summary!
2138 Using XForms and PHP XForms
No summary!
2139 XForms API Reference XForms
The XForms interfaces has the following naming convention:
2140 XForms Config Variables XForms
No summary!
2141 XForms Custom Controls XForms
You are in the right place if you would like to create your own custom renderings of the XForms controls like input, output, trigger, etc. We will also show you how to create custom controls that work with the XForms model and are automatically updated just like XForms controls. The purpose of this article is to give you enough background information so that you'll be able to get a good start. To really grasp the following information, a good understanding of XForms, XBL, JavaScript and CSS is needed. XPCOM knowledge will certainly not hurt. But even if you are only comfortable with a couple of these technologies, we hope that the possibilities outlined below will inspire you to learn more where you need to.
2142 XForms Custom Controls Examples XForms
No summary!
2143 XForms Styling XForms
No summary!
2144 background-size
Should not the "Browser compatibility" table also list Google Chrome and Konqueror? Chome is not mentioned at all, but is becoming increasingly popular. Konqueror is listed below the table, which seems inconsistent. Znerd 04 August 2009
2145 forEach
Ok, in the end I didn't remove the old code as it isn't hosted anywhere (I thought the github reference contained the code) but inserted a faster implementation above while retaining the rest of the document.
2146 B2G OS B2G, B2G OS, Basic, Beginner, Gaia, Gecko, Gonk, Mozilla, Overview, b2g smartphone os, getting started with b2gos, web based os from mozilla, web os gecko
B2G OS is (was) a complete, standalone operating system for the open web. It is an open source project developed by the Mozilla community and forms the basis of Firefox OS products. As of 2017 it is no longer maintained.
2147 Automated Testing of B2G OS Automated QA Testing, Automated testing, QA, Testing
This page offers articles that provide information about various aspects of testing B2G OS, including running different tests, automation, and result reporting and tracking.
2148 Cppunit Tests automated, cppunit, tests
Cppunit tests are headless Gecko C++ unit tests. You can run Cppunit tests on B2G; in this article we will look at how to do so. Currently, these are mainly tested on the emulator, but theoretically , it should run on devices as well.
2149 Endurance tests Automation, Endurance, Firefox OS, Gaia, UI, test
The Gaia-UI Endurance tests are a suite of Firefox OS tests built on top of the Gaiatest (Gaia UI Tests) Framework. The tests run on real Firefox OS devices, and use Marionette to drive the device's UI.
2150 Firefox OS mochitests Automated testing, Firefox OS, Gaia, Mobile, Testing, Tutorial
Mochitest is an automated testing framework built on top of the MochiKit JavaScript libraries that provides functional and API tests for Firefox OS. The Mochitests framework's tests report success or failure to the test harness using JavaScript function calls. The following sections take you through the steps needed to run Mochitests on Firefox OS via both B2G Desktop and device/emulator builds.
2151 Firefox OS reftests Automated testing, Firefox OS, Guide, Mobile, Testing
Reference tests (or reftests) are basically tests that compare two separate renderings of web app UI features (HTML elements, for example) to see if they are the same, or not. This article provides you with all you need to know to run Mozilla's suite of reftests on B2G. To find out more about reftests themselves, read Creating reftest-based unit tests.
2152 Gaia Integration tests Automation, Firefox OS, Gaia, Integration, tests
This document covers running and writing integration tests for Gaia apps — written in JavaScript and run via Marionette — and provides a detailed explanation of how the integration tests are run.
2153 Gaia UI Tests Introduction Build documentation, Firefox OS, Gaia, Guide, Mobile, Testing, gaia-ui-test, gaiatest
Gaia-ui-tests uses Gaiatest, a Python package based around Marionette. Gaiatest is designed to wrap HTML locators, Marionette calls and API calls together for interoperable communication and functionality. Marionette is based on the W3C standard developed for the Selenium WebDriver a programming interface for browser automation. If you have used WebDriver and page/app objects before then you will find using Marionette and gaiatest easy.
2154 Gaia UI Tests: Running Tests Automation, Firefox OS, Gaia, Guide, Testing, gaia-ui-test, gaiatest
This article provides a detailed rundown of how to run the actual gaia-ui-tests suite that resides inside Gaia itself, on B2G Desktop, and real Firefox OS devices. The Gaia project uses Treeherder to do per-commit continuous integration and pull request tests.
2155 Part 1: Getting started with Marionette and Firefox OS Automation, Firefox OS, Gaia, Python, gaia-ui-test, tests
This tutorial series aims to get you onboard with writing and running automated UI tests for Firefox OS using Marionette, an automation package that runs on your computer. Marionette issues commands to run tests on Gecko-based platforms. This particular article will run you through the set up you need to do to before you can start running tests.
2156 Part 2: Basic interactions with Firefox OS using Marionette Automation, Firefox OS, Gaia, Python, gaia-ui-tests, tests
In part 2 of our tutorial we’ll get started with some simple Marionette commands that allow us to remotely control Firefox OS. While this doesn't cover writing a full test, it teaches you the basic code features that you will use while writing a test. In part 3, we’ll progress onto evolving this code into a real test.
2157 Part 3: Upgrading our code into a reusable test
We learnt in Part 2 that we can easily control Firefox OS using Marionette client commands, but typing them into a Python console is as slow and tedious. The key advantage of test automation is that it can run autonomously. We will learn how to do that in this part, as we put all of our code commands into a Python file that can then be run all in one go.
2158 Part 4: Re-using commands to set up Firefox OS Automation, Firefox OS, Gaia, Python, Testing, gaia-ui-tests
In Parts 2 and 3 we got a working test, but if we wanted to reset its state (for example killing open apps) before running the test, we'd have to do this manually. That’s a bit tedious, so again we should automate it! In this part, we’ll look how to do this and more by breaking out bits of code into separate Python methods that we can re-use.
2159 Part 5: Introducing a test runner Automation, Firefox OS, Gaia, Python, gaia-ui-tests, tests
Everything is going well so far, but we are still only dealing with one test. When testing a large real-world web app there may be tens or hundreds of test cases, and we certainly don't want to run each one manually. In such as scenario we need to use a test runner to find and execute the tests for us, and in this article we'll explore just that.
2160 Part 6: Using tuples, and Marionette's By class Automation, Firefox OS, Gaia, Python, Testing, gaia-ui-tests
In our code so far, we have used many locators to find specific elements, whether they are apps (iFrames) or specific parts of apps. Up to now we have been writing locators directly inline and duplicating code, as a result. To improve the situation further, it is a good practice to abstract these locators out into Python tuple variables so they can be reused. In this article we'll show you how.
2161 Part 7: Writing your own tests Automation, Firefox OS, Gaia, Python, gaia-ui-tests, tests
So far we've given you most of the tools and information you need to start writing your own automated tests on Firefox OS, along with enough steps to follow to get you up and running quickly. In this part we are going to go pretty hands off, providing you with some resources and ideas, and then encouraging you to make your own way. Here we will start moving you towards writing your own tests — enjoy!
2162 Part 8: Using a base class Automation, Firefox OS, Gaia, Python, gaia-ui-tests, tests
Now you have multiple tests you are probably feeling pretty good about your progress. However there are other ways to improve code efficiency further — you may notice that you've so far had to include a setUp() and a tearDown() method in each test file, going by the current constructs we've seen in this series. If you have several dozen tests then that’s a lot of code duplication! In this article we'll look at how to put the setUp()/tearDown() code common to all tests into a TestBase class, which can then be imported into each individual test file.
2163 Part 9: Reducing duplication with app objects Automation, Firefox OS, Gaia, Python, app objects, gaia-ui-tests, tests
In automated testing we often use app objects to abstract code. This reduces duplication of code and locators. If we need to change a common section of code we can change it only in a single app object, rather than having to change it in 10 or 20 test files. This article provides the basics of how to use app objects.
2164 Gaia performance tests Apps, Automated testing, Firefox OS, Performance, QA, Testing
This article provides information about running performance tests on Gaia, as well as how to create new tests.
2165 Gaia unit tests Automation, Build documentation, Firefox OS, Gaia, Mobile, NeedsContent, tests, unit tests
You can run the unit tests on B2G desktop, Firefox Nightly or Mulet. You also need the latest Gaia repo. For most of the functionality, you must also have Node.js and NPM installed.
2166 MTBF tests Automated testing, Gaia, MTBF, gaiatest
Mean time between failures (MTBF) is the predicted elapsed time between inherent failures of a system during operation. MTBF can be calculated as the arithmetic mean (average) time between failures of a system. The MTBF is typically part of a model that assumes the failed system is immediately repaired (mean time to repair, or MTTR), as a part of a renewal process. This is in contrast to the mean time to failure (MTTF), which measures average time to failures with the modeling assumption that the failed system is not repaired (infinite repair time).
2167 Marionette for Interactive Python Firefox OS, Guide
This tutorial assumes you've set up Marionette for B2G.
2168 Test Execution Chart
The test execution chart shows which harnesses are supported on which platforms, and which platforms are currently being used for continuous-integration.
2169 The Mozilla integrated tools package B2G, Firefox OS, Flash, Marionette, MozITP, Testing, Tools, taskcluster
The Mozilla integrated tools package (MozITP) is a one-stop shop for setting up Firefox OS-related tools, which can handle automatic Testing on Mulet or a real device, flashing TaskCluster images, flashing with the B2G installer add-on, and running the TV and phone versions of Mulet. This article details how the toools package works, and how it can be installed.
2170 Viewing CI test results Automation, Jenkins, Treeherder, tests
Whenever a pull request is created against mozilla-b2g's gaia repository, Mozilla picks up that branch and runs the Gaia suite of tests against it. This is very similar to how Travis works.
2171 Writing Gaia Unit Tests Firefox OS, Gaia, Guide, Testing, unit tests
The unit test runner is mocha using the TDD interface. Mocha doesn't ship with an assertion library (there is no ok or assert_equals), so we use chai to provide assertions.
2172 XPCShell Firefox OS, Gaia, Guide, XPCOM, XPCShell, automated, tests
XPCShell tests are headless tests of Gecko XPCOM APIs. You can run XPCShell tests on B2G; in this article we will look at how to do so. Currently, these are mainly tested on the emulator, but should in theory run on devices as well.
2173 B2G OS APIs API, B2G API, b2g os api's
List of B2G OS APIs
2174 Alarm API API, B2G, Firefox OS, Non-standard, Obsolete, Reference, alarm
The Alarm API allows applications to schedule actions to be run in the future. For example, some applications like alarm-clock, calendar or auto-update might need to utilize the Alarm API to trigger particular device behaviors at specified time points.
2175 Audio Channels API API, Audio, AudioChannels, B2G, Firefox OS, Non-standard, Obsolete, Reference
The Audio Channels API is a Firefox OS-only feature allowing you to place your app audio content into a hierarchy of importance, which dictates when the audio will be paused and resumed in response to other audio playing and actions occurring and allows you to control the volume of different types of audio independently from one another.
2176 Using the AudioChannels API API, Audio, Audio Channels API, Firefox OS, Guide, Non-standard
The different audio channels are as follows:
2177 AudioChannelManager API, Audio, AudioChannelManager, AudioChannels, Firefox OS, Interface, Non-standard, Reference
The AudioChannelManager interface of the AudioChannels API includes features for managing your device's audio channels, including setting what channel's volume to affect when the volume buttons are pressed inside a particular app.
2178 AudioChannelManager.headphones API, Audio, AudioChannelManager, AudioChannels, Firefox OS, Non-standard, Property, Reference, headphones
The headphones read-only property of the AudioChannelManager interface returns a Boolean that indicates whether headphones are plugged into the device. A true value means that headphone are plugged in; false means they aren't.
2179 AudioChannelManager.onheadphoneschange API, Audio, AudioChannelManager, AudioChannels, Firefox OS, Non-standard, Property, Reference, onheadphoneschange
The onheadphoneschange event handler of the AudioChannelManager interface fires when the device's headphones are plugged in or unplugged.
2180 AudioChannelManager.telephonySpeaker API, Audio, AudioChannelManager, AudioChannels, Firefox OS, Non-standard, Property, Reference, telephonySpeaker
The telephonySpeaker property of the AudioChannelManager interface returns a Boolean that allows you to set whether the "telephony" audio channel should be played out of the device's speakers.
2181 AudioChannelManager.volumeControlChannel API, Audio, AudioChannelManager, AudioChannels, Firefox OS, Non-standard, Property, Reference, volumeControlChannel
The volumeControlChannel property of the AudioChannelManager interface returns a DOMString that allows you to set which audio channel should have its volume changed when you press the device's hardware volume controls.
2182 BluetoothAdapter (Firefox OS) API, B2G, BluetoothAdapter, Firefox OS, Interface, Non-standard, Reference, Référence(2), Web Bluetooth, WebAPI
The BluetoothAdapter interface of the Web Bluetooth API is used to handle all the operations requested by Bluetooth networks. A Bluetooth adapter is the physical interface which is used to interact with local Bluetooth device.
2183 BluetoothAdapter.address API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The address property value provides the address of the device's adapter on the Bluetooth micro-network.
2184 BluetoothAdapter.answerWaitingCall() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The answerWaitingCall method is used to allow HFP devices to answer a pending incoming call on a CDMA network.
2185 BluetoothAdapter.class API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The class property value provides the Bluetooth "Class of Device" number of the device's adapter. This number provides much information about the device's capabilities. See the Bluetooth specification 4.0, section 6.26 for further information about the meaning of that number.
2186 BluetoothAdapter.confirmReceivingFile() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The confirmReceivingFile method is used to accept or reject the incoming file transfer request received from the remote device.
2187 BluetoothAdapter.connect() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The connect method is used to connect the device's adapter to a specific service of a remote device.
2188 BluetoothAdapter.connectSco() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The connectSco method is used to allow the device to enable the SCO connection to broadcast and listen to audio to/from the remote devices it is connected to.
2189 BluetoothAdapter.devices API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The devices property gives direct access to all the Bluetooth devices discovered in the area surrounding the device's adapter.
2190 BluetoothAdapter.disconnect() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The disconnect method is used to disconnect the device's adapter from a specific service of a remote device.
2191 BluetoothAdapter.disconnectSco() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The disconnectSco method is used to allow the device to disable the SCO connection with the remote devices it is connected to.
2192 BluetoothAdapter.discoverable API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The discoverable property indicates if the device is discoverable (true) or not (false) by other Bluetooth devices.
2193 BluetoothAdapter.discoverableTimeout API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The discoverableTimeout property indicates how long (in seconds) the device remains discoverable.
2194 BluetoothAdapter.discovering API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The discovering property indicates if the device is in the process of discovering (true) or not (false) surrounding Bluetooth devices.
2195 BluetoothAdapter.getConnectedDevices() API, B2G, Firefox OS, Method, Non-standard, Reference, Référence(2), Web Bluetooth, WebAPI
The getConnectedDevices method is used to retrieve the full list of all devices connected with a specific service of local adapter.
2196 BluetoothAdapter.getPairedDevices() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The getPairedDevices method is used to retrieve the full list of all devices paired with the device's adapter.
2197 BluetoothAdapter.ignoreWaitingCall() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The ignoreWaitingCall method is used to allow HFP devices to dismiss a pending incoming call on a CDMA network.
2198 BluetoothAdapter.isConnected() API, B2G, Firefox OS, Method, Non-standard, Reference, Web Bluetooth, WebAPI
The isConnected method is used to check if a device with a given Bluetooth profile is connected.
2199 BluetoothAdapter.isScoConnected() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The isScoConnected method is used to allow to know if there is a SCO connection between local and the remote Bluetooth device.
2200 BluetoothAdapter.name API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The name property provides the human readable name of the device's adapter.
2201 BluetoothAdapter.ona2dpstatuschanged API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive a2dpstatuschanged events. Those events occur when an A2DP connection status changes.
2202 BluetoothAdapter.ondevicefound API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive devicefound events. Those events occur when a Bluetooth device is discovered in the surrounding area.
2203 BluetoothAdapter.onhfpstatuschanged API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive hfpstatuschanged events. Those events occur when an HFP connection status changes.
2204 BluetoothAdapter.onpairedstatuschanged API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive pairedstatuschanged events. Those events occur when a pairing process is completed.
2205 BluetoothAdapter.onrequestmediaplaystatus API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive requestmediaplaystatus events. Those events occur when a remote Bluetooth device queries the current media play status.
2206 BluetoothAdapter.onscostatuschanged API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive scostatuschanged events. Those events occur when a SCO connection status changes.
2207 BluetoothAdapter.pair() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The pair method is used to start pairing a remote device with the device's adapter.
2208 BluetoothAdapter.sendFile() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The sendFile method is used to start sending a file to a given remote device.
2209 BluetoothAdapter.sendMediaMetaData() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The sendMediaMetaData method is used to send metadata about media to remote devices connected with the AVRCP 1.3 profile.
2210 BluetoothAdapter.sendMediaPlayStatus() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The sendMediaPlayStatus method is used to send the play status of the device to remote devices connected with the AVRCP 1.3 profile.
2211 BluetoothAdapter.setDiscoverable() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setDiscoverable method is used to change the value of the discoverable property for the device's adapter.
2212 BluetoothAdapter.setDiscoverableTimeout() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setDiscoverableTimeout method is used to change the value of the discoverableTimeout property for the device's adapter.
2213 BluetoothAdapter.setName() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setName method is used to change the value of the name property for the device's adapter.
2214 BluetoothAdapter.setPairingConfirmation() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setPairingConfirmation method is used to send back the pairing confirmation when the device's adapter tries to pair itself with a remote device.
2215 BluetoothAdapter.setPasskey() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setPasskey method is used to send back the requested Passkey code when the device's adapter tries to pair itself with a remote device.
2216 BluetoothAdapter.setPinCode() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The setPinCode method is used to send back the requested PIN code when the device's adapter tries to pair itself with a remote device.
2217 BluetoothAdapter.startDiscovery() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The startDiscovery method is used to have the device's adapter start seeking for remote devices.
2218 BluetoothAdapter.stopDiscovery() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The stopDiscovery method is used to have the device's adapter stop seeking for remote devices.
2219 BluetoothAdapter.stopSendingFile() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The stopSendingFile method is used to abort sending a file to a given remote device.
2220 BluetoothAdapter.toggleCalls() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The toggleCalls method is used to allow HFP devices to switch from one call to another on a CDMA network.
2221 BluetoothAdapter.unpair() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The unpair method is used to remove the paired device from the paired device list of the device's adapter.
2222 BluetoothAdapter.uuids API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The uuids property provides the list of all Bluetooth services' UUIDs the device's adapter is able to provide. See the Bluetooth specification assigned numbers part for an exhaustive list of possible services' UUIDs.
2223 BluetoothAdapterEvent (Firefox OS) API, B2G, Bluetooth, BluetoothAdapterEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth, events
The BluetoothAdapterEvent interface of the Web Bluetooth API provides access to a BluetoothAdapter object and its address as the parameter of a adapteradded or adapterremoved event handler (see BluetoothManager.onadapteradded and BluetoothManager.onadapterremoved), when fired.
2224 BluetoothAttributeEvent (Firefox OS) API, B2G, Bluetooth, BluetoothAttributeEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothAttributeEvent interface of the Web Bluetooth API provides access to changed attributes and their new values as the parameter of attributechanged event handlers (including BluetoothManager.onattributechanged, BluetoothAdapter.onattributechanged, and BluetoothDevice.onattributechanged), when fired.
2225 BluetoothClassOfDevice (Firefox OS) API, B2G, Bluetooth, BluetoothClassOfDevice, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothClassOfDevice interface of the Web Bluetooth API provides identifying/classification information about a given remote Bluetooth device, available at discovery stage.
2226 BluetoothDevice (Firefox OS) API, BluetoothDevice, Certified, Firefox OS, Interface, Non-standard, Reference, Référence(2), Web Bluetooth
The BluetoothDevice interface of the Web Bluetooth API provides information regarding a given Bluetooth device.
2227 BluetoothDevice.address API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The address property value provides the address of the device on the Bluetooth micro-network.
2228 BluetoothDevice.class API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The class property value provides the Bluetooth "Class of Device" number of the device. This number provides much information about the device's capabilities. See the Bluetooth specification 4.0, section 6.26 for further information about the meaning of that number.
2229 BluetoothDevice.connected API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The connected property indicates if the device is connected to the current device's adapter (true) or not (false).
2230 BluetoothDevice.icon API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The icon property is a string indicating which kind of icon could be used to represent the device.
2231 BluetoothDevice.name API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The name property provides the human readable name of the device.
2232 BluetoothDevice.paired API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The paired property indicates if the device is paired to the current device's adapter (true) or not (false).
2233 BluetoothDevice.services API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The services property provides a list of Bluetooth services the device is able to provide. For a full list of possible Bluetooth services see the Bluetooth specification.
2234 BluetoothDevice.uuids API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The uuids property provides the list of UUIDs of each Bluetooth service the device is able to provide. For a full list of possible Bluetooth services see the Bluetooth specification.
2235 BluetoothDeviceEvent (Firefox OS) API, B2G, Bluetooth, BluetoothDeviceEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Référence(2), Web Bluetooth, WebAPI
The BluetoothDeviceEvent interface of the Web Bluetooth API provides access to a found/paired device (BluetoothDevice) object or the address or an unpaired device as the parameter of a devicefound, devicepaired or deviceunpaired event handler (see BluetoothDiscoveryHandle.ondevicefound, BluetoothAdapter.ondevicepaired, and BluetoothAdapter.ondeviceunpaired), when fired.
2236 BluetoothDeviceEvent.device API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The device property gives access to the device bound to the event.
2237 BluetoothDiscoveryHandle (Firefox OS) API, B2G, Bluetooth, BluetoothDiscoveryHandle, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothDiscoveryHandle interface of the Web Bluetooth API is used to notify the current application about the discovery of a remote bluetooth device.
2238 BluetoothGatt (Firefox OS) API, B2G, Bluetooth, BluetoothGatt, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGatt interface of the Web Bluetooth API handles initial communications and connections with Gatt services.
2239 BluetoothGattCharacteristic (Firefox OS) API, B2G, Bluetooth, BluetoothGattCharacteristic, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGattCharacteristic interface of the Web Bluetooth API represents a GATT service characteristic, which includes characteristic definition, value, properties and configuration info, and a list of descriptors that provide related information.
2240 BluetoothGattCharacteristicEvent (Firefox OS) API, B2G, Bluetooth, BluetoothGattCharacteristicEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGattCharacteristicEvent interface of the Web Bluetooth API provides access to an updated BluetoothGattCharacteristic object as the parameter of the BluetoothGatt.oncharacteristicchanged, handler, when the characteristicchanged event is fired.
2241 BluetoothGattDescriptor (Firefox OS) API, B2G, Bluetooth, BluetoothGattDescriptor, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGattDescriptor interface of the Web Bluetooth API represents a GATT descriptor, which contains related information about a characteristic value.
2242 BluetoothGattServer (Firefox OS) API, B2G, Bluetooth, BluetoothGattServer, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGattServer interface of the Web Bluetooth API provides Bluetooth GATT server functionality to allow creation of Bluetooth Smart/LE services and characteristics.
2243 BluetoothGattService (Firefox OS) API, B2G, Bluetooth, BluetoothGattService, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothGattService interface of the Web Bluetooth API represents a service provided by a GATT server, including the service definition, a list of referenced services, and a list of the characteristics of this service.
2244 BluetoothLeDeviceEvent (Firefox OS) API, B2G, Bluetooth, BluetoothLeDeviceEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothLeDeviceEvent interface of the Web Bluetooth API provides access to an LE device BluetoothDevice object and its RSSI value and advertisement record, as the parameter of a devicefound event handler (see BluetoothDiscoveryHandle.ondevicefound), when fired.
2245 BluetoothManager (Firefox OS) API, B2G, BluetoothManager, Certified, DOM, Firefox OS, Interface, Non-standard, Reference, Référence(2), Web Bluetooth, WebAPI
The BluetoothManager interface of the Web Bluetooth API allows to access all Bluetooth adapters available on the device. Adapters are the connection interface to connect a Bluetooth device to that device.
2246 BluetoothManager.enabled API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
The enabled property value indicates whether the Bluetooth is turned on (true) or off (false).
2247 BluetoothManager.getDefaultAdapter() API, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The getDefaultAdapter method is used to retrieve the default adapter used to connect the device to third-party Bluetooth devices.
2248 BluetoothManager.isConnected() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Bluetooth, WebAPI
The isConnected method is used to check if a device with a given Bluetooth profile is connected.
2249 BluetoothManager.onadapteradded API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive adapteradded events. Those events occur when a Bluetooth adapter is enabled on the device. Each time this event occurs, the BluetoothManager.getDefaultAdapter() method will be able to access the last enabled adapter.
2250 BluetoothManager.ondisabled API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive disabled events. Those events occur when the device's Bluetooth is turned off.
2251 BluetoothManager.onenabled API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Bluetooth, WebAPI
Specifies an event listener to receive enabled events. Those events occur when the device's Bluetooth is turned on.
2252 BluetoothPairingEvent (Firefox OS) API, B2G, Bluetooth, BluetoothPairingEvent, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothPairingEvent interface of the Web Bluetooth API provides access to a device's name and the BluetoothPairingHandle object required for pairing devices as the parameter of pairing-related handlers (for example including BluetoothPairingListener.ondisplaypasskeyreq and BluetoothPairingListener.onenterpincodereq), when fired.
2253 BluetoothPairingHandle (Firefox OS) API, B2G, Bluetooth, BluetoothPairingHandle, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothPairingHandle interface of the Web Bluetooth API contains the functionality required for completing a device pairing operation, including passkeys, and mechanisms to reply to user-entered pin codes and confirm passkeys.
2254 BluetoothPairingListener (Firefox OS) API, B2G, BluePairingListener, Bluetooth, Certified, Firefox OS, Interface, Non-standard, Reference, Web Bluetooth
The BluetoothPairingListener interface of the Web Bluetooth API defines event handlers triggered for different pairing operations.
2255 BluetoothStatusChangedEvent API, B2G, Firefox OS, Non Standard, Reference, Web Bluetooth, WebAPI
The BluetoothStatusChangedEvent API provides access to information regarding any change to the status of a Bluetooth device.
2256 BluetoothStatusChangedEvent.address API, B2G, Firefox OS, Non Standard, Property, Reference, Web Bluetooth, WebAPI
The address property represents the address of the device for which the status has changed in the Bluetooth micro-network.
2257 BluetoothStatusChangedEvent.status API, B2G, Firefox OS, Non Standard, Property, Reference, Web Bluetooth, WebAPI
The status property indicates if the connection is active (true) or not (false).
2258 CallEvent API, B2G, CallEvent, Event, Firefox OS, Interface, Mobile, Non-standard, Reference, Référence(2), Telephony, WebAPI, events
The CallEvent interface of the Web Telephony API represents events related to telephone calls.
2259 CallEvent.call API, B2G, Call, CallEvent, Event, Firefox OS, Mobile, Non-standard, Property, Reference, Référence(2), Telephony, WebAPI
The call read-only property of the CallEvent interface returns a TelephonyCall object indicating the call from which the event originated.
2260 Camera API API, Firefox OS, Graphics, Non-standard, Obsolete, Reference, WebAPI, camera
No summary!
2261 Introduction to the Camera API Camera API, DOM, Gecko DOM Reference, Intermediate, Media, NeedsUpdate, Web API, camera
Through the Camera API, it is possible to take pictures with your device's camera and upload them into the current web page.
2262 CameraCapabilities API, B2G, Certified Only, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non-standard, Reference, Référence(2), WebAPI, camera
The CameraControl.capabilities property returns a CameraCapabilities object, which describes all the camera's capabilities.
2263 CameraCapabilities.effects API, B2G, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The effects property value is an Array identifying the effects (such as normal, sepia, mono, etc.) that the camera supports.
2264 CameraCapabilities.exposureCompensationStep API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The exposureCompensationStep property is a number that defines the exposure compensation minimum step size.
2265 CameraCapabilities.fileFormats API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The fileFormats property is an Array identifying the file formats supported by the camera, such as jpeg, rgb565, etc.
2266 CameraCapabilities.flashModes API, B2G, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The flashModes property is an Array of strings identifying each of the flash modes supported by the camera. Possible values are auto, off, on or torch.
2267 CameraCapabilities.focusModes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusModes property is an Array of strings identifying each of the focus modes supported by the camera such as auto, fixed, macro, etc.
2268 CameraCapabilities.maxExposureCompensation API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The maxExposureCompensation property is a number that defines the maximum supported exposure compensation value.
2269 CameraCapabilities.maxFocusAreas API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The maxFocusAreas property is a number that defines the maximum number of focus areas supported by the camera.
2270 CameraCapabilities.maxMeteringAreas API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The maxMeteringAreas property is a number that defines the maximum number of metering areas supported by the camera.
2271 CameraCapabilities.minExposureCompensation API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The minExposureCompensation property is a number that defines the minimum supported exposure compensation value.
2272 CameraCapabilities.pictureSizes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The pictureSizes property is an Array of objects containing the height and width properties supported for picture taking.
2273 CameraCapabilities.previewSizes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The previewSizes property is an Array of objects containing the height and width properties supported for the video preview stream.
2274 CameraCapabilities.recorderProfiles API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The recorderProfiles property is an object with attributes for each of the supported recorder profiles, e.g., recorderProfiles.cif, recorderProfiles.qvga.
2275 CameraCapabilities.sceneModes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The sceneModes property is an Array identifying each of the scene modes supported by the camera such as auto, night, beach, etc.
2276 CameraCapabilities.videoSizes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The videoSizes property is an Array of objects containing the height and width properties supported for video recording.
2277 CameraCapabilities.whiteBalanceModes API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The whiteBalanceModes property is an Array of strings identifiers for each white balance mode supported by the camera such as auto, fluorecent, etc.
2278 CameraCapabilities.zoomRatios API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The zoomRatios property is an Array of numbers representing all the supported zoom ratios. If the camera has no zoom capabilities, the value is null.
2279 CameraControl API, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Reference, Référence(2), WebAPI
When you use the CameraManager.getCamera() method to get a reference to a camera, you specify a callback function to be invoked on success. That function receives as a parameter a CameraControl object. You can use its methods and properties to manage and make use of the camera.
2280 CameraControl.autoFocus() API, B2G, Firefox OS, Graphics, JavaScript, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method attempts to focus the camera. If the camera is able to attempt to focus, a success callback is issued, regardless of whether or not the focusing attempt succeeds. If unable to attempt to focus, an error callback is performed instead.
2281 CameraControl.capabilities API, B2G, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The capabilities property return a CameraCapabilities object, which describes the capabilities of the camera.
2282 CameraControl.effect API, B2G, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The effect property is a string defining the effect to be used by the camera. When set, its value must be one of the values available in CameraCapabilities.effects.
2283 CameraControl.exposureCompensation API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The exposureCompensation property value is a number used to compensate the camera exposure.
2284 CameraControl.flashMode API, B2G, Firefox OS, Flash, Graphics, JavaScript, Non-standard, Property, Reference, Référence(2), WebAPI, camera
The flashMode property value is a string that defines how the flash, if any, is to be used. When set, its new value must be chosen from the list of options specified by  CameraCapabilities.flashModes.
2285 CameraControl.focalLength API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focalLength property value is a read-only property that returns a number that expresses the camera's focal length in millimeters.
2286 CameraControl.focusAreas API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusAreas property is an Array of one or more Area objects that define where the camera will perform auto-focusing.

When set, if the array contains more objects than the number defined in CameraCapabilities.maxFocusAreas, extra objects will be ignored.

If set to null, the camera will determine the auto-focus areas by itself.
2287 CameraControl.focusDistanceFar API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusDistanceFar property value is a distance in meters used with CameraControl.focusDistanceNear to define the image's depth of field. The value for this property may be Infinity.
2288 CameraControl.focusDistanceNear API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusDistanceNear property value is a distance in meters used with CameraControl.focusDistanceFar to define the image's depth of field.
2289 CameraControl.focusDistanceOptimum API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusDistanceOptimum property value is the distance in meters where the subject appears sharpest.
2290 CameraControl.focusModes API, B2G, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The focusModes property value is a string that defines which kind of focus mode the camera should use. When set, its new value must be chosen from the list of options specified by  CameraCapabilities.focusModes.
2291 CameraControl.getPreviewStream() API, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI
This method is used to configure and access a MediaStream from the camera. The resulting stream is ready for you to use to capture still photos.
2292 CameraControl.getPreviewStreamVideoMode() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method is used to configure and access a MediaStream from the camera. You use the resulting MediaStream object to record video.
2293 CameraControl.meteringAreas API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The meteringAreas property is an Array of one or more Area objects that define where the camera will perform light metering.

If the array contains more objects than the number defined inside CameraCapabilities.maxMeteringAreas, extra objects will be ignored.

If set to null, the camera will determine the light metering areas by itself.
2294 CameraControl.onClosed API, B2G, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The onClosed property is used to set an event handler that will track when a new CameraControl object in the same app takes over the camera.
2295 CameraControl.onRecorderStateChange API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The onRecorderStateChange property is used to set an event handler to listen to the recorder state change. This can happen either because the recording process encountered an error, or because one of the recording limits set with CameraControl.startRecording() was reached.
2296 CameraControl.onShutter API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The onShutter property is used to set an event handler for the camera's "shutter" event, to trigger a shutter sound and/or a visual shutter indicator.
2297 CameraControl.pauseRecording() API, B2G, DOM, Firefox OS, Graphics, Method, Non-standard, Reference, camera
The pauseRecording() method of the CameraControl interface is used to pause the recording of a video file on a Firefox OS device.
2298 CameraControl.release() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
Releases the camera so that other applications can use it. You should call this whenever the camera is not actively being used by your application.
2299 CameraControl.resumePreview() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method is used to resume the preview stream.
2300 CameraControl.resumeRecording() API, B2G, DOM, Firefox OS, Graphics, Method, Non-standard, Reference, camera
The resumeRecording() method of the CameraControl interface is used to resume the recording of a video stream that has previously been paused.
2301 CameraControl.sceneMode API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The sceneMode property value is a string that defines the quality of exposure to use while taking pictures. When set, its new value must be chosen from the list of options specified by  CameraCapabilities.sceneModes.
2302 CameraControl.setConfiguration() API, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference
This method is used to set the camera configuration independently of the CameraManager.getCamera() call.
2303 CameraControl.setExposureCompensation() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method is used to change the exposure compensation value.
2304 CameraControl.startRecording() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method is used to start recording a video file on the device; the video is stored as a 3gp file.
2305 CameraControl.stopRecording() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
Stops recording video on the device; you should call this at some point after calling CameraControl.startRecording().
2306 CameraControl.takePicture() API, B2G, DOM, DOM Reference, Firefox OS, Graphics, Method, Non Standard, Reference, Référence(2), WebAPI, camera
Captures a still image from the camera and passes it as a Blob to a success callback handler, which can manipulate the image as you wish (for example, by manipulating its pixel data or storing it).
2307 CameraControl.whiteBalanceMode API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The whiteBalanceMode property value is a string that defines the white balance mode to use. When set, its new value must be chosen from the list of options specified by  CameraCapabilities.whiteBalanceModes.
2308 CameraControl.zoom API, B2G, Firefox OS, Graphics, JavaScript, Non Standard, Property, Reference, Référence(2), WebAPI, camera
The zoom property value is a number that defines the zoom factor that is to be used when taking photographs. When set, its new value must be chosen from the list of options specified by  CameraCapabilities.zoomRatios. If the new value is not one of those possible values, the new value is rounded to the nearest supported value.
2309 CameraManager API, B2G, Certified Only, DOM, DOM Reference, Firefox OS, Graphics, JavaScript, Non-standard, Reference, Référence(2), WebAPI, camera
The CameraManager interface provides access to any cameras available on the device being used.
2310 CameraManager.getCamera() API, Firefox OS, Graphics, JavaScript, Method, Non Standard, Reference, Référence(2), WebAPI
This method is used to access to one of the cameras available on the device based on its identifier. You can get a list of the available cameras by calling the CameraManager.getListOfCameras() method.
2311 CameraManager.getListOfCameras() API, B2G, Firefox OS, Graphics, JavaScript, Method, Non Standard, Reference, Référence(2), WebAPI, camera
This method is used to get an Array of identifiers of all the cameras available on the device.
2312 ContactManager API, B2G, Contact, Firefox OS, Non Standard, Reference, Référence(2), WebAPI
The ContactManager interface is used to access and manage the contact available on the device.
2313 ContactManager.clear() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The clear method is used to remove ALL the contacts from the device's contact database.
2314 ContactManager.find() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The find method is used to retrieve a limited list of contacts from the device's contact database. This method is best suited to access a small data set, where getAll() is better suited for a large data set.
2315 ContactManager.getAll() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The getAll method is used to access a sorted list of contact from the device's contact database. This method is best suited to access a large data set, where find() is better suited for a small data set.
2316 ContactManager.getCount() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The getCount method is used to retrieve the total number of contacts available inside the device's contact database.
2317 ContactManager.getRevision() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The getRevision method is used to retrieve the revision number of the device's contact database.
2318 ContactManager.oncontactchange API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
Specifies an event listener to receive contactchange events. These events occur when a contact is added, updated, or removed from the device's contact database.
2319 ContactManager.remove() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The remove method is used to delete a contact from the device's contact database.
2320 ContactManager.save() API, B2G, Contact, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The save method is used to store a contact inside the device's contact database. If the contact is already in the database (based on its id), it is updated, otherwise it is created.
2321 Contacts API API, B2G, Contact, Contacts, Firefox OS, Guide, Non-standard, Obsolete, WebAPI
The Contacts API provides a simple interface to manage a user's contacts stored in the system's address book. A typical use case for the Contacts API is the implementation of an application to manage an address book.
2322 DOMApplication API, Apps, Apps API, JavaScript, Manifest, Methods, Non-standard
In the Open Web apps JavaScript API, an App object is a JavaScript object that represents an app that is or could be installed in the user's app repository.
2323 DOMApplication.launch() API, Apps, DOM, Reference, Web
This method doesn't return anything.
2324 DOMCursor API, DOM, Interface, Non-standard, Reference
A DOMCursor object represents an ongoing operation over a list of results. It is an enhanced DOMRequest that allows to iterate through a list of results asynchronously. Each time its continue() method is called, the DOMCursor tries to reach the next result in the list and calls its result's success or error accordingly.
2325 DOMCursor.continue() API, DOM, Method, Non Standard, Reference
The continue method is used to tell the cursor to move to the next result. The DOMCursor's success or error is called with the DOMCursor's result updated accordingly.
2326 DOMCursor.done API, DOM, Non Standard, Property, Reference
The done property indicate if the DOMCursor has reached the last result.
2327 DOMRequest API, DOM, Interface, Non-standard, Reference
A DOMRequest object represents an ongoing operation. It provides callbacks that are called when the operation completes, as well as a reference to the operation's result. A DOM method that initiates an ongoing operation may return a DOMRequest object that you can use to monitor the progress of that operation.
2328 DOMRequest.error API, DOM, Non Standard, Property, Reference
This property can contain error information in a DOMError object.
2329 DOMRequest.onerror API, DOM, Non Standard, Property, Reference
This property specifies a callback function to be run when a DOMRequest fails.
2330 DOMRequest.onsuccess API, DOM, Non Standard, Property, Reference
This property specifies a callback function to be run when a DOMRequest completes successfully.
2331 DOMRequest.readyState API, DOM, Non Standard, Property, Reference
This property is a string that indicates whether or not a DOMRequest operation has finished running.
2332 DOMRequest.result API, DOM, Non Standard, Property, Reference
This property provides the result value from a DOMRequest operation.
2333 Data Store API API, Certified, Data Store, Data Store API, Firefox OS, Interface, Non-standard, Obsolete, Overview, Reference, WebAPI, data
The Data Store API was created to allow multiple Firefox OS apps, with potentially different data structures and storage mechanisms, to create, maintain and share the same data objects efficiently between one another. Each app can then import the data into its own local IndexedDB to index according to their specific query needs. This is not necessary however, and you can just write directly to the Data Store API data store.
2334 Using the Data Store API B2G, Data Store API, Database, Firefox OS, Guide, Storage
To explain the main functionality of Data Store, we have build two examples that work together (you can download these from Github using the code below, and experiment with them as you wish):
2335 DataStore API, Data Store API, DataStore, Database, Interface, Non-standard, Reference, Référence(2), Storage
The DataStore interface of the Data Store API represents a retrieved set of data, and includes standard properties for accessing the store's name, owner, etc., methods for reading, modifying and syncing data, and the onchange event handler for reacting to changes to the data.
2336 DataStore.add() API, Add, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage
The add() method of the DataStore interface adds a new record to the data store; if the record you are attempting to add already exists, it will throw an exception.
2337 DataStore.clear() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage, clear
The clear() method of the DataStore interface deletes all records from the data store, leaving it empty.
2338 DataStore.get() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage
The get() method of the DataStore interface retrieves one or more objects from the current data store.
2339 DataStore.getLength() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage
The getLength() method of the DataStore interface returns the number of records stored in the current data store.
2340 DataStore.name API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Property, Reference, Référence(2), Storage, name
The name read-only property of the DataStore interface returns the name of the current data store.
2341 DataStore.onchange API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Property, Reference, Référence(2), Storage, events, onchange
The onchange event handler of the DataStore interface fires when a change is made to the data store. Its main use is to synchronize different apps that are using the data store when a change is made. When fired, this event returns a DataStoreChangeEvent, which can be used to handle the change that was just made. Alternatively, when the event fires you could create a DataStoreCursor and iterate through all the records, if needed.
2342 DataStore.owner API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Property, Reference, Référence(2), Storage, owner
The owner read-only property of the DataStore interface returns the name of the app that owns the current data store.
2343 DataStore.put() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage, put
The put() method of the DataStore interface updates an existing record in the data store.
2344 DataStore.readOnly API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Property, Reference, Référence(2), Storage, readOnly
The readOnly read-only property of the DataStore interface returns a boolean indicating whether the current data store is read-only.
2345 DataStore.remove() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage, remove
The remove() method of the DataStore interface deletes one or more objects from the current data store.
2346 DataStore.revisionId API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Property, Reference, Référence(2), Storage, revisionId
The revisionId read-only property of the DataStore interface returns the current data store's current revision ID. This ID can be tracked, allowing you to synchronize apps using the data store to this point in its history.
2347 DataStore.sync() API, B2G, Data Store, Data Store API, DataStore, Database, Firefox OS, Method, Reference, Référence(2), Storage, Sync
The sync() method of the DataStore interface opens a cursor that allows you to step through any changes that have taken place in the data store going back to a particular revision ID, and run code in response to different types of change.
2348 DataStoreChangeEvent API, Data Store, Data Store API, DataStoreChangeEvent, Database, Interface, Non-standard, Reference, Référence(2), Storage
The DataStoreChangeEvent interface of the Data Store API represents the event related to a record changed in the data store, i.e. this is returned once a change is made and the change event is fired (see DataStore.onchange for the handler).
2349 DataStoreChangeEvent.id API, Data Store, Data Store API, DataStoreChangeEvent, Database, Property, Reference, Référence(2), Storage, id
The id read-only property of the DataStoreChangeEvent interface returns the identifier of the changed record in the data store. This must return null if the operation is cleared.
2350 DataStoreChangeEvent.operation API, Data Store, Data Store API, DataStoreChangeEvent, Database, Property, Reference, Référence(2), Storage, operation
The operation read-only property of the DataStoreChangeEvent interface returns the type of operation that represents the current change that has been made to the data store.
2351 DataStoreChangeEvent.owner API, Data Store, Data Store API, DataStoreChangeEvent, Database, Property, Reference, Référence(2), Storage, owner
The owner read-only property of the DataStoreChangeEvent interface returns the manifest URL of the application that made the change to the data store.
2352 DataStoreChangeEvent.revisionId API, Data Store, Data Store API, DataStoreChangeEvent, Database, Property, Reference, Référence(2), Storage, revisionId
The revisionId read-only property of the DataStoreChangeEvent interface returns the ID of the current revision of the data store, i.e. the current change that has been made to a data record.
2353 DataStoreCursor API, Data Store, Data Store API, DataStoreCursor, Database, Interface, Non-standard, Reference, Référence(2), Storage
The DataStoreCursor interface of the Data Store API represents a cursor that allows apps to iterate through a list of DataStoreTask objects representing the change history of the data store, for use when synchronizing the data.
2354 DataStoreCursor.close() API, Data Store, Data Store API, DataStoreCursor, Database, Method, Reference, Référence(2), Storage, close
The close() method of the DataStoreCursor interface makes a request to terminate the cursor.
2355 DataStoreCursor.next() API, Data Store, Data Store API, DataStoreCursor, Database, Method, Next, Reference, Référence(2), Storage
The next() method of the DataStoreCursor interface makes a request to retrieve information about the next operation that changes a record in the data store. Returns a promise of type DataStoreTask.
2356 DataStoreCursor.store API, Data Store, Data Store API, DataStoreCursor, Database, Property, Reference, Référence(2), Storage, Store
A DataStore object.
2357 DataStoreTask API, Data Store, Data Store API, DataStoreTask, Database, Interface, Non-standard, Reference, Référence(2), Storage
The DataStoreTask interface of the Data Store API represents a record changed in the data store when a DataStoreCursor is used to iterate through the data store's change history.
2358 DataStoreTask.data API, Data Store, Data Store API, DataStoreTask, Database, Property, Reference, Référence(2), Storage, data
The data read-only property of the DataStoreChangeEvent interface returns the data stored in the changed record in the data store. Must return null if the operation is clear or done.
2359 DataStoreTask.id API, Data Store, Data Store API, DataStoreTask, Database, Property, Reference, Référence(2), Storage, id
The id read-only property of the DataStoreTask interface returns the identifier of the changed record in the data store. This must return null if the operation is cleared or done.
2360 DataStoreTask.operation API, Data Store, Data Store API, DataStoreTask, Database, Property, Reference, Référence(2), Storage, operation
The operation read-only property of the DataStoreTask interface returns the type of operation that represents the current change that has been made to the data store.
2361 DataStoreTask.revisionId API, Data Store, Data Store API, DataStoreTask, Database, Property, Reference, Référence(2), Storage, revisionId
The revisionId read-only property of the DataStoreTask interface returns the id of the current revision of the data store, i.e. the current change that has been made to a data record.
2362 Device Storage API API, B2G, Device Storage, Firefox OS, Non-standard, Obsolete, Reference, WebAPI
No summary!
2363 DeviceStorage API, DOM, DOM Reference, Device Storage, Firefox OS, Non-standard, Reference, Référence(2), WebAPI
The DeviceStorage interface is used to access files on a specific storage area available on the device. A storage area is, in essence, a file system repository even if it hides the reality of the underlying file system.
2364 DeviceStorage.add() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The add method is used to add a file inside a given storage area.
2365 DeviceStorage.addNamed() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The addNamed method is used to add a file inside a given storage area.
2366 DeviceStorage.available() API, B2G, Device Storage, Firefox OS, Method, Non-standard, Reference, Référence(2), WebAPI
The available() method is used to check whether the storage area is available; this is an asynchronous operation that returns a DOMRequest object that will receive a callback when the operation is complete.
2367 DeviceStorage.default API, B2G, Device Storage, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The default property indicates if the storage area is the one which will be used by default for storing new files (true) or not (false).
2368 DeviceStorage.delete() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The delete method is used to remove a file from a given storage area.
2369 DeviceStorage.enumerate() API, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The enumerate method is used to iterate through the files of a given storage area.
2370 DeviceStorage.enumerateEditable() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The enumerateEditable method is used to iterate through the files of a given storage area.
2371 DeviceStorage.freeSpace() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The freeSpace method is used to get the amount of free space usable by the storage area.
2372 DeviceStorage.get() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The get method is used to retrieve a read-only file from a given storage area.
2373 DeviceStorage.getEditable() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The getEditable method is used to retrieve a file, which is editable, from a given storage area.
2374 DeviceStorage.lowDiskSpace API, B2G, Firefox OS, Non-standard, Property, Reference, WebAPI
The lowDiskSpace read-only property of the DeviceStorage interface returns a Boolean value that returns true if this storage area is close to being full.
2375 DeviceStorage.onchange API, B2G, Device Storage, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The onchange property is used to specify an event handler to receive change events. Those events are triggered each time a file is created, modified, or deleted on the storage area.
2376 DeviceStorage.storageName API, B2G, Device Storage, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The storageName property indicates the name of the storage area.
2377 DeviceStorage.usedSpace() API, B2G, Device Storage, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The usedSpace method is used to get the total of space used by the storage (the amount of space filled by files).
2378 DeviceStorageChangeEvent API, B2G, Device Storage, Firefox OS, Non-standard, Reference, Référence(2), WebAPI, events
The DeviceStorageChangeEvent provides information about any change made to a file inside a given storage area. It extends the Event interface.
2379 DeviceStorageChangeEvent.path API, B2G, Device Storage, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The path property provides the full path to the file affected by the change.
2380 DeviceStorageChangeEvent.reason API, B2G, Device Storage, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The reason property gives the nature of the change that occurred.
2381 FMRadio API, B2G, Firefox OS, Non-standard, Reference, Référence(2), WebAPI, WebFM
The WebFM API provides access to the device FM radio. This interface lets you turn the FM radio on and off and tune it to different stations. It is accessible through the navigator.mozFMRadio property.
2382 FMRadio.antennaAvailable API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The antennaAvailable property value indicates if an antenna is plugged and available.
2383 FMRadio.cancelSeek() API, B2G, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The cancelSeek method is used to tell the radio to stop seeking for frequencies.
2384 FMRadio.channelWidth API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The channelWidth property value indicates the channel width of the ranges of frequency, in MHz.
2385 FMRadio.disable() API, B2G, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The disable method is used to turn off the radio.
2386 FMRadio.enable() API, B2G, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The enable method is used to turns on the radio on the given frequency.
2387 FMRadio.enabled API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The enabled property value indicates whether the radio is playing (true) or not (false)
2388 FMRadio.frequency API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The frequency property value returns the current radio frequency.
2389 FMRadio.frequencyLowerBound API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The frequencyLowerBound property value indicates the minimum frequency down to which the seek method searches for radio stations.
2390 FMRadio.frequencyUpperBound API, B2G, FMRadio API, Firefox OS, Non Standard, Property, Reference, Référence(2), WebFM
The frequencyUpperBound property value indicates the maximum frequency up to which the seek method searches for radio stations.
2391 FMRadio.onantennaavailablechange API, FMRadio API, Firefox OS, Property, Reference, WebFM
Specifies an event listener to receive antennaavailablechange events. Those events occur when an antenna is plugged or unplugged.
2392 FMRadio.ondisabled API, Firefox OS, Property, Reference, WebFM
Specifies an event listener to receive disabled events. Those events occur when the device's FM radio is turned off.
2393 FMRadio.onenabled API, FMRadio API, Firefox OS, Property, Reference, WebFM
Specifies an event listener to receive enabled events. Those events occur when the device's FM radio is turned on.
2394 FMRadio.onfrequencychange API, FMRadio API, Firefox OS, Property, Reference, WebFM
Specifies an event listener to receive frequencychange events. Those events occur whenever the radio frequency is changed
2395 FMRadio.seekDown() API, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The seekDown method is used to tell the radio to seek down to the next radio channel. The search circles back to upper frequencies when the lowest frequency has been reached.
2396 FMRadio.seekUp() API, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The seekUp method is used to tell the radio to seek up to the next radio channel. The search circles back to lower frequencies when the highest frequency has been reached.
2397 FMRadio.setFrequency() API, FMRadio API, Firefox OS, Method, Non Standard, Reference, Référence(2), WebFM
The setFrequency method is used to change the frequency listened to by the radio.
2398 HTMLMediaElement (Firefox OS extensions) NeedsContent, NeedsExample
No summary!
2399 HTMLMediaElement.mozAudioChannelType API, AudioChannels, Firefox OS, HTMLMediaElement, Non-standard, Property, Reference, Référence(2)
The mozAudioChannelType property of the HTMLMediaElement interface can be used to set the audio channel that the sound coming from an <audio> or <video> element will play in, on a Firefox OS device.
2400 Idle API API, Firefox OS, Idle, Non-standard, Overview, Reference
The Idle API is used to notify an app when the user is idle. This lets an app take action when the user is doing nothing with their device. The most common use case is to save battery power; in this case, it is commonly used in conjuction with the Power Management API.
2401 Index Archive, B2G API, Firefox OS, Index, Non-standard
Found 670 pages:
2402 L10n API, API:Mozilla Extensions, Firefox OS, Interface, Non-standard, Reference, l10n
This page was auto-generated because a user created a sub-page to this page.
2403 L10n.formatValue API, Method, Non-standard, Reference, WebAPI
formatValue is used to retrieve translations from the localization resources, optionally interpolating them with additional variable data. If the translation is not found in the first supported locale, the L10n context will try the next locale in the fallback chain (asynchronously) until it finds an available translation.
2404 L10n.get API, B2G, Firefox OS, Localization, Method, Non-standard, Reference, l10n
The get method is used to retrieve translations from the localization resources, optionally interpolating them with additional variable data. If the translation is not found in the first supported locale, the L10n context will try the next locale in the fallback chain (synchronously!) until it finds an available translation.
2405 L10n.language API, API:Mozilla Extensions, Firefox OS, Non-standard, Property, Reference
This page was auto-generated because a user created a sub-page to this page.
2406 L10n.language.code API, B2G, Firefox OS, Localization, Non-standard, Property, Reference, l10n
The language.code property returns the code of the currently active language and allows to change the language by setting the value to a new code.
2407 L10n.language.direction API, B2G, Firefox OS, Localization, Non-standard, Property, Reference, l10n
The language.direction property returns the direction (ltr or rtl) of the currently active language.
2408 L10n.once API, B2G, Firefox OS, Localization, Method, Non-standard, Reference, l10n
The once method is used to register a callback that will execute exactly once.  If the L10n context is ready when L10n.once() is called, the callback will be invoked immediately on the next tick of the event loop. If the L10n context is not ready when L10n.once() is called (because the localization resources are still downloading), the callback will be invoked when the ready event of the L10n context fires.
2409 L10n.ready API, B2G, Firefox OS, Localization, Method, Non-standard, Reference, l10n
The ready method is used to register a callback that will execute at least once.  The callback is registered as a listener to the ready event of the L10n context.  Additionally, if the L10n context is ready when L10n.ready() is called, the callback will be invoked immediately on the next tick of the event loop.
2410 L10n.readyState API, B2G, Firefox OS, Localization, Non-standard, Property, Reference, l10n
The readyState property returns either loading or complete — depending on the current state of the L10n context.
2411 L10n API API, API:Mozilla Extensions, Firefox OS, Non-standard, Overview, Reference, l10n
No summary!
2412 L10n.setAttributes API, Firefox OS, Localization, Method, Reference, l10n
The setAttributes method may be used to set the data-l10n-id and data-l10n-args attributes on DOM elements.
2413 MMICall API, B2G, Certified, DOM, Firefox OS, Interface, MMICall, Mobile, Non-standard, Reference, Telephony, WebAPI
The MMICall interface of the Web Telephony API represents an MMI call, allowing us to receive the result of the call.
2414 MMICall.result API, B2G, Certified, DOM, Firefox OS, MMICall, Mobile, Non-standard, Property, Telephony, WebAPI, result
The result read-only property of the MMICall interface returns a promise that resolves to a MozMMIResult object containing information associated with the success status of the MMI call.
2415 Mobile Connection API, B2G, Firefox OS, Non Standard, Reference, Référence(2), WebAPI
This API has 2 purposes:
2416 Mobile Messaging API API, Firefox OS, Mobile, Non-standard, Reference, WebSMS
WebSMS is an API that makes it possible for web content to create, send, and receive Short Message Service (SMS) or Multimedia Messaging Service (MMS) messages.
2417 Introduction to Mobile Message API API, B2G, Firefox OS, Guide, Intro, Mobile, Mobile Messaging API, Non-standard, SMS, WebSMS
A part of the core functionality in a mobile phone is sending and receiving SMS and MMS messages. This is achieved through the Messaging API. As this new specification is in its early stage, Firefox OS implements a non-standard version of this. Here is a little overview of that API as implemented.
2418 MozActivity API, B2G, Firefox OS, Non-standard, Web Activities, WebAPI
The MozActivity interface allows apps to delegate an activity to another app.
2419 MozActivityOptions API, B2G, Firefox OS, Non-standard, Reference, Référence(2), Web Activities, WebAPI
The MozActivityOptions interface allows apps to declare the activity they want to create and also to access information of activities they want to handle.
2420 MozActivityOptions.data API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Activities, WebAPI
The data property returns an arbitrary object representing any data passed with the activity.
2421 MozActivityOptions.name API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Activities, WebAPI
The name property returns a string representing the name of the associated activity. See MozActivityOptions to read in which context MozActivityOptions is being used.
2422 MozActivityRequestHandler API, B2G, Firefox OS, Non-standard, Reference, Référence(2), Web Activities
The MozActivityRequestHandler interface allows apps that handle activities to access and interact with the request made by a third party app that tries to delegate an activity.
2423 MozActivityRequestHandler.postError() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Activities, WebAPI
The postError method is used to send back an error message to the app that made the activity request.
2424 MozActivityRequestHandler.postResult() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2), Web Activities, WebAPI
The postResult method is used to send back an answer to the app that made the activity request.
2425 MozActivityRequestHandler.source API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2), Web Activities, WebAPI
The source property returns a MozActivityOptions object, which provides information about the activity request.
2426 MozAlarmsManager API, B2G, Firefox OS, Non-standard, Reference, WebAPI, alarm
The MozAlarmsManager API allows to schedule notifications or applications to be started at a specific time.
2427 MozAlarmsManager.add() API, B2G, Firefox OS, Method, Non Standard, WebAPI, alarm
The add method is used to retrieve a list of pending alarms.
2428 MozAlarmsManager.getAll() API, B2G, Firefox OS, Method, Non Standard, Reference, WebAPI, alarm
The getAll method is used to retrieve a list of pending alarms.
2429 MozAlarmsManager.remove() API, B2G, Firefox OS, Method, Non-standard, Reference, WebAPI, alarm
The remove method is used to retrieve a list of pending alarms.
2430 MozContact API, B2G, Contact, Firefox OS, Non-standard, Reference
The MozContact interface is used to describe a single contact in the device's contact database.
2431 MozContact.additionalName API, B2G, Contact, Firefox OS, Non Standard, Property, WebAPI
The additionalName property is a list of any additional names (other than given names or family names) usable for the contact.
2432 MozContact.adr API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The adr property is a list of all the possible addresses for the contact.
2433 MozContact.anniversary API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, WebAPI
The anniversary property represents the anniversary date of the contact (which can be different than its birthday date).
2434 MozContact.bday API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, WebAPI
The bday property represents the birthday date of the contact.
2435 MozContact.category API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, WebAPI
The category property is a list of all the different categories the contact is associated with.
2436 MozContact.email API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, WebAPI
The email property is a list of all the possible e-mails for the contact.
2437 MozContact.familyName API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The familyName property is a list of all the possible family names usable for the contact.
2438 MozContact.genderIdentity API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, WebAPI
The genderIdentity property represents the actual gender identity of the contact (which can be different than its actual sex).
2439 MozContact.givenName API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The givenName property is a list of all the possible given names usable for the contact.
2440 MozContact.honorificPrefix API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The honorificPrefix property is a list of all the possible honorific prefix usable for the contact.
2441 MozContact.honorificSuffix API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The honorificSuffix property is a list of all the possible honorific suffixes usable for the contact.
2442 MozContact.id API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The id property is a unique string representing the contact within the device's contact database.
2443 MozContact.impp API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The impp property is a list of all the possible Instant Messaging addresses for the contact.
2444 MozContact.init() API, B2G, DOM, DOM Reference, Firefox OS, Method, Non Standard, Reference, Référence(2), WebAPI
The init method is used to initialize the mozContact object using a configuration object.
2445 MozContact.jobTitle API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The jobTitle property is a list of all the possible job titles of the contact.
2446 MozContact.key API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The key property is a list of all the possible encryption keys usable with the contact.
2447 MozContact.name API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The name property is a list of all the possible names use to identify the contact. It's equivalent to the FN vCard's attribute.
2448 MozContact.nickname API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The nickname property is a list of all the possible nicknames for the contact.
2449 MozContact.note API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The note property is a list of arbitrary notes related to the contact.
2450 MozContact.org API, B2G, Contact, Firefox OS, Property, Reference, WebAPI
The org property is a list of all the possible organizations the contact is affiliated with.
2451 MozContact.photo API, B2G, Contact, Firefox OS, Non Standard, Property, Reference, Référence(2), WebAPI
The photo property is a list of images for the contact.
2452 MozContact.published API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The published property provides the date of when the contact was stored for the first time on the device's contact database.
2453 MozContact.sex API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The sex property represents the actual sex of the contact.
2454 MozContact.tel API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The tel property is a list of all the possible phone numbers for the contact.
2455 MozContact.updated API, B2G, Contact, DOM, DOM Reference, Firefox OS, Non-standard, Property, Reference, WebAPI
The updated property provides the date of when the contact was updated for the last time on the device's contact database.
2456 MozContact.url API, B2G, Contact, Firefox OS, Non-standard, Property, Reference, WebAPI
The url property is a list of all the possible URLs for the contact.
2457 MozContactChangeEvent API, B2G, Contact, Firefox OS, Non-standard, Reference
The MozContactChangeEvent interface provides information about the contact that has changed. It inherits from the Event interface.
2458 MozContactChangeEvent.contactID API, B2G, Contact, Firefox OS, Non-standard, Property, Reference
The contactID property represents the unique ID of the contact that has been changed.
2459 MozContactChangeEvent.reason API, B2G, Contact, Firefox OS, Non-standard, Property, Reference
The reason property indicates what kind of change was made to the contact.
2460 MozIccManager API, B2G, Firefox OS, NeedsExample, Non-standard, Reference, Référence(2)
The MozIccManager interface gives access to ICC related functionalities.
2461 MozIccManager.onstkcommand API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The onstkcommand property specifies an event listener to receive stkcommand events. These events are notified whenever STK Proactive Command is issued from ICC.
2462 MozIccManager.onstksessionend API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The onstksessionend property specifies an event listener to receive stksessionend events. These events are notified whenever STK Session is terminated by ICC.
2463 MozIccManager.sendStkResponse() API, B2G, Firefox OS, Method, Non Standard, Reference, Référence(2)
The sendStkResponse method is used to send a response back to ICC after an attempt to execute STK Proactive Command.
2464 MozMmsEvent API, B2G, DOM, Firefox OS, Mobile, Non-standard, Obsolete, Reference, WebSMS
The DOM MozMmsEvent represents events related to WebSMS MMS messages.
2465 MozMmsEvent.message API, B2G, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The message property is the MozMmsMessage from which the event originated.
2466 MozMmsMessage API, B2G, Firefox OS, Mobile, Non-standard, Obsolete, Reference, WebSMS
The DOM MozMmsMessage object represents an MMS message and has all the information about sender, recipient, body content, attachements, and date of the message itself.
2467 MozMmsMessage.attachments API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The attachments property gives access to the list of all the MMS attachments (resources necessary to display the MMS correctly).
2468 MozMmsMessage.delivery API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The delivery property represents the current state of the message delivery from the device perspective.
2469 MozMmsMessage.deliveryStatus API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The deliveryStatus property represents the current state of the message delivery from the recipient's perspective.
2470 MozMmsMessage.expiryDate API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The expiryDate property represents the expiry date for an MMS to be manually downloaded.
2471 MozMmsMessage.id API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The id property represents the unique id of the message.
2472 MozMmsMessage.read API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The read property indicates if the message has been read (true) or not (false).
2473 MozMmsMessage.receivers API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The receivers property provides the list of all receivers for a given message. Each receiver is identified with a string representing its phone number.
2474 MozMmsMessage.sender API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The sender property provides the phone number of the sender of a given message.
2475 MozMmsMessage.smil API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The smil property represents a stringified version of the SMIL content of the message (an MMS is always a SMIL document).
2476 MozMmsMessage.subject API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The subject property is a string representing the subject of the message (in many cases, its title).
2477 MozMmsMessage.threadId API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The threadId property represents the id of the thread the message is part of.
2478 MozMmsMessage.timestamp API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The timestamp property represents the timestamp of a given message.
2479 MozMmsMessage.type API, B2G, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2), WebSMS
The type property represents the type of the message. It provides a convenient way to be sure that a message is an MMS.
2480 MozMobileCFInfo API, DOM, Firefox OS, Mobile, Non-standard, Reference, Référence(2)
The MozMobileCFInfo interface defines options used to retrieve or define call forwarding settings.
2481 MozMobileCFInfo.action API, B2G, Firefox OS, Non-standard, Property, Reference, Référence(2)
action is a read-only property that indicates what to do with the call forwarding rule.
2482 MozMobileCFInfo.active API, B2G, Firefox OS, Non-standard, Property, Reference, Référence(2)
active is a read-only property that indicates whether call forwarding is active (true) or not active (false).
2483 MozMobileCFInfo.number API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
number is a read-only property that indicates the phone number where to forward the calls.
2484 MozMobileCFInfo.reason API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
reason is a read-only property that indicates the reason the call is being forwarded.
2485 MozMobileCFInfo.serviceClass API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
serviceClass is a read-only property that represents the service for which the call forward is set up.
2486 MozMobileCFInfo.timeSeconds API, B2G, Firefox OS, Non-standard, Property, Reference, Référence(2)
timeSeconds is a read-only property representing the time in seconds to wait before a call is forwarded.
2487 MozMobileCellInfo API, B2G, Firefox OS, Mobile, Non-standard, Reference, Référence(2)
The MozMobileCellInfo interface allow to access to cell location information.
2488 MozMobileCellInfo.gsmCellId API, DOM, Firefox OS, Mobile, Non Standard, Property, Reference, Référence(2)
gsmCellId is a read-only property that provides the mobile Cell ID for the current GSM/WCDMA networks.
2489 MozMobileCellInfo.gsmLocationAreaCode API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
gsmLocationAreaCode is a read-only property that provides the mobile Location Area Code (LAC) for the current GSM/WCDMA networks.
2490 MozMobileConnection API, B2G, Firefox OS, Mobile, Non-standard, Reference, Référence(2)
This API is used to get information about the current mobile voice and data connection states of the device. It is accessible through navigator.mozMobileConnections, which returns an array of MozMobileConnection objects.
2491 MozMobileConnection.cancelMMI() API, B2G, Firefox OS, Method, Mobile, Non Standard, Reference, Référence(2)
The cancelMMI method cancels the current MMI request if one exists.
2492 MozMobileConnection.cardState API, B2G, Firefox OS, Non-standard, Property, Reference, Référence(2)
The cardState is a read-only property that indicates the state of the device's ICC card.
2493 MozMobileConnection.data API, B2G, Firefox OS, Non-standard, Property, Reference, Référence(2)
The data is a read-only property that gives access to information about the device's data connection.
2494 MozMobileConnection.getCallForwardingOption() API, B2G, Firefox OS, Method, Mobile, Non Standard, Reference, Référence(2)
The getCallForwardingOption method is used to query current options for call forwarding.
2495 MozMobileConnection.getCardLock() API, B2G, Firefox OS, Method, Mobile, Non Standard, Reference, Référence(2)
The getCardLock method is used to find out about the status of an integrated circuit card (ICC) lock (such as requiring a personal identification number (PIN)).
2496 MozMobileConnection.getNetworks() API, B2G, Firefox OS, Method, Mobile, Non Standard, Reference, Référence(2)
The getNetworks method is used to search for available networks.
2497 MozMobileConnection.icc API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The icc is a read-only property that gives access to ICC related funcionality.
2498 MozMobileConnection.iccInfo API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The iccInfo is a read-only property that gives access to information stored in the device's ICC card.
2499 MozMobileConnection.networkSelectionMode API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The networkSelectionMode is a read-only property that indicates the selection mode of the voice and data networks.
2500 MozMobileConnection.oncardstatechange API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The oncardstatechange property specifies an event listener to receive cardstatechange events. These events occur when the cardState property changes value.
2501 MozMobileConnection.oncfstatechange API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The oncfstatechange property specifies an event listener to receive cfstatechange events. These events occur when the call forwarding state changes.
2502 MozMobileConnection.ondatachange API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The ondatachange property specifies an event listener to receive datachange events. These events occur whenever the MozMobileConnection.data connection object changes values.
2503 MozMobileConnection.ondataerror API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The ondataerror property specifies an event listener to receive dataerror events. These events occur whenever the MozMobileConnection.data connection object receives an error from the RIL.
2504 MozMobileConnection.onicccardlockerror API, B2G, Firefox OS, Non Standard, Property, Reference, Référence(2)
The onicccardlockerror property specifies an event listener to receive icccardlockerror events. These events occur whenever the unlockCardLock or