21 May 2012

The Tech Reflector

 
Star Following

  Source Favicon
Email

download and test Aurora 9 ), which is planned to be the upcoming Firefox 9. In it, we have a number of new things that we hope will get you excited!

JavaScript Type Inference

We've improved JavaScript performance once again with type inference. We've made significant improvements on both the V8 and Kraken benchmarks, and you should see real-world improvements to JavaScript performance as well.

JavaScript Interface for Do Not Track

Firefox 4 introduced …

hacks.mozilla.org Read
  Source Favicon
By Robert Nyman of Robert's talk 8 months ago.
Email
  Source Favicon
By Christopher Blizzard of Mozilla Hacks - the Web developer blog 8 months ago.
Email

Firefox now supports text-overflow: ellipsis

Firefox now supports the ellipsis mode for the text-overflow property. This property is supported in other browsers which means developers should be able to start using it in the wild. Here's an example of how text-overflow ellipsis works:

HTML:

<html> <body> <div class="inner">I am some very long text!</div> </body> </html>

CSS:

div .inner { width : 120px …

hacks.mozilla.org Read
  Source Favicon
By Robert Nyman of Robert's talk 8 months ago.
Email

…that everyone gains from. I work for Mozilla, but I would definitely not want to see Firefox (or Gecko's rendering engine) as the only one out there. We need a balance to together form and grow the future of everyone.

To me, when it comes to just one owner, one rendering engine compared to the diversity we now have, it's usually just that it can in cases make it harder for developers - but that's what standards are there for. And if everyone comes up with something new and …

robertnyman.com Read
  Source Favicon
On DailyJS 8 months ago.
Email

…and defer attributes. This is already available in recent WebKit-based browsers and Firefox 3.6.

These attributes effectively let us do what LABjs offers:

If async is present, the script will be executed asynchronously, as soon as it is available

If defer is present, the script is executed when the page has finished parsing

If neither are present, the script is fetched and executed immediately before the page has finished parsing

From Mozilla's documentation on the script …

dailyjs.com Read
  Source Favicon
By Andrea Giammarchi of Web Reflection 8 months ago.
Email

10X Slower Surpriiiiiiiiiiiseeeeeee!!! Even Firefox Nightly performs like a turtle on steroids over statically typed collections and here the test you should save in your desktop and launch via file protocol.

If you see the alert , ctypes have not been loaded ... but if you test in on Firefox via file protocol and you allow the module, you will not see any alert but an actual benchmark of three different types of collections:

a generic Array of Objects

a typed collection …

webreflection.blogspot.com Read
  Source Favicon
By Nicholas C. Zakas of NCZOnline 8 months ago.
Email

A few caveats as you start playing with proxies. First, it's only currently supported in Firefox 6+. Second, the specification is still in flux and the syntax, order of arguments, etc. may change in the future. Third, the patterns I've explained here are not and should not be considered best practices for using proxies. These are just some experiments I hacked together to explore the possibilities. Proxies aren't ready for production use but are a lot of fun for experimentation. …

nczonline.net Read
  Source Favicon
On DailyJS 8 months ago.
Email

…assignment is supported. That means you can use it in Mozilla's interpreters and Firefox 2+. The canonical example is value swapping:

var a = 1 , b = 2 ; [ a , b ] = [ b , a ]; // a = 2, b = 1

That's not particularly exciting unless you need to swap around lots of values, but what might be convenient for some APIs is the implications it has for return values:

function f () { return [ 1 , 2 ]; } var a , b ; [ a , b ] = f ();

That's potentially useful, but also potentially …

dailyjs.com Read
  Source Favicon
By dmethvin of Official jQuery Blog 9 months ago.
Email

# 10123 : .width() can return a float in Firefox 6

Effects

# 9381 : Animations halt when the browser is out of focus due to requestAnimationFrame

# 9678 : setInterval cleared by animation

Event

# 7071 : Accessing the ‘type' property on VML elements fails on IE during submit special handler

Manipulation

# 9587 : Cloning a div with an object causes error in IE8

Support

# 9634 : Visible "t" …

blog.jquery.com Read
  Source Favicon
By dmethvin of Official jQuery Blog 9 months ago.
Email

# 10123 : .width() can return a float in Firefox 6

Effects

# 9381 : Animations halt when the browser is out of focus due to requestAnimationFrame

# 9678 : setInterval cleared by animation

Event

# 7071 : Accessing the ‘type' property on VML elements fails on IE during submit special handler

Manipulation

# 9587 : Cloning a div with an object causes error in IE8

Support

# 9634 : Visible "t" …

blog.jquery.com Read