1 / 10

Browserscope

Browserscope. O'Reilly Velocity OLC Dec 8, 2009. www.browserscope.org. Browserscope. Open-source, community-driven project for profiling browsers, launched Sept. 2009 Goals: foster browser innovation be a resource for web developers Based on UA Profiler. results since september.

isolde
Download Presentation

Browserscope

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Browserscope O'Reilly Velocity OLC Dec 8, 2009

  2. www.browserscope.org

  3. Browserscope • Open-source, community-driven project for profiling browsers, launched Sept. 2009 • Goals: • foster browser innovation • be a resource for web developers • Based on UA Profiler

  4. results since september Security:  5085 tests on 169 browsers Rich Text:  11440 tests on 295 browsers Selectors API:  10988 tests on 291 browsers Network:  32235 tests on 627 browsers Acid3:  12139 tests on 290 browsers   71,887 tests total!

  5. new UI features • Compare Browsers! • Filter by Browser Family! • View results on a Line Chart!

  6. upcoming categories • Cookies (Eric Lovett) • Quirksmode DOM tests (PPK + Annie Sullivan) • Javascript Knowledge Base (Mike Samuel)

  7. Javascript Knowledge Base (JSKB) Javascript has become really interesting lately because of a few trends: • High quality libraries are making development easier • Good tools that minify code and find problems, e.g., YUI Compressor, Dojo ShrinkSafe, the Closure Compiler, Caja Web Tools (TBR) • And EcmaScript5 and HTML5 are releasing a whole host of fixes and features JSKB author Mike Samuel is an engineer on Caja and a member of the Secure EcmaScript working group.

  8. Javascript Knowledge Base (JSKB) Many developers want to use new features, but need to support older browsers.So they backport: • if (typeof JSON === 'undefined')  // Include json2.js here or they fallback: • if (typeof addEventListener !== 'undefined')  // use addEventListener • else •   // use attachEvent But this means shipping lots of unnecessary code to newer browsersthat don't need it -- higher bandwidth cost, slower loads, longer parse times.

  9. Javascript Knowledge Base (JSKB) JSKB will create a database of facts about browsers, such as: • On Firefox3.5, JSON is defined • On Firefox3.0, JSON is undefined • On IE, attachEvent is defined, while on Firefox addEventListener is defined This will allow compilers to find feature detection code that developers already write, and produce a version of the application optimized for a group of browsers. if (!window.JSON) { /* Optimized out on new browsers */ } As older browsers die, mean script size decreases.

  10. http://www.browserscope.orghttp://code.google.com/p/browserscope/http://groups.google.com/group/browserscopebrowserscope@googlegroups.comhttp://www.browserscope.orghttp://code.google.com/p/browserscope/http://groups.google.com/group/browserscopebrowserscope@googlegroups.com

More Related