OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | |
4 <script src="memory-instrumentation-test.js"></script> | |
5 <script> | |
6 | |
7 var bigExternalArray = new Int32Array(1024 * 1024); | |
8 | |
9 function test() | |
10 { | |
11 var externalArraysExpectedMinimum = 4 * 1024 * 1024; | |
12 InspectorTest.validateMemoryBlockSize(["ProcessPrivateMemory", "JSExternalRe
sources"], externalArraysExpectedMinimum); | |
13 } | |
14 </script> | |
15 </head> | |
16 | |
17 <body onload="runTest()"> | |
18 <p> | |
19 This test checks that page's external arrays size reported by the memory agent | |
20 includes size of all external arrays created by the page. | |
21 <a href="https://bugs.webkit.org/show_bug.cgi?id=113790">Bug 113790.</a> | |
22 </p> | |
23 </body> | |
24 </html> | |
OLD | NEW |