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

Unified Diff: LayoutTests/inspector/profiler/memory-instrumentation-external-string.html

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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
Index: LayoutTests/inspector/profiler/memory-instrumentation-external-string.html
diff --git a/LayoutTests/inspector/profiler/memory-instrumentation-external-string.html b/LayoutTests/inspector/profiler/memory-instrumentation-external-string.html
deleted file mode 100644
index e38e94cd1bc6bf7318513de45953d63b66865cd0..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/profiler/memory-instrumentation-external-string.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="memory-instrumentation-test.js"></script>
-<script>
-function generateLongFunction()
-{
- var source = [];
- source.push("function longFunction(x) {");
- for (var i = 0; i < 100*1000; i++) {
- source.push(" x += x * i;");
- }
- source.push("}");
- var sourceString = source.join("\n");
- sourceSize = sourceString.length;
- var script = document.createElement("script");
- script.textContent = sourceString;
- document.head.appendChild(script);
- return sourceSize;
-}
-
-function test()
-{
- InspectorTest.evaluateInPage("generateLongFunction()", didGenerateLongScript);
- function didGenerateLongScript(result) {
- var externalStringsExpectedMinimum = result.value;
- if (externalStringsExpectedMinimum < 1024 * 1024) {
- InspectorTest.addResult("FAIL: script is less than 1Mb: " + externalStringsExpectedMinimum);
- return InspectorTest.completeTest();
- }
- InspectorTest.validateMemoryBlockSize(["ProcessPrivateMemory", "JSExternalResources"], externalStringsExpectedMinimum);
- }
-}
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-This test checks that page's external strings size reported by the memory agent
-includes size of script elements.<a href="https://bugs.webkit.org/show_bug.cgi?id=113788">Bug 113788.</a>
-</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698