Bug 1888634 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

1. Open the attached demo (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
2. Allow the camera 
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times

AR: The page freezez
ER: Not so

Profile1: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
I could repro with offscreencanvas enabled/disabled.
1. Open the attached demo (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
2. Allow the camera 
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
I could repro with offscreencanvas enabled/disabled.
1. Open the attached demo (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
2. Allow the camera 
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 
Profile with webrtc preset logging: https://share.firefox.dev/3x8VxUU

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
I could repro with offscreencanvas enabled/disabled.
1. Open the attached demo (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
2. Allow the camera 
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 
Profile with webrtc preset logging: https://share.firefox.dev/3x8VxUU

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
1. Download the attached demo and save it to your local machine (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
1.5 Open the testcase on your machine. .
2. Allow the page access to your camera permanently
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 
Profile with webrtc preset logging: https://share.firefox.dev/3x8VxUU

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
1. Download the attached demo and save it to your local machine (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
1.5 Open the testcase on your machine. .
2. Allow the page access to your camera permanently
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times
If it doesnt repro, close the browser and open the testcase again.

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 
Profile with webrtc preset logging: https://share.firefox.dev/3x8VxUU

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.
This may be easier to repro with gpu-canvas enabled.
1. Download the attached demo and save it to your local machine (original demo at https://codepen.io/rroyerrivard/pen/jOwBLbB may not work)
1.5 Open the testcase on your machine. .
2. Allow the page access to your camera permanently
3. Click on the first button "Start Worker"
4. Switch to another tab for 10-15 seconds
5. Switch back to the demo tab and wait for 3-4 seconds
6. Rapidly click on the second button "Add Canvas to page" 10-15 times
If it doesnt repro, close the browser and open the testcase again.

AR: The page freezez
ER: Not so

Profile with all threads, IPC and File IO: https://share.firefox.dev/3VIWuxH 
Profile with gfx preset logging: https://share.firefox.dev/4cBrBAX 
Profile with webrtc preset logging: https://share.firefox.dev/3x8VxUU

Can only repro about 50% of the time so cannot find a regression range. Not even sure if this is a canvas or webrtc bug or something else.

Back to Bug 1888634 Comment 0