[Webkit-unassigned] [Bug 183741] New: Nested tables inside iframe hangs Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 05:10:57 PDT 2018


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

            Bug ID: 183741
           Summary: Nested tables inside iframe hangs Safari
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m.samsel at cksource.com
                CC: wenson_hsieh at apple.com

Tested on Safari Version 11.0.3 (13604.5.6) under MacOS Version 10.13.3 (17D102)

Description:
Having nested tables inside iframe with contenteditable="true" hang the browser. CPU consumption reach 100% and page stop responding.

1. Open sample: https://codepen.io/msamsel/pen/qoqMpd or create html page with code mentioned below
2. Click into table
3. Wait around 5 seconds and try to click somewhere else.

Actual result:
Browser hangs and became not responding

Please take a look into attached video. I add activity monitor showing how CPU consumption start to reach 100%.

--- HTML CODE ---

<!doctype html>
<html lang='en'>
        <head>
                <meta charset="utf-8">
                <title>TEST PAGE</title>
        </head>
        <body>
                <iframe width="100" height="100" srcdoc='<!doctype html><html><head><title>Editor</title></head><body><table border="1"><tr><td><table border="1"><tr><td><table border="1"><tr><td></td></tr></table></td></tr></table></td></tr></table></body></html>'></iframe>
        </body>
</html>

-- 
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/20180319/3103981c/attachment.html>


More information about the webkit-unassigned mailing list