nsane.forums Posted August 28, 2012 Share Posted August 28, 2012 The new version also significantly reduces the memory overhead of leaky add-ons. The BananaBread WebGL demo running in Firefox 15 Mozilla announced today the release of Firefox 15, a new version of the open source Web browser. The update brings a number of noteworthy enhancements, including new built-in development tools and enhanced support for cutting-edge Web standards that enable sophisticated gaming experiences. Under the hood, Firefox 15 introduces a new optimization that can radically reduce the browser’s memory footprint for users who rely on many add-ons. As we have discussed in much of our recent browser coverage, modern standards-based Web technologies are increasingly capable of supporting the kind of interactive multimedia experiences that used to only be available through plugins or native applications. The major browser vendors, which are all working to further expand the range of capabilities offered by the Web, have recently taken an interest in enabling game development. Mozilla has been working on a number of relevant features, including an API for displaying content in fullscreen mode, support for mouse-locking, and sophisticated real-time audio mixing functionality. Earlier this year, Mozilla launched its own real-time multiplayer adventure game called BrowserQuest with the aim of showcasing HTML5 gameplay. The open Web is clearly a serious contender for casual gaming. The latest round of browser improvements are paving the way for even more elaborate gaming experiences. In Firefox 15, Mozilla has added native support for using compressed textures in WebGL, lowering the overhead of using high-resolution images in video memory. Firefox 15 also includes support for the new high-precision time APIs, which provide support for sub-millisecond time measurement—useful for making games with lower latency, smoother animation, and properly synchronized audio. The BananaBread demo, a 3D first-person shooter, offers a particularly compelling example of what developers can presently achieve with WebGL, compressed textures, pointer lock, and fullscreen support. The BananaBread engine is a Javascript and WebGL port of the 3D game engine used in Cube 2: Sauerbraten. The initial port was accomplished by Mozilla researcher Dr. Alon Zakai (kripkenstein in the Ars forums) using Emscripten, a sophisticated LLVM-based tool for transpiling conventional C/C++ code into Javascript. The demo allows the user to fight against bots on three separate maps. The user can choose from several different weapons, customize the number of bots, and toggle between first- and third-person views. The engine also has an edit mode which allows the user to fly around and modify the current level. I tested the demo in Firefox 15 and found that the high-resolution mode was playable on my MacBook Air. Under the hood When Firefox 10 was released back in January, we took a close look at the browser’s new suite of built-in developer tools, which included a DOM inspector, Web console, Javascript scratchpad, and CSS editor. Firefox 15 adds another tool to the lineup: an interactive Javascript debugger. The debugger allows the user to set breakpoints, step through execution, and see the state of variables in the current scope of execution. It can also be used over a network to perform remote Javascript debugging on a mobile Firefox instance running on an Android device. Mozilla has a dedicated “MemShrink” team that continuously works to improve the browser’s memory efficiency. In Firefox 15, they have succeeded in further reducing the overall footprint. As we reported last year, leaky third-party add-ons are one of the biggest culprits of memory waste in Firefox. The misbehaving add-ons maintain references to DOM objects from pages that are no longer open, preventing the browser’s garbage collection mechanism from freeing up the page’s memory compartment. Mozilla initially attempted to address the issue by educating developers and flagging instances of the problem during add-on reviews, but that strategy proved inadequate due to the large size of the add-on development community and the general lack of centralized control over add-on distribution. Mozilla finally came up with a technical solution, which is implemented in Firefox 15. The browser will now automatically sever the unnecessary references, effectively preventing the proliferation of “zombie” compartments. In practice, the benefits of this improvement will be most profound for users who rely on numerous or particularly hefty add-ons. Individual users have reported seeing improved performance and significant reductions in memory consumption as a result of the change. Another significant new feature that has arrived in Firefox 15 is full support for background updates. This long-overdue feature will make Firefox’s rapid update cycle less painful for end users. As Mozilla developer Ehsan Akhgari explained in a blog post this morning, the feature had to be implemented very carefully in order to avoid a scenario where users are no longer able to receive updates. Firefox 15 is available for download from Mozilla’s website. For more details about the release, users can refer to the official release notes. View: Original Article Link to comment Share on other sites More sharing options...
Administrator DKT27 Posted August 28, 2012 Administrator Share Posted August 28, 2012 Firefox 15 remembers to forget old memory A new tablet interface comes to Firefox on Android, while Firefox for desktops makes elephantine strides in plugging memory leaks. This chart shows memory leak management test results comparing how Firefox 14 and Firefox 15 handle memory after 150 tabs have been closed. Yes, 150. As with many tech code-names, MemShrink doesn't sound particularly exciting. And yet, the memory leak-managing project at Mozilla finally sees some of its biggest changes reach the vast majority of people using Firefox with today's major update. Mozilla expects that the new Firefox 15 for PCs finally will put an end to the multitude of memory-managing issues that have plagued Firefox for years. As we noted in July when Firefox 15 went beta, the MemShrink project has spent much of its time fixing how the browser handles add-ons that contribute to memory problems. A "memory leak" is when a program destabilizes itself after grabbing memory to use for a task, but then unsuccessfully or improperly releases that memory after the task is done. Firefox engineers claimed that the browser had rid itself of many of these problems, but add-ons and lengthy browser sessions still contributed leaks. This update, they say, addresses those leaks. In my ongoing use of Firefox alpha and beta builds, there are notably fewer crashes with Firefox 15. Whether the changes are enough to coax back people who've abandoned Firefox over the past few years is another matter entirely. Firefox 15 also offers built-in PDF support, something Google Chrome has had for a while; native support for the Opus audio codec, an open-source format that offers better compression than MP3, Ogg, or AAC; and SPDY version 3 compliance, an update to Google's networking protocol. Web developers and especially game developers get some changes in Firefox 15, too, including a Javascript debugger, an event timer, WebGL improvements, and Javascript just-in-time (JIT) engine improvements for faster browsing. Also in Firefox 15 is support for compressed textures for better video memory use. Mozilla has prepared a demo to show what compressed textures can do. Tablets are getting a new Firefox for Android look. The revamped and faster interface that arrived in Firefox 15 for Android (download) works on tablets as of this update. This includes a new start page, which Mozilla calls the Awesome Screen; the new layout; dramatically faster page-load times; and Flash support on Honeycomb, which was a big factor in delaying the launch of the tablet version. Firefox for Android autodetects your device and will install the proper interface without any additional input required. The Android version of Firefox on all devices now has a Menu option for jumping to a site's desktop view; closing tabs with a swipe; and searching within a page. The Download Manager lets you pause, resume, cancel, and retry a failed download; you can toggle which data to clear from Settings; and you can import your bookmarks and history from the default Android browser. Under-the-hood improvements include the new Opus, and SPDY v3. The short rundown on Firefox 15 for Android is that it now very closely approximates many of the core features in Firefox for desktops. View: Original Article Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.