Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e89e06 commit 6258254Copy full SHA for 6258254
core/lib/tracehouse/main-thread-tasks.js
@@ -515,8 +515,8 @@ class MainThreadTasks {
515
if (!url) continue;
516
// Add unique URLs to our overall tree.
517
if (!allURLsInTree.includes(url)) allURLsInTree.push(url);
518
- // Don't add consecutive, duplicate URLs
519
- if (attributableURLs[attributableURLs.length - 1] === url) continue;
+ // Don't add duplicate URLs
+ if (attributableURLs.includes(url)) continue;
520
attributableURLs.push(url);
521
}
522
0 commit comments