From 68c3babb9a55a19ad419b3ee6712de0e46ebdbfd Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 29 Apr 2025 15:04:23 +0200 Subject: [PATCH] remove old workaround of a Chrome/V8 bug see * https://github.com/openstreetmap/iD/issues/3973#issuecomment-309637397 * https://bugs.chromium.org/p/chromium/issues/detail?id=731193&can=1&q=prototype%20inheritance&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified --- modules/core/graph.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/core/graph.js b/modules/core/graph.js index 9bfbd42f9..060f29cbd 100644 --- a/modules/core/graph.js +++ b/modules/core/graph.js @@ -34,11 +34,6 @@ coreGraph.prototype = { entity: function(id) { var entity = this.entities[id]; - //https://github.com/openstreetmap/iD/issues/3973#issuecomment-307052376 - if (!entity) { - entity = this.entities.__proto__[id]; // eslint-disable-line no-proto - } - if (!entity) { throw new Error('entity ' + id + ' not found'); }