[Webkit-unassigned] [Bug 140279] Web Inspector: Uncaught Exception in ProbeManager deleting breakpoint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 9 12:03:44 PST 2015


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

--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
Made a reduction (attached). Seems to be an issue with Map as values get added/removed.

<script>
var map = new Map;
function Obj(n) { this.n = n; }

map.set(new Obj(0), []);
map.set(new Obj(1), []);
map.set(new Obj(2), []);
map.set(new Obj(3), []);
map.set(new Obj(4), []);
map.set(new Obj(5), []);
map.set(new Obj(6), []);
map.set(new Obj(7), []);

setInterval(function() {
    var newObject1 = new Obj(8);
    var newObject2 = new Obj(9);
    map.set(newObject1, []);
    map.set(newObject2, []);
    setTimeout(function() {
        console.assert(map.get(newObject1).forEach);
        map.delete(newObject1);
        console.assert(map.get(newObject2).forEach);
        map.delete(newObject2);
    }, 50);
}, 100);
</script>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150109/c270c524/attachment-0002.html>


More information about the webkit-unassigned mailing list