You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CanvasGradient is a funny API. The objects must be created via canvas.createLinearGradient and canvas.createRadialGradient, but the constructor also exists, yet it throws TypeError if used. Window.js should throw too, instead of crashing.
Repro:
new CanvasGradient()
Expected output:
Actual output: crash,
Assertion failed on ..\src\js_api_canvas.cc:1961: false
The text was updated successfully, but these errors were encountered: