[Bug 10801] Limit the number of iterations in the loops in the AAA

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10801

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P1
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |NEEDSINFO
           Severity|normal                      |critical

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-09-30 09:18:31 UTC ---
I considered this when first writing the parser (it's not just the AAA where
you really want limits — it's actually reasonable to put limits on the depth of
the stack in general), but I was of the opinion then that that would fall under
the "hardware limitations" clause and be left up to the UAs, since the limits
would grow over time.

Also, there are different ways to handle limits. The most clever way to handle
an infinite depth of <font>s, for example, is probably to drop some of the
<font>s from the middle of the stack, preferably those with no attributes, or
at least with no event handlers and no IDs.

It might make sense to suggest places for limits and how to handle them,
though, especially if it is important for interop. If you have good suggestions
for what to do there, please reopen the bug. I'd be happy to consider them.


EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: Closing temporarily pending further data.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 30 September 2010 09:18:34 UTC