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> |