https://bugs.kde.org/show_bug.cgi?id=484617

--- Comment #6 from Roke Julian Lockhart Beedell 
<4wy78...@rokejulianlockhart.addy.io> ---
(In reply to t.baag from comment #5)

I see [the attached screenshot][1] when I open it, and the blocked popup button
takes me to [`embed.windy.com`][2]. That seems to match what you describe.

Considering [`#c2`][3], this makes the issue appear to be dependent upon the
HTML file being accessed via the `file:` URI schema. To verify, are you able to
host this on a webserver, or even just run it through NodeJS on `localhost` (so
that you're connecting via HTTP(S))? I'd be perplexed if it didn't work there,
yet worked at W3S (as aforedemonstrated).

My lazier method of verification was to merely replace an iframe with a YouTube
one, which indeed didn't work:

```HTML
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Fenstergucker</title>
  </head>
<body style="margin:0; padding:0; overflow: hidden">

  <iframe
src="https://nagios.ide.ezbb.de/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28";
style="position: absolute; top: 0; left: 0%; width:25%; height: 100%"></iframe>
  <!--iframe
src="https://nagios.ide.ezbb.de/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28";
style="position: absolute; top: 0; left: 0%; width:25%; height:
40%"></iframe-->
  <!--iframe src="https://chat.ide.ezbb.de/channel/general"; style="position:
absolute; top: 40%; left: 0%; width:25%; height: 60%"></iframe-->

  <iframe src="https://wekan.ide.ezbb.de/b/Z6gZm7vGeTthKpjPJ/tho-todo";
style="position: absolute; top: 0; left: 25%; width:25%; height: 50%"></iframe>
  <iframe src="https://wekan.ide.ezbb.de/b/mYRNzBN6tg2YxSvyW/backup";
style="position: absolute; top: 50%; left: 25%; width:25%; height:
50%"></iframe>

  <iframe
src="https://wekan.ide.ezbb.de/b/NqHQkbKZQpKG64giJ/mta-problemberichte";
style="position: absolute; top: 0; left: 50%; width:25%; height: 50%"></iframe>
  <iframe
src="https://wekan.ide.ezbb.de/b/46dZrbZBGa7H9gDtS/issues-problemeberichte";
style="position: absolute; top: 50%; left: 50%; width:25%; height:
50%"></iframe>

  <!--iframe
src="https://www.wetteronline.de/wetterradar/berlin/lichtenberg?wrg=10382&wrh=true&wrn=TGljaHRlbmJlcmc=&wrx=50.92,11.79&wry=52.52,13.48&wro=true&wrm=6";
style="position: absolute; top: 0; left:75%; width:25%; height: 55%;
margin-top: -3%;" scrolling="no"></iframe-->
  <iframe id="windy"
src="https://embed.windy.com/embed2.html?lat=52.527&lon=12.483&zoom=6&level=surface&overlay=rain&menu=&message=&marker=&calendar=&pressure=true&type=map&location=coordinates&detail=true&detailLat=52.527&detailLon=13.510&metricWind=default&metricTemp=default&radarRange=-1";
style="position: absolute; top: 0; left:75%; width:25%; height: 50%;"
scrolling="no"></iframe>
  <iframe id="twitter-sbahn" style="position: absolute; top: 50%; left: 75%;
width:13%; height: 50%"></iframe>
  <iframe id="twitter-bvg-tram" style="position: absolute; top: 50%; left: 88%;
width:13%; height: 25%"></iframe>
  <iframe id="bvg"
src="http://mobil.bvg.de/Fahrinfo/bin/stboard.bin/dox?input=+Ev.+Krankenhaus+KEH+%28Berlin%29&REQ0JourneyStopsSID=A%3D1%40O%3DEv.+Krankenhaus+KEH+%28Berlin%29%40X%3D13508648%40Y%3D52525481%40U%3D86%40L%3D900160520%40B%3D1%40p%3D1550151426%40&HWAI%3DJS%21js=yes&HWAI%3DJS%21ajax=yes&REQ0HafasUnsharpSearch=1&existUnsharpSearch=yes&start=Suchen&boardType=depRT";
style="position: absolute; top: 75%; left: 88%; width:12%; height:
25%"></iframe>
  <script type="text/javascript">
    // reload windy
    window.setTimeout("document.getElementById(\"windy\").src += \"\"", 3000);
    window.setInterval("document.getElementById(\"windy\").src += \"\"",
300000);
    // reload bvg
    window.setInterval("document.getElementById(\"bvg\").src += \"\"",
18000000);
    // twitter sucks that hard it's unbelivable
    twitter_embed = function ( elementId, url) {
      document.getElementById(elementId).contentDocument.body.innerHTML = "<a
class=\"twitter-timeline\" href=\""+url+"\">Tweets</a>";
      var twitterscript =
document.getElementById(elementId).contentDocument.createElement('script');
      twitterscript.type = "text/javascript";
      twitterscript.src = "https://platform.twitter.com/widgets.js";;
      document.getElementById(elementId).contentDocument.body.appendChild(
twitterscript )
    }
    twitter_embed( "twitter-sbahn",
"https://twitter.com/SBahnBerlin?ref_src=twsrc%5Etfw"; );
    twitter_embed( "twitter-bvg-tram", "https://twitter.com/BVG_Tram"; );
  </script>
</body>
</html>
```

...However, I then tested a downloaded version of [the `iFrame` W3S page][4]
via SingleFile, and it worked perfectly.

Consequently, are you certain that there is no issue with your code? I ask
because QtWebEngine may well have updated its internal Chromium version, which
can be expected to break compatibility with certain ways of doing things, if
those methods were merely incidentally supported previously.

[1]:
https://drive.google.com/file/d/1d6NCDb_845MFLr_cGVkFmtIUm2evqRw_/view?usp=sharing
[2]:
https://embed.windy.com/embed2.html?lat=52.527&lon=12.483&zoom=6&level=surface&overlay=rain&menu=&message=&marker=&calendar=&pressure=true&type=map&location=coordinates&detail=true&detailLat=52.527&detailLon=13.510&metricWind=default&metricTemp=default&radarRange=-1
[3]: https://bugs.kde.org/show_bug.cgi?id=484617#c2
[4]: https://www.w3schools.com/html/html_iframe.asp

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to