natalya-semenova / vue-cap-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-cap-test

Programmatically attaching iframe with the Blob URL/Object URL source produces an iframe with empty body/content.

The issue is reproducible on Android only, iOS works correctly. The issue cannot be reproduced in Android browser.

Steps to reproduce

  • Build a sample app

      npm install
      npm run cap:android
    
  • On the page click the "Click to add iframe to the paragraph" button. This will create an ObjectURL with the Blob content <head><meta charset="utf-8"></head><body style='color:green;'>content over blob:-Url from INLINE script, should be in green</body>. Created ObjectURL will be used as source of an iframe that will be put as innerHTML of the element with id="guinea-pig"

  • Check the iframe content, observe that "content over blob:-Url from INLINE script, should be in green" is mot there

Screenshot

About


Languages

Language:Vue 49.2%Language:Swift 14.9%Language:CSS 12.4%Language:TypeScript 10.9%Language:Java 6.4%Language:Ruby 3.1%Language:JavaScript 1.6%Language:HTML 1.6%