Closed Bug 1605306 Opened 5 years ago Closed 5 years ago

[regression] download fails with window.open and target _blank

Categories

(Core :: Networking, defect)

73 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1604717

People

(Reporter: karlcow, Unassigned)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

  1. Go to https://www.scilab.org/download/6.0.2
  2. Click on "Scilab 6.0.2 - Linux 64 bits, (scilab-6.0.2.bin.linux-x86_64.tar.gz - 238M) (gz)" link

it triggers this piece of JavaScript.

    $(document).ready(function(){

        $('.file-link').click(function( event ) {
            event.preventDefault();
            window.open(this.href, "_blank");
            window.location = "/thanks";
        });

    });

which opens a new tab and closes it right away without having been able to start the download.

There's an error message associated with it.

We ran mozregression and it identifies Bug 1574372 as the cause for it.

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=90cf0ce6c916dc56b5b5c0577f468fc5c4e89745&tochange=d9958362b9bd30f00a64627cb6041df808068cb9

Oh it was probably fixed two hours ago… :D
Bug 1604717

Feel free to open if it's not fixed in the Nightly later. Thanks for this great report and the mozregression work.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: