Skip to content

Trying to download XLS from a popup doesn't work #250

Description

@magreenblatt

Original report by Kaushik Chaubal (Bitbucket: kaushikchaubal, GitHub: kaushikchaubal).


I noticed that when you try to download an XLS file from a popup, nothing happens.

Steps to reproduce:

  1. Run the following test (https://bitbucket.org/chromiumembedded/java-cef/src/915efe02304f19bff3e841a28ab892f9260d7218/java/tests/detailed/MainFrame.java)
  2. Go to Tests >> Show DevTools >> Console
  3. Run the following script (this is a sample xls available online) - a popup gets created but nothing happens:
#!javascript
window.open("http://coral.ie.lehigh.edu/~ted/files/eng5/misc/sample.xls",'name','height=200,width=150');

Note: With other formats, the popup seems to work. For example, run the following script (this is a sample pdf available online) - the pop gets created and renders the pdf successfully

#!javascript
window.open("http://www.cbu.edu.zm/downloads/pdf-sample.pdf",'name','height=200,width=150');

The details of the JCEF I am using is as follows:

  • JCEF Version = 3.2526.150
  • CEF Version = 3.2526.1366
  • Chromium Version = 47.0.2526.80

Any ideas how to fix this?

Activity

  1. magreenblatt commented on Dec 19, 2016

    @magreenblatt
    CollaboratorAuthor

    Original changes by Kaushik Chaubal (Bitbucket: kaushikchaubal, GitHub: kaushikchaubal).


    • edited description
  2. magreenblatt commented on Dec 19, 2016

    @magreenblatt
    CollaboratorAuthor

    Original changes by Kaushik Chaubal (Bitbucket: kaushikchaubal, GitHub: kaushikchaubal).


    • edited description
  3. magreenblatt commented on Mar 15, 2017

    @magreenblatt
    CollaboratorAuthor

    Original comment by Kaushik Chaubal (Bitbucket: kaushikchaubal, GitHub: kaushikchaubal).


    Duplicate of #264.

  4. magreenblatt commented on Mar 15, 2017

    @magreenblatt
    CollaboratorAuthor

    Original changes by Kaushik Chaubal (Bitbucket: kaushikchaubal, GitHub: kaushikchaubal).


    • changed state from "new" to "duplicate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions