Closed Bug 1092411 Opened 11 years ago Closed 6 years ago

canvas.toDataURL(); does not load the contents of a WebGL page on the first run.

Categories

(Core :: Graphics: CanvasWebGL, defect)

36 Branch
x86
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jujjyl, Unassigned)

Details

Attachments

(1 file)

After a recent commit in Nightly, calling canvas.toDataURL(); to convert the contents of a canvas to an image no longer works on the first run. STR: 1. Close all Firefox browser windows and close the browser (this is important!) 2. Open up Firefox afresh. 3. Open the attached test.html. 4. Observe the text printed in the log box, and the two images "expected" and "actual" at the bottom of the page. Observed: The text box reads "Wrong: 10" and the image presented in the section "actual" is completely black. Expected: The text box should read "Wrong: 0" and the image presented in the section "actual" should display a red triangle. Continuing the STR: 5. Hit F5 to refresh the page. Observe that the image on the page does now load up properly. Bisecting Nightlies gives the following information: Last good revision: 50b689feab5f (2014-10-10) First bad revision: f74ad36bb97b (2014-10-11) Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=50b689feab5f&tochange=f74ad36bb97b

This has the same behavior is current Nightly, Canary, and Edge for me!

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

Attachment

General

Creator:
Created:
Updated:
Size: