-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure that automatic printing still works when the viewer and/or its pages are hidden (bug 1618621, bug 1618955) #11646
Ensure that automatic printing still works when the viewer and/or its pages are hidden (bug 1618621, bug 1618955) #11646
Conversation
f709ff4
to
948744e
Compare
5249f35
to
f6efc50
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/99f12f6019b3f2b/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/99f12f6019b3f2b/output.txt Total script time: 2.40 mins Published |
While we still need to sort out the "load" event, in order to fix all of these issues completely, even as-is this PR is a considerable improvement in my testing. Having tried all of the test-cases from the bugs/issues linked in #11646 (comment) in a Firefox build with this patch applied, they all work now if the user triggers printing manually since that gives the viewer/document enough time to load. @brendandahl Can we land this PR now, since it's ready, rather than waiting for the "load" event fix? |
f6efc50
to
ff12b68
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/323703b7628bf56/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/323703b7628bf56/output.txt Total script time: 2.47 mins Published |
ff12b68
to
d76a9e3
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/e91f451adb01d9b/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/e91f451adb01d9b/output.txt Total script time: 2.52 mins Published |
@brendandahl Gentle review ping; as outlined in #11646 (comment) this patch improves the current situation enough to warrant landing as soon as possible in my opinion :-) |
d76a9e3
to
e76abc7
Compare
Rebasing onto |
fcad067
to
d0617cd
Compare
d0617cd
to
174b4a3
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/ff778660e30c280/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/84e216dfa388322/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/ff778660e30c280/output.txt Total script time: 2.70 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/84e216dfa388322/output.txt Total script time: 4.15 mins
|
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/bb30d99dbec6bf1/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/bb30d99dbec6bf1/output.txt Total script time: 2.51 mins Published |
542396d
to
6dcdbea
Compare
… pages are hidden (bug 1618621, bug 1618955) Please note that this patch, on its own, won't magically fix all of these printing bugs without [bug 1618553](https://bugzilla.mozilla.org/show_bug.cgi?id=1618553) also being fixed. (However I don't foresee that being too difficult, famous last words :-), but it will as suggested require a platform API that we can notify when the viewer is ready.) Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1618621 Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1618955 Fixes 8208
6dcdbea
to
6286006
Compare
…lement` It was pointed out the the old name felt confusing, so let's just rename the getter since it's an internal property anyway.
6286006
to
a24ad28
Compare
Thanks! |
Please note that this patch, on its own, won't magically fix all of these printing bugs without bug 1618553 also being fixed.
(However I don't foresee that being too difficult, famous last words :-), but it will as suggested require a platform API that we can notify when the viewer is ready.)
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1618621
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1618955
Fixes #8208
/cc @brendandahl