Bug 1714513 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

**Affected versions**
* Firefox 90.0b3
* Latest Nightly 91.0a1

**Affected platforms**
* Windows 10
* Ubuntu 18.04
* MacOS 11.3

**Steps to reproduce**
1. Start Firefox with a new profile
2. Visit youtube.com
3. Print (ctrl+P or from hamburger etc)
4. Have Save to PDF option in Destination (to make it easier to save, I don't have a printer set up to my PC).
5. Save the pdf locally

**Expected result**
* The page shown in preview matches the actual printed page.

**Actual result**
* The video suggestions from youtube are out of bounds in print preview. The page is correctly printed though in some cases.
* After saving the file on disk, the message `Print preview error, An error occurred while printing` is displayed but only on Windows 10 and Ubuntu 18. (I also tested on another w10 machine and the error was not shown so I'm not sure why that is displayed)
* This is the message from Browser console when the error hits: `[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/Prompter.jsm :: openPromptSync :: line 1116"  data: no]`

**Regression range 1**
* Out of bounds video suggestions range
* First bad: 029a5e8fa8f3179b63a7bf291ea689c4dd642492
* Last good: 099906bf5f7436a72cee78b61075574bf073c0e6
* Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=099906bf5f7436a72cee78b61075574bf073c0e6&tochange=029a5e8fa8f3179b63a7bf291ea689c4dd642492
* Potential regressor: Bug 1700379 Hit testing on fission iframes in print preview is messed up. This is a duplicate of Bug 1710059 [fission] Hit testing scaled remote iframes is broken.

**Regression range 2**
* Error message range
* First bad: 411d3031b1b4c0f8b9ff3009ceb21ba4cfdc601e
* Last good: d7a58cff3e920dfbfdfe29c76a2822f7b916c0d3
* Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d7a58cff3e920dfbfdfe29c76a2822f7b916c0d3&tochange=411d3031b1b4c0f8b9ff3009ceb21ba4cfdc601e
* Potential regressor: Bug 1540737 Add layerless painting

**Additional notes**
* Image showing the issue is attached.
* When the error message is thrown the PDF is corrupt and can't be opened in any browser or 3rd party app I tried. (Adobe, Foxit)

**Suggested severity**
* Not sure how many websites this could affect but I would make it an S3 for now. Please fiddle with the severity if anyone thinks this could be more serious.
**Affected versions**
* Firefox 90.0b3
* Latest Nightly 91.0a1

**Affected platforms**
* Windows 10
* Ubuntu 18.04
* MacOS 11.3

**Steps to reproduce**
1. Start Firefox with a new profile
2. Visit youtube.com
3. Print (ctrl+P or from hamburger etc)
4. Have Save to PDF option in Destination (to make it easier to save, I don't have a printer set up to my PC).
5. Save the pdf locally

**Expected result**
* The page shown in preview matches the actual printed page.

**Actual result**
* The video suggestions from youtube are out of bounds in print preview. The page is correctly printed though in some cases.
* After saving the file on disk, the message `Print preview error, An error occurred while printing` is displayed but only on Windows 10 and Ubuntu 18. (I also tested on another w10 machine and the error was not shown so I'm not sure why that is displayed)
* This is the message from Browser console when the error hits: `[Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/Prompter.jsm :: openPromptSync :: line 1116"  data: no]`

**Regression range 1**
* Out of bounds video suggestions range
* First bad: 029a5e8fa8f3179b63a7bf291ea689c4dd642492
* Last good: 099906bf5f7436a72cee78b61075574bf073c0e6
* Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=099906bf5f7436a72cee78b61075574bf073c0e6&tochange=029a5e8fa8f3179b63a7bf291ea689c4dd642492
* Potential regressor: Bug 1700379 - Hit testing on fission iframes in print preview is messed up. This is a duplicate of Bug 1710059 - [fission] Hit testing scaled remote iframes is broken.

**Regression range 2**
* Error message range
* First bad: 411d3031b1b4c0f8b9ff3009ceb21ba4cfdc601e
* Last good: d7a58cff3e920dfbfdfe29c76a2822f7b916c0d3
* Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d7a58cff3e920dfbfdfe29c76a2822f7b916c0d3&tochange=411d3031b1b4c0f8b9ff3009ceb21ba4cfdc601e
* Potential regressor: Bug 1540737 Add layerless painting

**Additional notes**
* Image showing the issue is attached.
* When the error message is thrown the PDF is corrupt and can't be opened in any browser or 3rd party app I tried. (Adobe, Foxit)

**Suggested severity**
* Not sure how many websites this could affect but I would make it an S3 for now. Please fiddle with the severity if anyone thinks this could be more serious.

Back to Bug 1714513 Comment 0