JavaScript Articles
-
Firefox – tons of tools for web developers!
One of the goals of Firefox have always been to make the lives of web developers as easy and productive as possible, by providing tools and a very extensible web browser to enable people to create amazing things. The idea here is to list a lot of the tools and options available to you as […]
-
JavaScript speedups in Firefox 3.6
This post was written by David Mandelin who works on Mozilla’s JavaScript team. Firefox 3.5 introduced TraceMonkey, our new JavaScript engine that traces loops and JIT compiles them to native (x86/ARM) code. Many JavaScript programs ran 3-4x faster in TraceMonkey compared to Firefox 3. (See our previous article for technical details.) For JavaScript performance in […]
-
an overview of TraceMonkey
This post was written by David Mandelin who works on Mozilla’s JavaScript team. Firefox 3.5 has a new JavaScript engine, TraceMonkey, that runs many JavaScript programs 3-4x faster than Firefox 3, speeding up existing web apps and enabling new ones. This article gives a peek under the hood at the major parts of TraceMonkey and […]
-
new device API for Firefox 3.6: orientation
One new feature that we’re including as part of Firefox 3.6 is support for web pages to access machine orientation information if it’s available. As you can see from the demo above you can use it to figure out if the machine is moving and what direction it’s facing. Using the API is very simple. […]
-
what does tracemonkey feel like?
One of our goals with Firefox 3.5 is to help upgrade the web. Over the lifecycle of this release we’ve invested heavily in developer features. One of the features that we’ve invested in is TraceMonkey – a tracing interpreter that turns commonly-run JavaScript code into machine code so that it can run at near-native speeds. […]
-
Creating the future of mobile with Firefox OS – resources, docs and more!
Just under a month ago I wrote a personal post about my thoughts on Firefox OS and why I think there is something ‘magical’ about what it stands for and the possibilities it brings to the table. This post is a follow-up that aims to cover much of the same ground but with extra detail […]
-
Web Push Arrives in Firefox 44
Updated, 2016-02-20: The Push service now requires an explicit “TTL” header on requests to an endpoint. The article has been updated to reflect this. More details on the Mozilla Services Blog. Have you ever wished that a website could notify you when something important happened, even if you didn’t have the site open? Maybe you’ve […]
-
cross-site xmlhttprequest with CORS
Editor’s Note: This article sure is a popular one! The Fetch API is now available in browsers and makes cross-origin requests easier than ever. Check out this Hacks post or the link above to learn more. XMLHttpRequest is used within many Ajax libraries, but till the release of browsers such as Firefox 3.5 and Safari […]
-
ES6 In Depth: Classes
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Today, we get a bit of a respite from the complexity that we’ve seen in previous posts in this series. There are no new never-before-seen ways of writing […]
-
XHR progress and rich file upload feedback
This demo is by Olli Pettay (smaug) with help from Austin King. A common limitation on the web today has been a rich file upload widget for web applications. Many sites use Flash or a desktop helper applications to improve the experience of uploading files. Firefox 3.5 bridges one of these gaps allowing a better […]