Closed Bug 1395486 Opened 5 years ago Closed 5 years ago

The .txt files are printed wrong


(Core :: Security, defect)

57 Branch
Not set



Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- fixed


(Reporter: Ovidiu, Assigned: cfu)



(Keywords: regression)


(2 files)

Attached image print output.jpeg

[Affected versions]:

Nightly 57.0a1(2017-08-30)

[Affected platforms]:

Tested on Mac OS X 10.12 and Windows 10 x64

[Steps to reproduce]:

1. Go to this .txt example:
2. Print it.

[Expected result]:

The test page is printed with very small letters. 

[Actual result]:
The letters from the print output should have the normal dimensions.  

[Regression range]:

This is a regression and here is the regression window:

Last good revision: 40bc1d4ce54b34b3851d52576e1b16f68af3bd48
29:04.30 INFO: First bad revision: bd9c5474a5e4e6391a3ae74574885d1361599184
29:04.30 INFO: Pushlog:

Note: Please see the attached file with the actual result.
Chung-Sheng Fu from the regression range looks like one of your bags created this regression, can you please take a look at it? Thanks.
Flags: needinfo?(cfu)
Keywords: regression
After landing Bug 863246, 
Plain text file would not wrap by browser width.
So, It also be layout regression,
Blocks: 863246
Browser Console shows an error when open a .txt file:

Security Error: Content at may not load or link to resource://gre-resources/plaintext.css.
Component: Printing: Output → Security
Attachment #8903078 - Flags: review?(cam)
After Bug 863246, web content is not able to load resource:// URIs by default.  resource://gre-resources/plaintext.css has to be loaded in web content so move it to a content-accessible folder.
Assignee: nobody → cfu
Flags: needinfo?(cfu)
Comment on attachment 8903078 [details]
Bug 1395486 - Move resource://gre-resource/plaintext.css to resource://content-accessible/plaintext.css.
Attachment #8903078 - Flags: review?(cam) → review+
Keywords: checkin-needed
Just a note, this issue is also reproducible on Ubuntu 16.04.
Any clue when will this be fixed in the nightly ?
Pushed by
Move resource://gre-resource/plaintext.css to resource://content-accessible/plaintext.css. r=heycam
Keywords: checkin-needed
(In reply to from comment #8)
> Any clue when will this be fixed in the nightly ?

It just landed on autoland. It'll be fixed on the first nightly after it merges. Hopefully that will be either today's "late" nightly (but that's pretty unlikely) and otherwise tomorrow's nightly - that's assuming no automated tests fail or other issues crop up that cause it to be backed out.
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Depends on: 1395286
Bug 1395486 followup. Clobber to fix packaging failure for Android builds. r=clobber
Pushed by
followup. Clobber to fix packaging failure for Android builds. r=clobber
You need to log in before you can comment on or make changes to this bug.