Page 1 of 1

11.044rc file: objects and iframes

Posted: Mon Sep 14, 2020 10:08 am
by skriptimaahinen
(On file: protocol. http: not affected.)

Object and iframe sources are not seen. The domains are not listed in the popup. Affects FF80 (when document.write is used).

Iframes are seen as media. (Media checkbox has red background when there is only iframe in the page.) Affects both FF 80 & 81.

Iframes are not blocked. Affects both FF 80 & 81.

Re: 11.044rc file: objects and iframes

Posted: Wed Sep 16, 2020 9:34 am
by skriptimaahinen
Made a mistake. The iframes are not seen at all. The media checkbox is red on ALL pages regardless whether there is any media on the page or not. This seems to be a bug introduced in the YouTube fix of 11.0.44rc3.

Re: 11.044rc file: objects and iframes

Posted: Wed Sep 16, 2020 3:18 pm
by Giorgio Maone
We're talking about file:// subdocuments of file:// documents, right (which is quite expected, since webRequest is out of the loop -- I should probably do everything by CSP)?
Or does this happen for you also when the subdocument is http(s):// ?
Can you provide a minimal test case?
Thanks!

P.S.: the "ghost" media item bug should be fixed in latest development build:
v 11.0.45rc2
============================================================
x Fixed 11.0.44 regression: ghost media item reported on
every page

Re: 11.044rc file: objects and iframes

Posted: Thu Sep 17, 2020 1:05 pm
by skriptimaahinen
Made another mistake. :oops: The domain for the iframe is seen as expected. I blame my confusing test case.

However, there are still problems (affects rc4 too).

The (http) domain for object is not seen on FF80, nor does the placeholder get placed. On FF81 it works as expected.

The difference seems that on FF80 the readyState is "interactive", while on FF81 it's "loading". In neither case does soft reload execute.

Test case (index.html is opened as file):

Code: Select all

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <object data="http://localhost:8000/page.html"></object>
    </body>
</html>
page.html

Code: Select all

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <p>page.html</p>
        <script>document.body.style.backgroundColor = "red";</script>
    </body>
</html>
When both index.html and the page.html are served as files, neither the iframe or the scripts in it are blocked.

Happens on both FF80 and FF81, even though the readyStates differ as with the object (FF80:interactive, FF81:loading. No soft reload.)

Code: Select all

<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <iframe src="page.html"></iframe>
    </body>
</html>