1 Reply Latest reply on Jan 30, 2013 10:07 AM by Tim John

    Integrated Webkit version updated soon?

    nilsfromparis2

      Hi,

       

      It seems that the Adobe Air runtime integrated Webkit version is very old.

      I think it is more or less the one that was integrated in "Safari 5.0.3" released in november 2010.

       

      This version seems to be not performant enough for displaying a lot of recent websites.

      I think it is due to the Javascript engine of this Webkit version that is a bit old now.

       

      For example, you can do a test with the well-know "Acid Test" :

       

      package

      {

          import flash.display.Sprite;

          import flash.html.HTMLLoader;

          import flash.net.URLRequest;

          import flash.display.StageAlign;

          import flash.display.StageScaleMode;

          import flash.events.Event;

          import flash.system.Capabilities;

          import flash.display.NativeWindow;

       

          public class BrowserTestAS3 extends Sprite

          {

              public function BrowserTestAS3()

              {

                  if (stage) {

                      onAddedToStage();

                  } else {

                      addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);

                  }

              }

             

              private function onAddedToStage(event:Event = null):void

              {      

                 

                  stage.scaleMode = StageScaleMode.NO_SCALE;

                  stage.align = StageAlign.TOP_LEFT;

                  stage.nativeWindow.width = Capabilities.screenResolutionX - 100;

                  stage.nativeWindow.height = Capabilities.screenResolutionY - 100;

                  stage.nativeWindow.x = (Capabilities.screenResolutionX - stage.nativeWindow.width) / 2;

                  stage.nativeWindow.y = (Capabilities.screenResolutionY - stage.nativeWindow.height) / 2;

                 

                  var myHtml:HTMLLoader = new HTMLLoader();

                  myHtml.width = stage.stageWidth;

                  myHtml.height = stage.stageHeight;

                  myHtml.cacheResponse = true;

                  myHtml.useCache = true;

                  addChild(myHtml);

                  myHtml.load(new URLRequest("http://acid3.acidtests.org/"));

              }

          }

      }

       

      And you will see that you obtain very bad results (even worse than some old Internet Explorer versions).

       

      Do you plan to integrate a new version of Webkit in Adobe Air Desktop runtime soon (e.g 3.5) ?

       

      Thank you in advance for your answers,

      Cheers,

       

      Nils Dupont