Closed Bug 1671511 Opened 5 years ago Closed 5 years ago

[Bug] Setting img src attribute to data url might not trigger neither onload nor onerror

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1668952

People

(Reporter: liuche, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/15528.

Steps to reproduce

Set img src attribute via code (javascript) to an data url.

See example here: https://jsfiddle.net/uodym7g3/

Works on Firefox for Windows, but not on Firefox for Android

Expected behavior

img is loaded or onerror event is trigerred

Actual behavior

Nothing happens

Device information

  • Android device: A50
  • Fenix version: Nightly Build 200928 17:07

Change performed by the Move to Bugzilla add-on.

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