[Webkit-unassigned] [Bug 135211] ScriptController::updateDocument ASSERT mutating map while iterating map

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 23 15:02:08 PDT 2014


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





--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org>  2014-07-23 15:02:22 PST ---
(In reply to comment #1)
> > We should be able to work around this in the same way that did by not iterating over the live map.
> 
> Actually, this wants both the key and the value. =/

We can get the value (DOMWrapperWorld) from the value (JSDOMWindowShell) JSDOMWindowShell::world, so copyValuesToVector is fine.


(In reply to comment #2)
> Can we just copy and iterate the copy?

Looks like we can, but that also seems like it would do more work. Would that be preferred?

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