1. #1
    Sencha User
    Join Date
    Oct 2009
    Location
    Washington, DC
    Posts
    14
    Vote Rating
    0
    sidragon is on a distinguished road

      0  

    Default Ext JS Cross-Site Access Error Under WebKit

    Ext JS Cross-Site Access Error Under WebKit


    Start with two files, local.html and remote.html, with the following respective contents.

    HTML Code:
    <html>
    <head>
    </head>
    <body>
    <iframe src="http://another.domain/remote.html"><!-- --></iframe>
    </body>
    </html>
    HTML Code:
    <html>
    <head>
    <script type="text/javascript" src="ext/adapter/ext/ext-base-debug.js"><!-- --></script>
    <script type="text/javascript" src="ext/ext-all-debug.js"><!-- --></script>
    </head>
    <body>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    </body>
    </html>
    Deploy each to different hosts, and load local.html under WebKit (e.g., Safari, Chrome). The following error may be emitted on the JavaScript Console under Developer Tools.

    Code:
    Unsafe JavaScript attempt to access frame with URL http://domain/local.html from frame with URL http://another.domain/remote.html. Domains, protocols and ports must match.
    The error does not occur if ext-all-debug.js has been removed from remote.html.

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Posts
    6
    Vote Rating
    0
    user_ss is on a distinguished road

      0  

    Default


    if you do not use SWFObject - then you can try to exclude it
    after debugging found this lines in this function testPlayerVersion()

    Code:
            o.setAttribute("type", FLASH_MIME_TYPE);
            var t = b.appendChild(o);
    and then found this http://code.google.com/p/swfobject/issues/detail?id=481

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi