Changeset 232810 in webkit
- Timestamp:
- Jun 13, 2018, 2:21:21 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r232806 r232810 1 2018-06-13 Mark Lam <mark.lam@apple.com> 2 3 Gardening: Layout Test js/error-should-not-strong-reference-global-object.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=186372 5 6 Not reviewed. 7 8 Speculative fix to green the bots plus improved the error message logging to get 9 more info if this fails again. 10 11 * js/error-should-not-strong-reference-global-object.html: 12 1 13 2018-06-13 Timothy Hatcher <timothy@apple.com> 2 14 -
trunk/LayoutTests/js/error-should-not-strong-reference-global-object.html
r232314 r232810 41 41 run(); 42 42 43 $vm.gc(); 44 // We shouldn't have more than 10% of the global objects we allocated. 45 if ($vm.globalObjectCount() >= 51) 46 throw new Error("There are more global objects than there should be"); 43 setTimeout(() => { 44 $vm.gc(); 45 // We shouldn't have more than 10% of the global objects we allocated. 46 var globalObjectCount = $vm.globalObjectCount(); 47 if (globalObjectCount >= 51) 48 throw new Error("There are more global objects than there should be: actual count = " + globalObjectCount); 49 }, 1); 47 50 48 51 </script>
Note:
See TracChangeset
for help on using the changeset viewer.