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

Unified Diff: LayoutTests/inspector/profiler/memory-instrumentation-canvas.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-canvas.html
diff --git a/LayoutTests/inspector/profiler/memory-instrumentation-canvas.html b/LayoutTests/inspector/profiler/memory-instrumentation-canvas.html
deleted file mode 100644
index 5b0c765a2048044d8a33b071f56a6e681c57a286..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/profiler/memory-instrumentation-canvas.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="memory-instrumentation-test.js"></script>
-<script>
-
-function displayAndRunTest()
-{
- var canvasContext = document.getElementById("canvas").getContext("2d");
- canvasContext.fillRect(0, 0, 1024, 1024);
-
- if (window.testRunner)
- testRunner.display();
- runTest();
-}
-
-function test()
-{
- var canvasImageBufferExpected = 4000000;
- InspectorTest.validateMemoryBlockSize(["ProcessPrivateMemory", "Image"], canvasImageBufferExpected);
-}
-
-</script>
-</head>
-
-<body onload="displayAndRunTest()">
-<p>
-This test checks that page's image size reported by the memory agent includes size of canvas internal image buffer.
-</p>
-<canvas id="canvas" width="1024" height="1024"></canvas>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698