11.044rc file: objects and iframes

Bug reports and enhancement requests
Post Reply
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

11.044rc file: objects and iframes

Post 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.
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: 11.044rc file: objects and iframes

Post 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.
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: 11.044rc file: objects and iframes

Post 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
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: 11.044rc file: objects and iframes

Post 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>
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
Post Reply