Events onload & onerror for link tag are not called

UNCONFIRMED
Unassigned

Status

()

Core
CSS Parsing and Computation
P3
major
UNCONFIRMED
2 years ago
a year ago

People

(Reporter: luis.robertop87, Unassigned)

Tracking

49 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160922113459

Steps to reproduce:

This is a similar issue that should be fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=563176 but it still with live in Firefox 49.0.1

I added the next code (just for test)

var linkElement = document.createElement("link");
linkElement.rel = "preload";
linkElement.href = "somePath"; // change for a valid Path

linkElement.onload = function () { console.log("This log wont be printed"); };
linkElement.onerror = function () { console.log("This log wont be printed"); };


Actual results:

The events onerror & onload are not called


Expected results:

The events onerror & onload should be called
(Reporter)

Updated

2 years ago
Severity: normal → major
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Updated

2 years ago
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

Updated

a year ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.