Open Bug 1695806 Opened 2 months ago Updated 2 months ago

Perma WPT Fission browsers/windows/iframe-cross-origin-print.sub.html | FAIL: remote frame is zoomed out when printed

Categories

(Core :: DOM: Content Processes, defect, P3)

defect

Tracking

()

Fission Milestone M7a

People

(Reporter: cpeterson, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(2 files)

https://searchfox.org/mozilla-central/rev/26330a08b1f9d06938faa0aa5e0f8c7a58064aa2/testing/web-platform/meta/html/browsers/windows/iframe-cross-origin-print.sub.html.ini#3

[iframe-cross-origin-print.sub.html]
  disabled:
    if fission: https://bugzilla.mozilla.org/show_bug.cgi?id=1574508

This test was disabled by bug 1662336 because of Marionette bug 1574508, which has since been resolved as WFM. Maybe we can re-enable this test now?

Moving to the Core::DOM: Content Processes component because this is not a Marionette bug.

Component: Marionette → DOM: Content Processes
Product: Testing → Core
Version: Default → unspecified
No longer blocks: 1574508
Depends on: 1574508

I tried locally but interestingly it's still broken. As such we cannot re-enable this test yet. I reopened bug 1574508.

I tried to re-enable this based on the fix from Bug 1574508, but we now have a real reftest failure, as in the screenshots don't match. The one we take with the page using remote frames looks zoomed out compared to the real one. We get the same issue locally and on try, so it doesn't seem to be a DPI issue.

See https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/O7cHlpaATYGRKXsOaYk_5w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

Test page: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/browsers/windows/iframe-cross-origin-print.sub.html
Reference page: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/browsers/windows/iframe-nested-print-ref.html

jwatt: Considering that this is a print test, jgraham suggested getting in touch with you about this. Do you know what might be causing this?

Flags: needinfo?(jwatt)

I just tried locally to save as PDF a random page with a remote frame (http://janodvarko.cz/tests/fission/case10/index.html) from the current Nightly, and I see the same issue as on the reftest. The remote frame is zoomed out in the fission scenario, and has the correct size in the non-fission scenario.

This might be a known print issue, but I couldn't find an existing bug. Let me know if I should file one. In the meantime I think the only thing we can do for this reftest is to mark it as expected to FAIL with fission.

Note: we are updating the metadata for this test to fail on fission in bug 1574508.

Julian, mind updating the bug's summary to include the new kind of failure? Something like:

Perma wpt Fission browsers/windows/iframe-cross-origin-print.sub.html | %reason%

Flags: needinfo?(jdescottes)
Summary: Re-enable WPT browsers/windows/iframe-cross-origin-print.sub.html for Fission → Perma WPT Fission browsers/windows/iframe-cross-origin-print.sub.html

Oh, sorry for the accidental update. It was not wanted. So we still miss the exact failure message.

Flags: needinfo?(jdescottes)
Summary: Perma WPT Fission browsers/windows/iframe-cross-origin-print.sub.html → Perma WPT Fission browsers/windows/iframe-cross-origin-print.sub.html | FAIL: remote frame is zoomed out when printed
Depends on: 1699837

Clearing the ni? Filed a dedicated bug for the root issue: Bug 1699837

Flags: needinfo?(jwatt)
You need to log in before you can comment on or make changes to this bug.