Results 1 to 3 of 3

Thread: iframe window closed when loading SSL site

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default Answered: iframe window closed when loading SSL site

    Hi,

    I create a new iframe window when I load a URL:

    new Ext.Window({
    title : item.title,
    width : getViewSize(item, 'width'),
    height: getViewSize(item, 'height'),
    layout : 'fit',
    bodyStyle: 'background:#ffffff;',
    modal: true,
    draggable: false,
    items : [{
    xtype : 'component',
    id : 'iframe-win',
    autoEl : {
    tag : "iframe",
    src : item.href
    }
    }]
    }).show();

    It works well except when the URL is prefixed with https. The iframe window is closed and the page is loaded in parent window.

    I really couldn't figure out why is this happening. Does anyone know how to prevent it?

    Edit: I guess SSL content cannot be displayed in iframe?

    Thank you very much.

  2. I haven't heard of this issue. In which browser are you seeing this, and with which version of ExtJS?

    I have heard that placing an HTTPS iframe inside of an HTTP frame can present security issues since the URL is obscured from the user.

  3. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    10,645
    Answers
    441
    Vote Rating
    265
      0  

    Default

    I haven't heard of this issue. In which browser are you seeing this, and with which version of ExtJS?

    I have heard that placing an HTTPS iframe inside of an HTTP frame can present security issues since the URL is obscured from the user.

    Lifecycle management for your web apps

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
      0  

    Default Thanks

    I have tested with Firefox, Chrome and Safari. The ExtJS version is 4.1

    Seems it should work in iframe. I think the best solution is not to open it in iframe since there are security issues.

    Thanks Gary.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •