Bug 152605 - The web process hangs when computing elements-based snap points for a container with large max scroll offset
Summary: The web process hangs when computing elements-based snap points for a contain...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-12-30 21:37 PST by Simon Fraser (smfr)
Modified: 2016-07-25 09:04 PDT (History)
3 users (show)

See Also:


Attachments
Opening this will cause a hang (1.67 KB, text/html)
2015-12-30 21:37 PST, Simon Fraser (smfr)
no flags Details
So will this (RTL) (1.79 KB, text/html)
2015-12-30 21:47 PST, Simon Fraser (smfr)
no flags Details
Patch (6.72 KB, patch)
2016-07-24 21:10 PDT, Wenson Hsieh
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2015-12-30 21:37:14 PST
Created attachment 268025 [details]
Opening this will cause a hang

Opening the attached test case will hang the web process.
Comment 1 Simon Fraser (smfr) 2015-12-30 21:38:28 PST
Hangs in updateFromStyle().
Comment 2 Simon Fraser (smfr) 2015-12-30 21:42:28 PST
Super easy to hit this; just make the .colorBox 200px wide. No need for the RTL.
Comment 3 Simon Fraser (smfr) 2015-12-30 21:47:27 PST
Created attachment 268027 [details]
So will this (RTL)
Comment 4 Radar WebKit Bug Importer 2016-03-24 21:15:31 PDT
<rdar://problem/25353661>
Comment 5 Wenson Hsieh 2016-07-24 21:10:21 PDT
Created attachment 284461 [details]
Patch
Comment 6 Wenson Hsieh 2016-07-25 08:47:21 PDT
Comment on attachment 284461 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=284461&action=review

> Source/WebCore/ChangeLog:3
> +        The web process when computing elements-based snap points for a container with large max scroll offset

what I meant to write was "The web process hangs when computing..."
Comment 7 Wenson Hsieh 2016-07-25 09:04:36 PDT
Committed r203684: <http://trac.webkit.org/changeset/203684>