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

Unified Diff: chrome/test/data/prerender/prerender_excessive_memory.html

Issue 18063003: Chromium extension API - written as part of course in Open Software Development at Reykjavik Univer… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Second round of fixes from review Created 7 years, 6 months 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 | « chrome/common/extensions/permissions/chrome_api_permissions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/prerender/prerender_excessive_memory.html
diff --git a/chrome/test/data/prerender/prerender_excessive_memory.html b/chrome/test/data/prerender/prerender_excessive_memory.html
index 96b13f64d9aa5e18a260dfc1a05363bcc44dfca9..5d68ebeffc538cde6c72be3d9a5a6e16f402d592 100644
--- a/chrome/test/data/prerender/prerender_excessive_memory.html
+++ b/chrome/test/data/prerender/prerender_excessive_memory.html
@@ -1,27 +1,27 @@
-<html>
-<!--
-This test checks to make sure that a prerendered page using excessive memory
-is cancelled.
--->
-<head>
- <title>Prerender -- Excessive Memory Use</title>
-</head>
-<body>
- Makes the renderer use an excessive amount of memory.
- <script type="text/javascript">
- var string = "";
- while (string.length < 1024*1024)
- string = string + "---------";
-
- // This allows a sufficiently long string to be created with less copying
- // and reallocation of data, speeding the test and hopefully eliminating
- // flake.
- var array = [];
- // The maximum for the sake of this test is 30 MB, so allocate just a
- // little more.
- for (var i = 0; i < 31; ++i)
- array[i] = string;
- string = array.join();
- </script>
-</body>
-</html>
+<html>
+<!--
+This test checks to make sure that a prerendered page using excessive memory
+is cancelled.
+-->
+<head>
+ <title>Prerender -- Excessive Memory Use</title>
+</head>
+<body>
+ Makes the renderer use an excessive amount of memory.
+ <script type="text/javascript">
+ var string = "";
+ while (string.length < 1024*1024)
+ string = string + "---------";
+
+ // This allows a sufficiently long string to be created with less copying
+ // and reallocation of data, speeding the test and hopefully eliminating
+ // flake.
+ var array = [];
+ // The maximum for the sake of this test is 30 MB, so allocate just a
+ // little more.
+ for (var i = 0; i < 31; ++i)
+ array[i] = string;
+ string = array.join();
+ </script>
+</body>
+</html>
« no previous file with comments | « chrome/common/extensions/permissions/chrome_api_permissions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698