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

Unified Diff: chrome/test/data/devtools/heap_profiler.html

Issue 2846019: Add test for Heap profiler. (Closed)
Patch Set: Created 10 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/browser/debugger/devtools_sanity_unittest.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/devtools/heap_profiler.html
diff --git a/chrome/test/data/devtools/heap_profiler.html b/chrome/test/data/devtools/heap_profiler.html
new file mode 100644
index 0000000000000000000000000000000000000000..b4bd6e531bb3fd11a1f11dc9599d13d34d60d87f
--- /dev/null
+++ b/chrome/test/data/devtools/heap_profiler.html
@@ -0,0 +1,26 @@
+<html>
+ <head>
+ <script>
+ function A(x) {
+ this.x = x;
+ }
+
+ function B(x, y) {
+ this.x = x;
+ this.y = y;
+ }
+
+ function instantiate() {
+ a = new A("hello");
+ b = new B(a, "world!");
+ }
+
+ function load() {
+ // Let the page do initial rendering, then go.
+ setTimeout(instantiate, 200);
+ }
+ </script>
+ </head>
+ <body onload="load()">
+ </body>
+</html>
« no previous file with comments | « chrome/browser/debugger/devtools_sanity_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698