New issue
Advanced search Search tips
Starred by 2 users

Issue metadata

Status: Fixed
Closed: Apr 2017
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug

issue 563816

Sign in to add a comment

[OffscreenCanvas] 'Out of memory' calling transferToImageBitmap()

Reported by, Feb 25 2017 Back to list

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3023.0 Safari/537.36

Steps to reproduce the problem:
Note: enable 'experimental canvas features' in chrome://flags

1. Visit
2. Click 'Crash'

What is the expected behavior?
The button simply calls transferToImageBitmap() on a WebGL 2 context from an OffscreenCanvas.

What went wrong?
Chrome throws an 'Out of memory' exception.

It works in Firefox Nightly. It also works in Chrome with a WebGL 1 context.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 58.0.3023.0  Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0

Comment 1 by, Feb 27 2017

Labels: Needs-Triage-M58

Comment 2 by, Feb 27 2017

Labels: -Needs-Triage-M58 M-59
Status: Assigned (was: Unconfirmed)

Comment 3 by, Mar 22 2017

Labels: -Pri-2 Pri-1

Comment 4 by, Mar 23 2017

Blocking: 563816

Comment 5 by, Apr 11 2017

Status: Started (was: Assigned)
Project Member

Comment 6 by, Apr 25 2017

The following revision refers to this bug:

commit 05b481280cf7cedb90c986f4b46aaaf87e781eca
Author: xlai <>
Date: Tue Apr 25 16:19:01 2017

Implement OffscreenCanvas.WebGL2Context TransferToImageBitmap

BUG= 696223;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;

Cr-Commit-Position: refs/heads/master@{#467007}


Project Member

Comment 7 by, Apr 28 2017

The following revision refers to this bug:

commit 96ce1dbb12faf3c6771ec294f982c42dac090f99
Author: xlai <>
Date: Fri Apr 28 02:13:48 2017

Roll WebGL 40d75ac..f7157c2

BUG= 696223 , 715696 


Cr-Commit-Position: refs/heads/master@{#467841}


Comment 8 by, Apr 28 2017

Status: Fixed (was: Started)

Sign in to add a comment