[Webkit-unassigned] [Bug 238865] New: Using 'opener' to open a page with more than one canvas element causes the process to hang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 06:10:10 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238865

            Bug ID: 238865
           Summary: Using 'opener' to open a page with more than one
                    canvas element causes the process to hang
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: i at gitai.me
                CC: dino at apple.com

Created attachment 456813

  --> https://bugs.webkit.org/attachment.cgi?id=456813&action=review

case 1

Case 1:
When you click the button 'window.open' will use default features like 'opener' to open the current URL(https://output.jsbin.com/hezopac) with the search param '?canvas' to run canvas animation. 
Before the target page(https://output.jsbin.com/hezopac?canvas) is ready, it will create some new offscreen canvas elements for the test.
And then those two pages that use the same process will be hung when ctx.fillText called more than 10,000.

Case 2:
Disable create the offscreen canvas and click the button 'window.open' at the bootstrap page1(https://output.jsbin.com/yotawur) to create the test page2(https://output.jsbin.com/yotawur?canvas). 
And then click the button 'window.open' on page2 to open the test page3 with the same URL(https://output.jsbin.com/yotawur?canvas).
And then those third pages that use the same process also will be hung.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220406/c616c613/attachment.htm>


More information about the webkit-unassigned mailing list