readAsDataURL should be more precise about the data URL contents
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- HTML
- Sterne
- 118
- Forks
- 52
- Ø Merge
- 9 T. 16 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
In particular, it appears all browsers base64-encode the contents; see https://github.com/jsdom/jsdom/issues/2269 for the original report.
Probably it'd be best to give the exact algorithm for creating the string from the contents of the type attribute and the bytes of the Blob.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Text der File API-Spezifikation zu readAsDataURL und überprüfe das verlinkte jsdom-Issue zum berichteten Browserverhalten. Vergleiche die aktuelle Beschreibung damit, wie Browser Blob-Bytes codieren und die data URL konstruieren. Als abgeschlossen gilt die Aufgabe, wenn die Spezifikation einen exakten, interoperablen Algorithmus für das type-Attribut und den Inhalt von Blob festlegt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- html
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100