Tag: Chrome

  • Source comments on WebKit 2 framework for upcoming browsers

    safarilogo.jpg

    Apple’s been able to pull off a number of cool tricks with its WebKit framework. Per AppleInsider, anew framework for the WebKit open source Web browser layout engine was revealed Thursday, bringing with it a built-in “split process model” that will keep Web content such as JavaScript, HTML and layout in a separate process in browsers such as Apple’s Safari and Mobile Safari.

    Patches that comprise the new framework, dubbed “WebKit2,” are due to be released shortly, according to Anders Carlsson, who works on Apple’s Safari browser as well as the open source WebKit engine. In addition to Safari, WebKit also powers the Google Chrome browser, the Android Web browser, and Palm’s WebOS.

    “WebKit2 is designed from the ground up to support a split process model, where the web content (JavaScript, HTML, layout, etc) lives in a separate process,” wrote Carlsson. “This model is similar to what Google Chrome offers, with the major difference being that we have built the process split model directly into the framework, allowing other clients to use it.”

    In this method, each tab within a browser is “sandboxed,” or existing in its own space. In essence, this means each tab is like its own separate browser. While Chrome currently does this in its own proprietary way in its WebKit-based browser, building the capability into the framework of WebKit2 would allow other WebKit-based browsers such as Safari to employ this same technique.

    Documentation accompanying the WebKit2 release noted that one goal for the new framework is to create a stable, non-blocking application programming interface. That would allow an unlimited number of threads to call an API at once, making the browser more flexible. This would be achieved, the documentation said, through a number of techniques listed below:

    – Notification style client callbacks (e.g. didFinishLoadForFrame): These inform the embedder that something has happened, but do not give them the chance to do anything about it.
    Policy style clients callbacks (e.g. decidePolicyForNavigationAction) These allow the embedder to decide on an action at their leisure, notifying the page through a listener object.

    – Policy settings (e.g. WKContextSetCacheModel, WKContextSetPopupPolicy): These allow the embedder to opt into a predefined policy without any callbacks into the UIProcess. These can either be an enumerated set of specific policies, or something more fine-grained, such as a list of strings with wildcards.

    – Injected code (e.g. WebBundle): Code can be loaded into the WebProcess for cases where all the other options fail. This can useful when access to the DOM is required. [Planned, but not currently implemented]

  • Recent Study Finds Neither Adobe Flash, HTML5 Has Significant Performance Advantage

    As the war between Adobe Flash and HTML5 heats up, a recent comparison with numerous different browsers on both Mac and Windows produced wildly different results based on the operating system and browser, making neither a clear winner.

    Per Streaming Learning Center, which conducted the study in response to recently alleged comments from Apple CEO Steve Jobs that reportedly called Flash a “CPU hog”, the test found that HTML5 is significantly more efficient than Flash on the Mac when running the Safari Web browser, those same advantages do not exist on other Mac browsers, or in Windows.

    “It’s inaccurate to conclude that Flash is inherently inefficient,” author Jan Ozer wrote. “Rather, Flash is efficient on platforms where it can access hardware acceleration and less efficient where it can’t. With Flash Player 10.1, Flash has the opportunity for a true leap in video playback performance on all platforms that enable hardware acceleration.”

    The report noted that Apple has not enabled the hooks to allow GPU-based acceleration for H.264 video decoding. Anand Lai Shimpi, founder of AnandTech, asserted “it’s up to Apple to expose the appropriate hooks to allow Adobe to (eventually) enable that functionality.”

    Adobe’s update to Flash 10.1 on the Mac improved CPU efficiency within Safari by 5%, but the Web format still trails far behind HTML5 due to hardware acceleration. With Google Chrome, neither were particularly efficient, and Firefox saw slightly better performance than Chrome.

    On Windows, Apple’s Safari browser doesn’t play HTML 5 content. But the Google Chrome browser in Windows played Flash 10.1 content with 58% more efficiency than HTML5.

    HTML5 has yet to receive native support in Firefox or Internet Explorer, but the update from Flash 10 to Flash 10.1 improved CPU performance for the browsers by 73% and 35%, respectively. Flash 10.1 in Windows offers added hardware acceleration.

    “When it comes to efficient video playback, the ability to access hardware acceleration is the single most important factor in the overall CPU load,” Streaming Learning Center noted. “On Windows, where Flash can access hardware acceleration, the CPU requirements drop to negligible levels.

    “It seems reasonable to assume that if the Flash Player could access GPU-based hardware acceleration on the Mac (or iPod/iPhone/iPad), the difference between the CPU required for HTML5 playback and Flash playback would be very much narrowed, if not eliminated.”

    Google added native YouTube support in January. The beta opt-in program is available only for browsers that support both HTML5 and H.264 video encoding.

    Scrutiny over Flash has grown in recent months since Apple introduced its multimedia iPad device, which does not support the Web format from Adobe. Apple, instead, has placed its support behind HTML5.

  • Google Chrome 4.0.249.49 Beta Released for Mac

    google-chrome-logo

    Google Chrome, Google’s new web browser, just reached version 4.0.249.49 for the Mac. The new version, a 17.7 megabyte download, offers the following the following change:

    – This release includes a relatively minor update that corrects a potential issue with our auto-update processes for Mac users.

    Google Chrome requires Mac OS X 10.5 or later and an Intel-based Mac to install and run.

    If you’ve played with it and have an opinion, let us know what you think in the comments.

  • Google Chrome 4.0.249.43 Released for Mac

    google-chrome-logo

    Google Chrome, Google’s new web browser, just reached version 4.0.249.43 for the Mac. The new version, a 17.7 megabyte download, offers the following fixes and changes in the beta:

    – Fixed several common crashes.
    – Added a notification says “xxx is synched.” if you are already synced and click that button.
    – Known issue: You’ll get an error when checking for updates using the About Google Chrome dialog. ‘Update server not available’ (error : 12). Regardless of the error message, the update is successful.

    Google Chrome requires Mac OS X 10.5 or later and an Intel-based Mac to install and run.

    If you’ve played with it and have an opinion, let us know what you think in the comments.

  • Google Chrome Beta Arrives for the Mac

    google-chrome-logo

    At long last, the official beta of the Mac version of Google Chrome has arrived. The beta, a 17.6 megabyte download, is the current version of Google’s speedy, home-brewed web browser, which until now has been available only for the Windows operating systems.

    The beta requires Mac OS X 10.5 or later to install and run.

    If you’ve played with it and have an opinion, let us know what you think in the comments.