Search completed in 1.41 seconds.
Content Processes - Archive of obsolete content
to understand this article, it's probably best to read it as if content and add-on
processes actually exist.
... to communicate between add-on and content
processes, the sdk uses something called content scripts.
...in this model, the ui would be rendered in one process (called the chrome process), whereas each tab and each add-on would run in their own dedicated process (called content and add-on
processes, respectively).
...And 7 more matches
Jetpack Processes - Archive of obsolete content
jetpack
processes are created by components that implement the nsijetpackservice interface, and their parent chrome process communicates with them via the nsijetpack interface.
...these
processes are relatively lightweight, do not have access to xpcom, and can innately do little other than compute.
...note: the above statement is not currently true, as js-ctypes is now provided to jetpack
processes as of bug 588563.
...if that other process does not do something explicit and simply removes all references to it, the handle remains rooted yet unreachable in both
processes and a memory leak is created.
Index - Web APIs
1489 globaleventhandlers.oncontextmenu api, event handler, globaleventhandlers, html dom, property, reference the oncontextmenu property of the globaleventhandlers mixin is an eventhandler that
processes contextmenu events.
... 1491 globaleventhandlers.ondblclick api, event handler, globaleventhandlers, html dom, property, reference the ondblclick property of the globaleventhandlers mixin is an eventhandler that
processes dblclick events on the given element.
... 1503 globaleventhandlers.onerror api, event handler, globaleventhandlers, html dom, property, reference the onerror property of the globaleventhandlers mixin is an eventhandler that
processes error events.
...And 37 more matches
remote/parent - Archive of obsolete content
enables you to load modules, and privileged parts of your add-on in general, into child
processes.
... usage in multiprocess firefox: the browser ui runs in one process, sometimes called the chrome process or the parent process web content runs in one or more other
processes, sometimes called content
processes or remote
processes or child
processes.
...multiprocess applications can have other remote
processes where untrusted content like webpages are loaded.
...And 15 more matches
Choosing Standards Compliance Over Proprietary Practices - Archive of obsolete content
overview there are a number of standards, procedures, and
processes that an organization can use.
...let’s begin the discussion, however, by looking inward to internal procedures,
processes and standards.
... as organizations mature, they discover that they need more
processes to give them greater control, which allows them to more easily plan and predict.
...And 8 more matches
Message manager overview
in multiprocess firefox there are (at least) two
processes: the chrome process, also called the parent process, runs the browser ui (chrome) code and code inserted by extensions one or more content
processes, also called child
processes.
... these
processes run web content.
... process message managers process message managers correspond to process boundaries, and enable code running in different
processes to communicate.
...And 6 more matches
Web Replay
learn more web replay allows firefox content
processes to record their behavior, replay it later, and rewind to earlier states.
... replaying
processes preserve all the same js behavior, dom structures, graphical updates, and most other behaviors that occurred while recording.
... the chrome and middleman
processes communicate using the standard browser protocols (pcontent, pbrowser, etc.) and implementations for their actors, while the middleman and child
processes communicate with their own channel and messages, which is tuned to the demands of the recording/replaying process.
...And 4 more matches
Message manager overview
in the initial version of multiprocess firefox there are two
processes: the chrome process, also called the parent process, runs the browser ui (chrome) code and code inserted by extensions the content
processes, also called the child
processes, run all web content.
... different tabs may run in different
processes.
...e following interfaces: nsiprocesschecker nsiframescriptloader nsimessagelistenermanager nsimessagesender the browser message manager can be accessed as a property of the xul <browser> element: // chrome script let browsermm = gbrowser.selectedbrowser.messagemanager; process message managers process message managers correspond to process boundaries, and enable code running in different
processes to communicate.
...And 3 more matches
PBackground
pbackground is a mechanism available since gecko 30 (see bug 956218) that builds on top of ipdl to provide a solution to common problems that arise when handling multiple threads in the chrome process, for example communication between workers and multiple child
processes and other parent-process worker threads.
...ipdl protocols are used to specify how the chrome and content
processes talk to each other and verify that a content process is "following the rules".
...these actors can live in different
processes due to ipdl, which automatically serializes calls on one side and transmits them to the other.
...And 3 more matches
sslfnc.html
if your server application uses multiple
processes (instead of or in addition to multiple threads), use ssl_configmpserversidcache instead.
... initializing multi-processing with a shared ssl server cache to start a multi-processing application, the initial parent process calls ssl_configmpserversidcache, and then creates child
processes, by one of these methods: call fork and then exec (unix) call createprocess (win32) call pr_createprocess (both unix and win32) it is essential that the parent allow the child to inherit the file descriptors.
... description this function is identical to ssl_configserversessionidcache, except that it is for use with applications that use multiple
processes.
...And 3 more matches
nsIProcessScriptLoader
if this function is called on a chromemessagebroadcaster, : it will load the process script into all child
processes.
... if aallowdelayedload is true, then the script will also be loaded into any new child
processes created after the loadprocessscript() call.
... otherwise it will only be loaded into child
processes that exist at the time of the call.
...And 3 more matches
Index - Archive of obsolete content
25 content
processes add-on sdk no summary!
... 103 remote/parent reference, sdk enables you to load modules, and privileged parts of your add-on in general, into child
processes.
... 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.
...And 2 more matches
DMD
which
processes get logged is controlled by the moz_dmd_log_process environment variable, which can take the following values.
... unset: log all
processes.
... "tab": log content
processes only.
...And 2 more matches
powermetrics
--show-process-coalition tells it to group coalitions of related
processes, e.g.
... the firefox parent process and child
processes.
... the grouping of parent and child
processes (in coalitions) is obvious.
...And 2 more matches
Anonymous Shared Memory
the intent is to provide a shared memory that is accessbile only by parent and child
processes.
...on platforms where the shared memory is backed by a file, the file's name in the filesystem is visible to other
processes for only the duration of the creation of the file, hopefully a very short time.
... this restricts
processes that do not inherit the shared memory from opening the file and reading or writing its contents.
...And 2 more matches
Eclipse CDT
headers are only parsed once for performance reasons, eclipse only
processes header files that have include guards once, using the compiler options for the first source file it encounters that includes that header (eclipse bug 380511).
...when the object directory is inside the source directory (and not filtered out by a resource filter), then eclipse's "allow heuristic resolution of includes" option (enabled by default) will generally allow the included headers to be found when eclipse
processes source files, that don't have any build output parser data.
...instead of processing build console output, eclipse could use something like ld_preload to load its own little library into all the
processes that are invoked as part of the build process.
... this library could then check whether the process is a compiler instance and, if so, use the
processes' current working directory and the arguments that were passed to it to reliably obtain the information it needs for each source file that is compiled.
Profiling with the Firefox Profiler
tip: threads that are annotated with "[default]" are in the parent (aka "ui", aka "browser chrome", aka "main") process and those annotated with "[tab]" are in the web content (aka "child")
processes.
...these threads may come from different
processes.
...while looking for performance problems, you're looking for the
processes that are taking the most time; then you can figure out how to optimize them.
... profiling a hung process it is possible to get profiles from hung firefox
processes using lldb1.
event/core - Archive of obsolete content
listener : function the listener function that
processes the event.
... listener : function the listener function that
processes the event.
... listener : function the listener function that
processes the event.
event/target - Archive of obsolete content
listener : function the listener function that
processes the event.
... listener : function the listener function that
processes the event.
... listener : function the listener function that
processes the event.
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
figure out javascript skeleton decide on method names and variable names for each of the
processes you’ll need to implement these features, and put them into an overlay.js file.
...except for asynchronous
processes, all processing stops while the dialog is up, so this technique is useful when you want to pin down a value that can vary during a process.
...the text output being sent to the console does not suspend any other
processes, and this is most useful when there’s a high volume of messages being output.
Index of archived content - Archive of obsolete content
communicating using "postmessage" cross-domain content scripts interacting with page scripts loading content scripts reddit example port self contributor's guide classes and inheritance content
processes getting started modules private properties firefox compatibility module structure of the sdk porting the library detector program id sdk api lifecycle sdk and xul comparison testing the add-on sdk two types o...
... extensions support in seamonkey 2 firefox addons developer guide hiding browser chrome hotfix extension how to convert an overlay extension to restartless inline options install manifests installing extensions and themes from web pages interaction between privileged and non-privileged pages jetpack
processes legacy add-ons legacy extensions for firefox for android api accounts.jsm browserapp addtab closetab deck getbrowserfordocument getbrowserforwindow gettabforbr...
... firefox addons developer guide appendix: what you should know about open-source software licenses chapter 1: introduction to extensions chapter 2: technologies used in developing extensions chapter 3: introduction to xul—how to build a more intuitive ui chapter 4: using xpcom—implementing advanced
processes chapter 5: let's build a firefox extension chapter 6: firefox extensions and xul applications license and authors xul school tutorial adding events and commands adding toolbars and toolbar buttons adding menus and submenus adding side...
Index - MDN Web Docs Glossary: Definitions of Web-related terms
240 jank beginner, codingscripting, glossary, performance, web performance jank refers to sluggishness in a user interface, usually caused by executing long tasks on the main thread, blocking rendering, or expending too much processor power on background
processes.
...these are: 261 main thread glossary, reference, web performance the main thread is where a browser
processes user events and paints.
... 442 synchronous glossary, web, webmechanics synchronous refers to real-time communication where each party receives (and if necessary,
processes and replies to) messages instantly (or as near to instantly as possible).
Multiprocess on Windows
this is true for both chrome and content
processes.
...when midl
processes your idl, it generates c code for building a proxy dll, containing the oicf metadata.
... note: you should register your typelibs and proxies in both the chrome and content
processes.
Index
some build
processes render extension code difficult to read.
... these
processes include minifying your code, as well as the use of module bundlers or similar tools, such as webpack.
... in this case, when you upload your extension to amo, you will need to provide your source code and instructions for building that source code, where build
processes render your extension’s code hard to read.
Debugging on Mac OS X
a debugger can be attached to firefox
processes of these builds.
...note that subdirectories may initially appear to be empty, but they too will progressively be populated as xcode
processes the sourse files.
... debugging e10s child
processes using xcode to debug child
processes created by an e10s-enabled browser is a little trickier than debugging a single-process browser, but it can be done.
Debugging on Windows
ways to start the debugger first of all, it's necessary to install a visual studio extension to be able to follow child
processes as they are created.
...microsoft child process debugging power tool allows automatically attaching to child
processes, such as web content process, gpu process, etc.
...for more information, see attach to running
processes with the visual studio debugger.
Limitations of frame scripts
security restrictions on file access
processes that host remote content are isolated from the local system through a content security sandbox.
... one of the functions of the sandbox is to restrict access to the local file system by
processes that host remote content.
... since frame and process scripts often execute in remote content
processes these scripts are subject to the same file access rules placed on remote content.
Investigating leaks using DMD heap scan mode
moz_disable_content_sandbox=t: this disables the content process sandbox, which is needed because the dmd and cc log files are created directly by the child
processes.
... moz_cc_log_process=content moz_cc_log_thread=main: these options specify that we only want cc logs for the main thread of content
processes, to make shutdown less slow.
... moz_dmd_log_process=tab: as with the cc, this means that we only want these logs in content
processes, in order to make shutdown faster.
Introduction to NSPR
(prthread and functions for creating and manipulating threads are described in detail in threads.) nspr threads are lightweight in the sense that they are cheaper than full-blown
processes, but they are not free.
...this, and the fact that threads share an address space with other threads in the same process, makes it important to remember that threads are not
processes .
... global threads are scheduled by the host os--not by nspr--either within a process or across
processes on the entire host.
Cognitive accessibility - Accessibility
h or by video; providing easily-understood content, such as text written using plain-language standards; focusing attention on important content; minimizing distractions, such as unnecessary content or advertisements; providing consistent web page layout and navigation; incorporating familiar elements, such as underlined links that are blue when not visited and purple when visited; dividing
processes into logical, essential steps with progress indicators; making website authentication as easy as possible without compromising security; and making forms easy to complete, such as with clear error messages and simple error recovery.
...some users may experience great difficulty in recognizing written words yet they understand extremely complex and sophisticated documents when the text is read aloud, or when key
processes and ideas are illustrated visually.
...another technique you can use is providing accompanying visuals to help explain ideas, events, and
processes.
Contributor's Guide - Archive of obsolete content
content
processes a content process was supposed to run all the code associated with a single tab.
...to understand this article, it's probably best to read it as if content and add-on
processes actually exist.
Notes on HTML Reflow - Archive of obsolete content
instead, it queues the command, and
processes it asynchronously along with other queued reflow commands en masse .
...the presentation shell
processes the reflow queue by removing a single reflow command from the queue and dispatching it to its target frame.
Style System Overview - Archive of obsolete content
(i'll call this the data-struct-based hint mechanism.) caller of nsiframemanager::computestylechangefor
processes the change list, which has been built to avoid duplication.
... presshell::reconstructstyledata calls framemanager::computestylechangefor (reresolve) and then
processes the frame-change list.
Install Wizards (aka: Stub Installers) - Archive of obsolete content
the xpinstall engine
processes installer packages by reading instructions from their install scripts to extract files and take other install actions.
...it then proceeds to extract the xpinstall engine and feed it the downloaded software packages to install.) the stub installer code includes: the logic to display the install wizard widgets and dialogs the code that reads in the configuration file (config.ini) and dynamically installs from the net or from local xpi modules found next to the installer binary the code that
processes user selections the code that calls the xpinstall engine through xpistub the libxpnet code that is statically linked in the stub installers are written in code native to the platform using native widget toolkits including the windows api for windows, the mac toolbox for the mac, and gtk for the unix version.
Back to the Server: Server-Side JavaScript On The Rise - Archive of obsolete content
sults to the processor if( validatecomments( name, email, message ) ) { formprocessor( name, email, message ); // update the logger with the most recent entry document.getelementbyid( "out-logger" ).innerhtml += "name: " + name + "<br/>email: " + email + "<br/>message: " + message + "<br/><br/>"; } else { ext.msg.alert( "error", "please enter the required fields" ); } } </script> <!--
processes the form contents --> <script runat="server"> function formprocessor( name, email, message ) { // perform the same validation of the data server-side if( !validatecomments( name, email, message ) ) { throw "incomplete data was submitted."; } // assemble the string var s = "name: " + name + "<br/>" + "email: " + email + "<br/>" + "message: " + message + "<br/><br/>"; // append the entry ...
... xml processing the final feature we'll explore is xml processing with a particular emphasis first on the capability to create a simple xml service on the server-side, then use the e4x capabilities to
processes it.
What is a web server? - Learn web development
upon finding the file, the server reads it,
processes it as-needed, and sends it to the browser.
... the term dynamic means that the server
processes the content or even generates it on the fly from a database.
Index - Learn web development
345 the "why" of web performance beginner, introduction, learn, performance, reference, tutorial, web performance web performance is all about making websites fast, including making slow
processes seem fast.
... beginner, introduction, learn, performance, reference, tutorial, web performance web performance is all about making web sites fast, including making slow
processes seem fast.
Making asynchronous programming easier with async and await - Learn web development
there is a pattern that can mitigate this problem — setting off all the promise
processes by storing the promise objects in variables, and then awaiting them all afterwards.
...tml example, timetest() looks like this: async function timetest() { const timeoutpromise1 = timeoutpromise(3000); const timeoutpromise2 = timeoutpromise(3000); const timeoutpromise3 = timeoutpromise(3000); await timeoutpromise1; await timeoutpromise2; await timeoutpromise3; } here we store the three promise objects in variables, which has the effect of setting off their associated
processes all running simultaneously.
Deploying our app - Learn web development
the above tasks also break down into further tasks; note that most web development teams will have their own terms and
processes for at least some part of the post-development phase.
... netlify, amongst other things, also allows you to run pre-deployment tasks, which in our case means that all the production code build
processes can be performed inside of netlify and if the build is successful, the website changes will be deployed.
Client-side tooling overview - Learn web development
this part of the tooling should be specific to your own development environment, though it’s not uncommon for companies to have some kind of policy or pre-baked configuration available to install so that all their developers are all using the same
processes.
...this includes the deployment
processes, testing frameworks, auditing tools, and more.
Gecko Logging
child
processes / e10s sometimes it can be useful to only log child
processes and ignore the parent process.
... in firefox 57 and later, you can use rust_log_child to specify log settings that will only apply to child
processes.
How to get a stacktrace with WinDbg
once the download is complete, you need to configure windbg to examine child
processes, ignore a specific event caused by flash player, and record a log of loaded modules.
... a: you ran the application without the "debug child
processes also" check box being checked.
IPDL Tutorial
ipdl, short for "inter-process-communication protocol definition language", is a mozilla-specific language allowing c++ code to pass messages between
processes or threads in an organized and secure way.
...see ipdl
processes and threads for more details.
IPC Protocol Definition Language (IPDL)
ipdl, short for "ipc (inter-process communication) protocol definition language", is a mozilla-specific language allowing c++ code to pass messages between
processes or threads in an organized and secure way.
... current docs ipdl tutorial quick start: creating a new protocol quick start: extending a protocol ipdl type serialization ipdl best practices ipdl glossary pbackground future planned docs ipdl language reference error and shutdown handling in ipdl protocols how ipdl uses
processes, threads, and sockets ipdl shared memory ...
OS.File.Info
global object os.file.info methods object tomsg(in os.file.info value) os.file.tomsg convert an instance of os.file.info to a form that can be serialized and transmitted between threads or
processes.
... object tomsg( in os.file.info value ) arguments returns an object with the same fields as value but that may be serialized and transmitted between threads or
processes.
Are We Slim Yet
since firefox transitioned to using multiple
processes by default, we moved awsy into the taskcluster infrastructure.
... as new
processes are added to firefox we want to make sure their memory usage is also tracked by awsy.
Profiling with Instruments
in the top left, next to the record and pause button, there will be a "[machine name] > all
processes".
... click "all
processes" and select "firefox" from the "running applications" section.
Process Management and Interprocess Communication
this chapter describes the nspr routines that deal with
processes.
... process management types and constants the types defined for process management are: prprocess prprocessattr process management functions the process manipulation function fall into these categories: setting the attributes of a new process creating and managing
processes setting the attributes of a new process the functions that create and manipulate attribute sets of new
processes are: pr_newprocessattr pr_resetprocessattr pr_destroyprocessattr pr_processattrsetstdioredirect pr_processattrsetcurrentdirectory pr_processattrsetinheritablefd creating and managing
processes the functions that create and manage
processes are: pr_createprocess ...
Shell global objects
startgc([n [, 'shrinking']]) start an incremental gc and run a slice that
processes about n objects.
... gcslice([n]) start or continue an an incremental gc, running a slice that
processes about n objects.
Mozilla Projects
web replay web replay allows firefox content
processes to record their behavior, replay it later, and rewind to earlier states.
... replaying
processes preserve all the same js behavior, dom structures, graphical updates, and most other behaviors that occurred while recording.
XPCOM changes in Gecko 2.0
on top of that, with the ongoing work to make firefox multithreaded, content
processes either need to register components on a per-process basis, or somehow share a component cache with the chrome process.
...electrolysis content
processes can simply read the component registrations during startup.
Component Internals
xpcom finds and
processes the component manifest (see component manifests below).
... xpcom finds and
processes the type library manifest (see type library manifests below).
nsIJetpack
createhandle() this creates an opaque handle that can transparently be exchanged between
processes.
...see also nsijetpackservice jetpack
processes ...
nsIJetpackService
js/jetpack/nsijetpackservice.idlscriptable this interface enables the creation of new jetpack
processes.
...see also nsijetpack jetpack
processes ...
Drawing and Event Handling - Plugins
drawing plug-ins this section describes the methods and
processes you use in drawing both windowed and windowless plug-ins.
...
processes that apply to only one of these plug-in types are described in the following sections.
Streams - Plugins
the stream
processes all byte-range requests, and then is placed in seek mode (either explicitly in npp_newstream, or implicitly by a call to npn_requestread).
... creating a stream pushing data into the stream deleting the stream for an example that demonstrates these
processes, see "example of sending a stream." creating a stream the plug-in calls npn_newstream to send a new data stream to the browser.
Key Values - Web APIs
note: this shouldn't be confused with the "mediapause" key value, which is used for media controllers, rather than to control applications and
processes.
... note: this shouldn't be confused with the "mediaplay" key value, which is used for media controllers, rather than to control applications and
processes.
Page Visibility API - Web APIs
some
processes are exempt from this throttling behavior.
... indexeddb
processes are also left unthrottled in order to avoid timeouts.
ServiceWorkerRegistration - Web APIs
serviceworkerregistration.sync read only returns a reference to the syncmanager interface, which manages background synchronization
processes.
... unimplemented properties serviceworkerregistration.periodicsync read only returns a reference to the periodicsyncmanager interface, which manages periodic background synchronization
processes.
Large-Allocation - HTTP
these windows must remain in the same process as their opener, as they can communicate, meaning that we cannot allow them to switch
processes.
...this is for the same reason as above, namely that they can communicate and thus we cannot allow them to switch
processes.
A typical HTTP session - HTTP
the server
processes the request, sending back its answer, providing a status code and appropriate data.
... structure of a server response after the connected agent has sent its request, the web server
processes it, and ultimately returns a response.
CSS Houdini
browsers parse the cssom — including layout, paint, and composite
processes — before applying any style updates found in scripts.
... in addition, layout, paint, and composite
processes are repeated for javascript style updates.
Performance fundamentals - Web Performance
in the context of open web apps, this document explains in general what performance is, how the browser platform helps improve it, and what tools and
processes you can use to test and improve it.
...users prefer, say, a responsive, smooth app that only
processes 1,000 database transactions per second, over a choppy, unresponsive app that
processes 100,000,000 per second.
Guides - Archive of obsolete content
content
processes the sdk was designed to work in an environment where the code to manipulate web content runs in a different process from the main add-on code.
system/child_process - Archive of obsolete content
cess.spawn('/bin/ls', ['-lh', '/usr']); ls.stdout.on('data', function (data) { console.log('stdout: ' + data); }); ls.stderr.on('data', function (data) { console.log('stderr: ' + data); }); ls.on('close', function (code) { console.log('child process exited with code ' + code); }); writing to child process' stdin because the sdk implementation does not include a write() method for child
processes, you must use the "raw" emit event.
Add-on SDK - Archive of obsolete content
guides contributor's guide learn how to start contributing to the sdk and about the most important idioms used in the sdk code such as modules, classes and inheritance, private properties, and content
processes.
File I/O - Archive of obsolete content
there might be races between different
processes and/or threads, e.g., a file could be immediately created or deleted after you check the existence but before you can perform any other actions such as opening the file for reading or writing.
Enhanced Extension Installation - Archive of obsolete content
if the item is determined compatible by either of the above
processes, a copy of the item's file is staged into the install location directory under a hierarchy like so: <staged-xpis>/guid/foo.xpi (where foo.xpi is the original file name of the file) since xpinstall cleans up the file it supplies when the install function returns.
Firefox addons developer guide - Archive of obsolete content
next » introduction to extensions technologies used in developing extensions introduction to xul—how to build a more intuitive ui using xpcom—implementing advanced
processes let's build a firefox extension firefox extensions and xul applications license and authors next » ...
MMgc - Archive of obsolete content
our marking algorithm is a conservative marking algorithm that makes marking automatic, there are no mark() methods the gc engine needs to call, marking is simply a tight loop that
processes a queue.
Structure of an installable bundle - Archive of obsolete content
ifier as a platform-subdirectory: /platform/winnt/components/registerdoctype.js when platform-specific jar files are used, each platform directory should have its own chrome.manifest file: chrome.manifest chrome/mytheme-base.jar platform/darwin/chrome.manifest platform/darwin/chrome/mytheme-mac.jar platform/winnt/chrome.manifest platform/winnt/chrome/mytheme-win.jar the app/extension loader
processes the base directory first, followed by the applicable platform directories (first /{os_target}/, then /{os_target}_{target_xpcom_abi}/).
HTTP Class Overview - Archive of obsolete content
nshttphandler implements nsiprotocolhandler manages preferences owns the authentication cache holds references to frequently used services nshttpchannel implements nsihttpchannel talks to the cache initiates http transactions
processes http response codes intercepts progress notifications nshttpconnection implements nsistreamlistener & nsistreamprovider talks to the socket transport service feeds data to its transaction object routes progress notifications nshttpconnectioninfo identifies a connection nshttptransaction implements nsirequest encapsulates a http request and response parses incoming data nsht...
File object - Archive of obsolete content
creating a pipeline involves spawning arbitrary
processes; this means that giving a script access to the file object is exactly equivalent to giving the script access to the unix shell or dos command interpreter.
patch - Archive of obsolete content
if performinstall indicates that a reboot is necessary to complete the installation, patch may not work in subsequent xpinstall
processes until the reboot is performed.
Building Mozilla XForms - Archive of obsolete content
$topsrcdir/browser/config/mozconfig mk_add_options moz_co_project=browser mk_add_options moz_objdir=@topsrcdir@/obj-@config_guess@ #mk_add_options autoconf=autoconf2.13 # possibly needed #mk_add_options moz_make_flags=-jn # (optional) replace n with the number of parallel build
processes (e.g.
Efficient animation for web games - Game development
we do this so that any setup or
processes that happen between the start of the animation and the callback being processed do not affect the start of the animation, and so that all the animations we start before the frame is processed are synchronised.
What is accessibility? - Learn web development
more than one way, such as by text-to-speech or by video; easily-understood content, such as text written using plain-language standards; focusing attention on important content; minimizing distractions, such as unnecessary content or advertisements; consistent webpage layout and navigation; familiar elements, such as underlined links blue when not visited and purple when visited; dividing
processes into logical, essential steps with progress indicators; website authentication as easy as possible without compromising security; and making forms easy to complete, such as with clear error messages and simple error recovery.
Cooperative asynchronous JavaScript: Timeouts and intervals - Learn web development
layer 1 won!!'; isover = true; } else if (e.key === "l") { result.textcontent = 'player 2 won!!'; isover = true; } if (isover) { document.removeeventlistener('keydown', keyhandler); settimeout(reset, 5000); } }; } stepping through this: first, cancel the spinner animation with cancelanimationframe() (it is always good to clean up unneeded
processes), and hide the spinner container.
Client-Server Overview - Learn web development
the parts of the site that make it dynamic are the web application (this is how we will refer to the server-side code that
processes http requests and returns http responses), the database, which contains information about players, teams, coaches and their relationships, and the html templates.
Server-side web frameworks - Learn web development
express is extremely popular, partially because it eases the migration of client-side javascript web programmers into server-side development, and partially because it is resource-efficient (the underlying node environment uses lightweight multitasking within a thread rather than spawning separate
processes for every new web request).
Deployment and next steps - Learn web development
a particularly useful plugin which is also maintained by the svelte team is svelte-preprocess, which pre-
processes many different languages in svelte files such as postcss, scss, less, coffeescript, sass, and typescript.
Add-ons
you’ll find: overview of the firefox extension features tools and
processes for developing and testing how to publish your extension on addons.mozilla.org or distribute it yourself how to manage your published extension an enterprise guide for developing and using extensions how to develop themes for firefox firefox developer communities extensions for firefox for android in 2020, mozilla will release a new firefox for android experience.
Chrome registration
process in electrolysis registrations can be set to only apply in either the main process or any content
processes.
HTTP logging
this is because firefox now uses multiple
processes, and each process gets its own log file.
Eclipse CDT Manual Setup
that done, select the "console" tab at the bottom of the main eclipse window and you should see the build console output flying by as eclipse
processes it.
Developer guide
taskcluster taskcluster is the task execution framework that supports mozilla's continuous integration and release
processes.
Limitations of chrome scripts
in multiprocess firefox, a jsm loaded into one process does not share any state with the same jsm loaded into a different process: so you can't use a jsm to share state between the chrome and content
processes.
Performance
better: instead of only keeping the state in the parent an addon can employ a master-slave architecture where the parent has the authoritative state and replicates it to the child
processes in advance so they can act based on their local copy.
Process scripts
the following code uses the global parent process message manager, which will load the script into the the chrome process and any child
processes: // chrome code let ppmm = cc["@mozilla.org/parentprocessmessagemanager;1"] .getservice(ci.nsiprocessscriptloader); ppmm.loadprocessscript("chrome://whatever/process-script.js", true); ppmm.addmessagelistener("hello", function(msg) { ...
Firefox and the "about" protocol
about:memory provides a way to display memory usage, save it as report and run the gc and cc about:mozilla special page showing a message from "the book of mozilla" about:networking displays networking information about:newtab start page when opening a new tab about:performance displays memory and performance information about firefox sub
processes/add-ons/tabs about:plugins displays information about installed plugins about:policies lists out the firefox for enterprise policies about:preferences firefox settings (also available through firefox menu > options) about:privatebrowsing start page when opening a private window about:profiles display and manage firefox profiles ...
Introduction to Layout in Mozilla
ner back to the docshell creates a content sink, which is linked to the parser and the document creates a documentviewerimpl object, which is returned as nsicontentviewer back to the docshell documentviewerimpl creates pres context and pres shell content model construction content arrives from network via nsistreamlistener::ondataavailable parser tokenizes &
processes content; invokes methods on nsicontentsink with parser node objects some buffering and fixup occurs here opencontainer, closecontainer, addleaf content sink creates and attaches content nodes using nsicontent interface content sink maintains stack of “live” elements more buffering and fixup occurs here insertchildat, appendchildto, removechildat ...
WebRequest.jsm
you can use webrequest.jsm in either the chrome or content
processes.
Activity Monitor, Battery Status Menu and top
they can all be customized to show any of the available measurements (by right-clicking on the column strip) but only the "energy" tab groups child
processes with parent
processes, which is useful, so it's the best one to use.
Installing JSHydra
cd $home/jshydra hg clone http://hg.mozilla.org/users/pidgeot18_gmail.com/jshydra/ cd jshydra ./configure make # run jshydra tests make check processing input files jshydra requires the files it
processes to be correct js files.
Named Shared Memory
shared memory allows multiple
processes to access one or more common shared memory regions, using it as an interprocess communication channel.
NSPR API Reference
ing symbols defined in the main executable program platform notes dynamic library search path exporting symbols from the main executable program process management and interprocess communication process management types and constants prprocess prprocessattr process management functions setting the attributes of a new process creating and managing
processes multiwait receive system information and environment variables logging conditional compilation and execution log types and variables prlogmoduleinfo prlogmodulelevel nspr_log_modules nspr_log_file logging functions and macros pr_newlogmodule pr_setlogfile pr_setlogbuffering pr_logprint pr_logflush pr_log_test pr_log pr_assert pr_asse...
Index
note that versions 1.1 and later of netscape signing tool correctly recognizes the codebase attribute, allows paths to be expressed for the class and src attributes instead of filenames only,
processes link tags and parses html correctly, and offers clearer error messages.
NSS_3.12_release_notes.html
bug 217538: softoken databases cannot be shared between multiple
processes bug 294531: design new interfaces for certificate path building and verification for libpkix bug 326482: nss ecc performance problems (intel) bug 391296: need an update helper for shared databases bug 395090: remove duplication of pkcs7 code from pkix_pl_httpcertstore.c bug 401026: need to provide a way to modify and create new pkcs #11 objects.
NSS tools : signtool
note that versions 1.1 and later of netscape signing tool correctly recognizes the codebase attribute, allows paths to be expressed for the class and src attributes instead of filenames only,
processes link tags and parses html correctly, and offers clearer error messages.
WebReplayRoadmap
while cloud integration is not in placer, web replay's architecture has recently been redesigned in preparation for cloud support, and communicating with replaying
processes over a network connection instead of ipc should work pretty efficiently.
Secure Development Guidelines
d overflow fd_set file i/o: file descriptors and handles good solution: dynamically allocate fd_set structs int main(void) { int i, fd; fd_set fdset; for( i = 0; i < 2000; i++) { fd = open("/dev/null", o_rdwr); } fd_set(fd, &fdset); } file i/o: race conditions operating on files can often lead to race conditions since the file system is shared with other
processes you check the state of a file at one point in time and immediately after the state might have changed most file name operations suffer from these race conditions, but not when performed on file descriptors file i/o: race conditions consider the following example int main(int argc, char **argv) { char *file = argv[1]; int fd; struct stat statbuf; stat(file, &statbuf); ...
Handling Mozilla Security Bugs
by not doing so, and by instead choosing to report bugs through the standard bugzilla
processes, the bug reporter is doing a positive service to the mozilla project; thus it makes sense that the bug reporter should be able to decide when the relevant bugzilla data should be made public.
nsIChannel
moreover, since this method may block the calling thread, it should not be called on a thread that
processes ui events.
nsICommandLineRunner
run()
processes the command-line handlers in the proper order, and calls nsicommandlinehandler.handle() on each.
nsIFrameLoader
1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) note: this interface works in tandem with the nsicontentview interface to manage frames across
processes if electrolysis is in use to support per-frame
processes.
nsIThread
processnextevent()
processes the next pending event.
nsIZipWriter
processqueue()
processes all queued items until the entire queue has been processed or an error occurs.
Mozilla
introduction to layout in mozilla ipc protocol definition language (ipdl) ipdl, short for "ipc (inter-process communication) protocol definition language", is a mozilla-specific language allowing c++ code to pass messages between
processes or threads in an organized and secure way.
Bluetooth.onavailabilitychanged - Web APIs
the onavailabilitychanged property of the bluetooth interface is an eventhandler that
processes availabilitychanged events that fire when the bluetooth system as a whole becomes available or unavailable to the user agent.
CSSStyleSheet.ownerRule - Web APIs
let rulelist = document.stylesheets[0].cssrules; for (let rule of rulelist) { if (!rule.ownerrule) { /* rule is not imported */ } } this snipped obtains a reference to the stylesheet associated with the @import and
processes it in some manner: let rulelist = document.stylesheets[0].cssrules; for (let rule of rulelist) { if (rule.ownerrule) { checkstylesheet(rule.ownerrule.stylesheet); } } specifications specification status comment css object model (cssom)the definition of 'cssstylesheet.ownerrule' in that specification.
CrashReportBody - Web APIs
a crash report is generated when a document becomes unusable due to the browser (or one of its
processes) crashing.
GlobalEventHandlers.oninput - Web APIs
the oninput property of the globaleventhandlers mixin is an eventhandler that
processes input events on the <input>, <select>, and <textarea> elements.
GlobalEventHandlers.onload - Web APIs
the onload property of the globaleventhandlers mixin is an eventhandler that
processes load events on a window, xmlhttprequest, <img> element, etc.
HTMLButtonElement - Web APIs
htmlbuttonelement.formaction is a domstring reflecting the uri of a resource that
processes information submitted by the button.
HTMLFormElement - Web APIs
htmlformelement.action a domstring reflecting the value of the form's action html attribute, containing the uri of a program that
processes the information submitted by the form.
HTMLInputElement - Web APIs
formaction string: returns / sets the element's formaction attribute, containing the uri of a program that
processes information submitted by the element.
ServiceWorkerRegistration.periodicSync - Web APIs
the periodicsync read-only property of the serviceworkerregistration interface returns a reference to the periodicsyncmanager interface, which manages periodic background synchronization
processes.
Streams API concepts - Web APIs
the chunks inside the stream are read by a reader — this
processes the data one chunk at a time, allowing you to do whatever kind of operation you want to do on it.
WebGL model view projection - Web APIs
this list is usually further reduced using
processes like back-face culling (removing polygons whose back side is facing the camera) and occlusion culling using hidden-surface determination (removing polygons which can't be seen because they're entirely blocked by polygons that are closer to the lens).
Signaling and video calling - Web APIs
open the web console on both devices and look at the logged output—although you don't see it in the code as shown above, the code on the server (and on github) has a lot of console output so you can see the signaling and connection
processes at work.
Web Audio API - Web APIs
audioworkletprocessor the audioworkletprocessor interface represents audio processing code running in a audioworkletglobalscope that generates,
processes, or analyses audio directly, and can pass messages to the corresponding audioworkletnode.
Writing Web Audio API code that works in every browser - Developer guides
if it's using, for example, oscillatornode, you will have to wait until it is supported, or maybe, if you're really eager, hack in some replacement using scriptprocessornode, which allows you to write a node with callbacks that get called periodically, so that your javascript code generates or
processes audio.
Overview of events and handlers - Developer guides
event triggers include the completion of the loading of a resource on the network e.g., downloads an image that can now be drawn on the screen, the completion of parsing a resource by the browser e.g.,
processes the html content of a page, the interaction of a user with the contents of the page e.g., clicks a button.
<input type="image"> - HTML: Hypertext Markup Language
overriding default form behaviors <input type="image"> elements — like regular submit buttons — can accept a number of attributes that override the default form behavior: formaction html5 the uri of a program that
processes the information submitted by the input element; overrides the action attribute of the element's form owner.
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
the diversity of people using the web—and by extension your web site—practically guarantees that some of your site's visitors will have some variation in thought
processes and/or circumstances that leads them to interpret your forms very differently from you without clear and properly-presented labels.
Promise - JavaScript
promises in javascript represent
processes that are already happening, which can be chained with callback functions.
Digital audio concepts - Web media technologies
representing audio in digital form involves a number of steps and
processes, with multiple formats available both for the raw audio and the encoded or compressed audio which is actually used on the web.
Web Performance
in the context of open web apps, this document explains in general what performance is, how the browser platform helps improve it, and what tools and
processes you can use to test and improve it.performance monitoring: rum vs synthetic monitoringsynthetic monitoring and real user monitoring (rum) are two approaches for monitoring and providing insight into web performance.
Progressive loading - Progressive web apps (PWAs)
loading via javascript the app.js file
processes the data-src attributes like so: let imagestoload = document.queryselectorall('img[data-src]'); const loadimages = (image) => { image.setattribute('src', image.getattribute('data-src')); image.onload = () => { image.removeattribute('data-src'); }; }; the imagestoload variable contains references to all the images, while the loadimages function moves the path from data-src to src.