If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.



2 years ago
2 years ago


(Reporter: cvenkel.miran, Unassigned)


44 Branch
Windows 7

Firefox Tracking Flags

(Not tracked)




2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160123151951

Steps to reproduce:

<!---HTML & javascript to return base64 encoded pdf from server (saved as db blob there)-->

<iframe  allowtransparency="true" id ="pdfFrame" style="float:none;display:inline;width:100%;height:100%;-moz-box-sizing:border-box;z-index:1000;" src="" frameborder="0"></iframe>

        function loadPdfBlob(u_id)
          var xhr = new XMLHttpRequest();
xhr.open('GET', contextPath + '/servlets/GetBlobDataServlet?u_id='+u_id, true);

xhr.responseType = 'arraybuffer';

xhr.onload = function(e) 
  if (this.status == 200) 
    var uInt8Array = new Uint8Array(this.response);
    var i = uInt8Array.length;
    var binaryString = new Array(i);
    while (i--)
      binaryString[i] = String.fromCharCode(uInt8Array[i]);
    var data = binaryString.join('');

    var base64 = window.btoa(data);
    document.getElementById("pdfFrame").src= "data:application/pdf;base64,"+ base64;
    //var blob = this.response;
    //document.getElementById("pdfFrame").src =  window.URL.createObjectURL(blob);

Actual results:

No expected results.

Expected results:

Test page: http://agrozoo.net/jsp/a_oglasna_deska.jsp
Open in google chrome, Click on B button.


2 years ago
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64

Comment 1

2 years ago
Could you explain the bug, please.

When I click on the button "B", a 2-page PDF is loaded on the right side.
What's the role of the button "test"?
Flags: needinfo?(cvenkel.miran)

Comment 2

2 years ago
Ignore test button.
2 page pdf is loaded on B click, only in google chrome. Not in FF, nither in IE. At least at me.
Flags: needinfo?(cvenkel.miran)

Comment 3

2 years ago
Could you test with a fresh profile, please.

Comment 4

2 years ago
Hmm, yes, that does the trick.
Created new default profile (empty I presume), and set it as 'use automaticaly as defult' at startup.

Any way to step by step import things from old profile to see what blocks the thing ?

Comment 5

2 years ago
also note, at old profile, when test page opened in fresh started FF (only then ), click B, I'm firts asked in right half of screen to 'activate adobe acrobat'. Cick that and pdf does not show ...

Comment 6

2 years ago
old profile:

tested following: tools/ plugins disable adobe acrobat 11.0.13.

Gets me closer, instead of nothing, pdf file gets downloaded now. Does not appear at expected iframe.

Comment 7

2 years ago
OK. Next step: Tools/options/applications/pdf 
change to preview in firefox.

Works. Thanks for help.


2 years ago
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.