[Webkit-unassigned] [Bug 123716] Filters should test for area instead of single dimension

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 1 06:17:10 PST 2014


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





--- Comment #28 from Dirk Schulze <krit at webkit.org>  2014-03-01 06:14:12 PST ---
(In reply to comment #27)
> The text in the test (i.e. huge-region.html) says "This element is too big to filter."
> 
> If the objective of this test is to *not* filter something way too big, it would require to have the following dimensions: 4096x4096 (a bit less if you consider Margin + Border).
> 
> The element has width (50px) and height (50px) with padding, which would still be within the area used as the upper limit in the patch (4096 x 4096). 
> 
> Another alternative is to simply change the patch to use a smaller maximum area.

Make it two tests. Yes, having slow filters is not great, but it renders eventually. And there is not security thread that reveals privacy data from the user (we checked this in the WG before).

The limitation to 5000 before and the filter area limitation now are not performance related but shall avoid creating too big buffers and cause crashes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list