Closed Bug 1248525 Opened 9 years ago Closed 9 years ago

JS Flot bug with Firefox 44.0.2

Categories

(Core :: Graphics, defect)

44 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox44 --- wontfix
firefox45 - wontfix
firefox46 --- fixed
firefox-esr38 --- unaffected

People

(Reporter: moffatjd, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20160210153822 Steps to reproduce: When I updated to 44.0.2, my javascript plotting using JS Flot stopped working as expected. I reverted to Firefox 43.0.4 and the problem is not there. I updated back to 44.0.2 and the problem returns. Actual results: See the following jsfiddle: http://jsfiddle.net/moffatjd/4c6f6h4w/2/ There should be no shading. Expected results: Both Safari, Chrome, and Firefox 43.0.4 all behave as expected (no shading). But 44.0.2 seems to have broken the functionality and the shading appears. Note, I that I don't think it was broken in 44.0.1. It was very recent. I know this may seem like a small bug, but it's a big deal to me, and I'm guessing that it might be indicative of some other underlying javascript functionality. Perhaps this will shed some light.
Here's a reduced testcase. ctx.fillStyle = "red"; ctx.beginPath(); ctx.moveTo(0, 0); ctx.lineTo(0, 30); ctx.lineTo(30, 30); ctx.lineTo(30, 30); ctx.lineTo(0, 30); ctx.fill(); In Firefox 44.0.2 on OSX, it fills tetragon (0, 0), (0, 30), (30, 30), (10, 20). This happens only when gfx.canvas.azure.accelerated=true. mattwoodrow, can this be fixed somehow? (turning off Skia or backport bug 1082598 or something...?)
We only have a few weeks left until Firefox 45 ships, I'm not sure we can do much at this point unfortunately. Uplifting a skia update is terrifying, the only option would be to disable skia-gl.
See Also: → 1248398
I agree with Matt's risk assessment in comment 3. I might be more inclined to accept it if this was a stability or security problem but it's not. In the meantime anyone experiencing this issue (assuming it's mostly developers) can switch to Developer Edition.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Thanks all. I know little about your risk assessment, but I empathize. This specific problem does impact users (and not just developers), but we can come up with a temporary workaround until 46 ships. Thanks again.
We are going to let it ride the train from 46 then...
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
(In reply to Sylvestre Ledru [:sylvestre] from comment #6) > We are going to let it ride the train from 46 then... I did do some investigation of this, but the amount of changes to the way Skia handles paths internally were too significant to isolate any easy fix. So I am in agreement in just letting this one slip until 46 comes along.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: