Closed Bug 1130416 Opened 9 years ago Closed 9 years ago

'Print' button on print preview toolbar does not work for remote browser

Categories

(Firefox :: General, defect)

38 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s ? ---

People

(Reporter: dw-dev, Unassigned)

References

Details

When trying to print from a remote browser, the 'Print' button on print preview toolbar does not work, because the oncommand="this.parentNode.print();" does not pass the required aWindow and aBrowser parameters.

Changing the oncommand attribute as follows fixes the problem:

    oncommand="PrintUtils.print(window.gBrowser.selectedBrowser.contentWindowAsCPOW,window.gBrowser.selectedBrowser);"

I am the developer of the Print Edit add-on in which I have implemented this fix.
Try with e10s OFF
I have a high-degree of certainty that this will work with e10s disabled, and that this is an e10s-only bug.
I have re-tested this problem with the latest Nightly version (38.0a1 2015-02-09).

The original problem was noticed in e10s windows. 

However, I can NO LONGER reproduce this problem in e10s windows or non-e10s windows.

I don't know whether something has changed in the latest Nightly version or whether my original testing was flawed.

Anyway, this bug report can be closed.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Mistakenly filed against Firefox 38 and should be instead 38 Branch. Sorry for the spam. dkl
Version: Firefox 38 → 38 Branch
You need to log in before you can comment on or make changes to this bug.