[Webkit-unassigned] [Bug 120248] Element child and descendant iterators

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 24 14:46:50 PDT 2013


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





--- Comment #3 from Darin Adler <darin at apple.com>  2013-08-24 14:46:17 PST ---
Will look nice in C++11 for loops.

When we use element pointers, it’s well defined what happens if the document changes while we are iterating. For iterators, we’d want to define what happens in that case. What our hash tables do with iterators is that in debug versions they invalidate iterators when changes are made to the underlying data structure. Maybe we could do some variation on that.

-- 
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