Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: LayoutTests/resources/gc.js

Issue 8587026: Revert 100566 - Merge 99649 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/css-fontface-rule-crash-expected.txt ('k') | Source/WebCore/css/CSSFontFaceRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/resources/gc.js
===================================================================
--- LayoutTests/resources/gc.js (revision 100570)
+++ LayoutTests/resources/gc.js (working copy)
@@ -1,20 +0,0 @@
-// If there is no window.gc() already defined, define one using the best
-// method we can find.
-// The slow fallback should not hit in the actual test environment.
-if (!window.gc)
-{
- window.gc = function()
- {
- if (window.GCController)
- return GCController.collect();
- function gcRec(n) {
- if (n < 1)
- return {};
- var temp = {i: "ab" + i + (i / 100000)};
- temp += "foo";
- gcRec(n-1);
- }
- for (var i = 0; i < 10000; i++)
- gcRec(10);
- }
-}
« no previous file with comments | « LayoutTests/fast/css/css-fontface-rule-crash-expected.txt ('k') | Source/WebCore/css/CSSFontFaceRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698