gecko-dev/browser/base/content/test/tabdialogs
Emilio Cobos Álvarez 2efeea8d73 Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers
Using `visibility` preserves frames of the content inside the dialog,
which we rely on to print the preview `<browser>` element.

This was working before bug 1662336 mostly by chance, because we were
doing an extra clone and that happened to mostly not rely on the cloned
document being rendered.

I'd rather fix it in the front-end (by not trying to print a
`display: none` <browser>) than going back to do a separate clone,
because that can get expensive (specially with fission).

It's not super-clear to me how to best test the "print from system
dialog" case, but ideas certainly welcome.

Differential Revision: https://phabricator.services.mozilla.com/D95501
2020-11-04 11:03:48 +00:00
..
.eslintrc.js
browser.ini Bug 1665339 - Prevent ESC key on SubDialog from cancelling page load. r=Gijs 2020-09-21 13:25:16 +00:00
browser_subdialog_esc.js Bug 1665339 - Prevent ESC key on SubDialog from cancelling page load. r=Gijs 2020-09-21 13:25:16 +00:00
browser_tabdialogbox_navigation.js Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers 2020-11-04 11:03:48 +00:00
browser_tabdialogbox_tab_switch_focus.js Bug 1674135 - Don't destroy frames from hideDialog() as we rely on printing hidden frames. r=Gijs,preferences-reviewers 2020-11-04 11:03:48 +00:00
loadDelayedReply.sjs Bug 1665339 - Prevent ESC key on SubDialog from cancelling page load. r=Gijs 2020-09-21 13:25:16 +00:00
subdialog.xhtml